Blockchain Technology
FROM BITCOIN TO ETHEREUM AND HYPERLEDGER
What’s Bitcoin?
How does it work?
How does it work? (continued)
Nothing new, maybe?
Double-spend? No bueno!
Read, Wait, Write
Mining: how does it work?
Proof-of-work: block hash
Proof-of-work: difficulty
The Reward
How transactions work
Majority attack
Blockchain pros and cons
Ethereum and Smart Contracts
What’s Ethereum?
Ethereum smart contracts
GAS
Solidity programming language
What’s Solidity?
Variadic return
Static typing
Ethereum accounts
DEMO
Let’s create an Ethereum wallet
Create an Alchemy app
…Connect Metamask to the Alchemy endpoint
Get some ETH on our wallet
Create an ERC-1155 contract
Use Remix to create the contract
Deploy the contract
Mint the ERC-1155 token
Check transactions on Etherscan
Adding NFT metadata
… Adding NFT metadata
… Adding NFT metadata
… Adding NFT metadata
… Adding NFT metadata
… Adding NFT metadata
… Adding NFT metadata
EVM
Example: decompiled sol contract