sol2ligo
sol2ligo copied to clipboard
Convert mapping to map/big_map reasonably
Ligo has map
/big_map
that can be used instead of Solidity mapping
. map
is adjusted for storing a small amount of records meanwhile big_map
makes cheaper storing big amount of data. Note: extract big_map
values from storage is quite more difficult for js libs.
More info: https://ligolang.org/docs/language-basics/maps-records/