hi guys, i have a problem... what is the best way to save an address Array when i publish my smart contract?
Jan 8, 2023, 12:42 PM
repeat please
Jan 8, 2023, 12:45 PM
before publishing my smart contract I would like to save a list of addresses (to make a whitelist) but it seems that i have problems
Now I don't have the specific error in front of me. But the thing I would like to do is simple, I put a function in the constructor so that they are immediately available
Is there a length limitation?
Jan 8, 2023, 12:50 PM
I am not sure what he is trying?
Jan 8, 2023, 12:51 PM
All address are big number
Jan 8, 2023, 12:55 PM
Still not sure what you try to do and in what languages
But if you want to store addresses just do an array of them
https://solidity-by-example.org/array/
Jan 8, 2023, 12:56 PM
I will try your solutions and update you
Jan 8, 2023, 1:00 PM