A little secret to rock your YouTube subscribers
Get Free YouTube Subscribers, Views and Likes

Solidity Tutorial: Mappings (simple mappings nested mappings array in mappings...)

Follow
EatTheBlocks

FREE TRAININGS (WEB3 DEV, FLASH LOANS...)
How to find your first 6Figures Blockchain Developer Job: https://bit.ly/390ebTq
Learn how to create Profitable Flashloans: https://bit.ly/3mqP6nq

OTHER LINKS
https://linktr.ee/eattheblocks

CONTACT INFORMATION
Questions about EatTheBlocks courses, partnerships, projects:
contact [at] eattheblocks [dot] com

Register to the FREE minicourse "become a blockchain developer" on eattheblocks.com to learn how to get a remote blockchain job making 100k. (Like I did myself).

Mappings in Solidity are keyvalue store similar to object literal in Javascript {}.

They can represent collection of data, with each entry indexed by a key.

Compared to arrays, it' s easier to retrieve a single entry, however unlike arrays it's

Usually you will need a combination of both arrays and mappings to represent collection of data.

In this video I will show you how to declare and manipulate mappings in Solidity. We will cover simple mappings but also advanced mappings like nested mappings and array inside mappings.

WATCH Whole Solidity tutorial series:    • Solidity Tutorial: Introduction  

Other Links:
Forum: https://forum.eattheblocks.com
Blog: https://eattheblocks.com
Author Website: https://www.julienklepatch.com

posted by Siedlungswp