I need to build up a large string array in solidity through web3js, 1000's of elements.
- Solidity functions don't seem to accept a string array as arguments. I also tried abicoder 2, as I've read that by using that, this would be possible, but when I execute the function, ethereum reverts the transaction.
- Defining a function that takes a fixed amount of strings. There it seems solidity is limited to 16 arguments, so I will need to execute that function in web3js 100's of times, which costs loads of gas.
Anyone has any good ideas?