Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Crypto Zombies Lesson 2, Chapter 2 Mappings and Addresses
Play lesson

Crypto Zombies Tutorial (Intro to Solidity) - Crypto Zombies Lesson 2, Chapter 2 Mappings and Addresses

4.0 (3)
22 learners

What you'll learn

This course includes

  • 1.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

In this Crypto Zombie chapter we begin looking at some new data types. We first go over a Solidity address. An address in solidity is likened to a bank account address. Just as eash bank account owner has a bank account address, every user on the blockchain has an address( or every smart contract has an address, however you want to look at it...) Second we look at mappings. We are told a mapping is basically a key-value store for looking up and also for storing data. For our challenge we create 2 mappings one that will keep track of the address which owns the zombie, second a mapping which will keep track of how many zombies a user has.

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere