Understand · Lesson 2 of 14
Wallets and smart contracts
About 4 minutes
Two more ideas and you'll understand how Web3 fits together.
Wallets
A wallet doesn't actually hold coins. Your ETH lives on the blockchain. A wallet holds your keys, the secret that proves an address is yours.
- Your address starts with
0x. It's like an account number. It's fine to share it. - Your Secret Recovery Phrase (often called a seed phrase) is 12 words. It's the master key to everything in the wallet. Anyone who has it controls your wallet. Never share it with anyone, ever.
You'll create a practice wallet with MetaMask, a popular wallet that runs in your browser, in the next section.
Smart contracts
A smart contract is a small program that lives on Ethereum.
- Anyone can see its code and use its functions.
- Once it's deployed, it's very hard to change.
- It runs exactly as written, which is why developers test carefully before going live.
A vending machine is a good picture: put in the right input, and it does exactly what it was built to do, with nobody in the middle.
How it all fits together
You write a smart contract, deploy it to Ethereum, and people use it through their wallets. That's the whole loop, and by the end of this course you'll have done each part yourself.
Before you move on
Tick these off as you go.