Ultimate Guide for Arrays, Mappings and Structs in solidity:🧐
1. Mappings :
There are 2 Types of Mappings:
- Simple Mapping
- Nested Mapping
Follow if you're learning web3 or web3 security.🫡 #Web3#Solidity#DeFi#Foundry#SmartContracts#Security
11)
When humans started farming👨🌾, people needed better trade systems.
They began to use commodity money means valuable items used as currency cattle🐪,livestock, rice etc.
This method solved the first problem of barter🛡️ 'No standard of value'
follow for more🧙♂️
#crypto#Web3
To truly understand crypto and blockchain, you first need to understand money not just what it is today, but what it has been for the last 50,000 years.
💰50,000 years of evolution.
🪙From beads to Bitcoin.
💻From barter to blockchains.
Follow along 🧵
10)
People started to ✍️register out(storing in a ledger/register) the num of commodities they have cows,crop etc.
Tribe leaders👨🌾 used to wear them around neck to display the wealth of their tribe.
Deals with other tribes were also done on this
follow for more
#Money#Web3
2) It wasn’t just simple barter 🥸:
David Graeber argued that within tribes, people exchanged goods based on trust and relationships
Similar to when you borrow sugar or some salt from a neighbors.
#HistoryOfMoney#CryptoEducation#Web3Explained#MoneyTalks#DeFi
Tried a few new things, differences from Patrick Raffle
code
1. Patrick used for loops but I have used version based mapping.
2. I used OpenZeppelin non-reentrant & ConfirmedOwnerWithProposal file by Chainlink.
3. The result is same but in many areas the code differs
#Web3
Been quiet for a while… building.
Just finished a Lottery Smart Contract 🎲
Drank🧐
- Handling randomness securely (chainlink vrf & automation)
- Common solidity patterns (eg: enumerable mappings)
Code is live on GitHub 👇
https://t.co/r3HEwZaSvr
#BuildInPublic#Solidity
I just took the "What is Ethereum?" quiz on https://t.co/D8pNv7lyJ2 and scored 5 out of 5! Try it yourself at https://t.co/vlrnRQ6Hd2 #ethereumquiz#ethereum#quiz
The history of money isn’t optional "it’s foundational".
Everyone wants to understand crypto and blockchain
but few start where it actually begins the history of money.