New answers tagged mapping
2
votes
What's the cheapest way to store a large amount of data into a smart contract?
The problem is that when you want to set/update all these data at once, it will cost a lot of gas to loop through the mapping and update them all.
You need to design your smart contract logic in a ...
Top 50 recent answers are included
Related Tags
mapping × 521solidity × 403
struct × 142
arrays × 107
contract-development × 66
contract-design × 58
remix × 57
storage × 51
addresses × 24
gas × 23
web3js × 21
string × 15
memory × 12
truffle × 10
erc-20 × 10
evm × 8
go-ethereum × 7
blockchain × 7
tokens × 7
erc-721 × 7
events × 6
interfaces × 6
solidity-0.8.x × 6
require × 6
dapps × 5