sol2ligo icon indicating copy to clipboard operation
sol2ligo copied to clipboard

Convert mapping to map/big_map reasonably

Open KStasi opened this issue 5 years ago • 0 comments

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/

KStasi avatar Jan 21 '20 13:01 KStasi