Web3 by Example

Web3 is an idea for a new iteration of the World Wide Web based on blockchain technology, which incorporates concepts including decentralization and token-based economics.
Web3 by Example is a hands-on introduction to web3 development using annotated example programs. Check out the first example or browse the full list below.
Accounts
Account Balances
Account Token Balances
Generating New Wallets
Keystores
HD Wallet
Address Check
Transactions
Querying Blocks
Querying Transactions
Transferring ETH
Transferring Tokens (ERC-20)
Subscribing to New Blocks
Send Raw Transaction
Smart Contracts
Smart Contract Compilation & ABI
Deploying a Smart Contract
Loading a Smart Contract
Querying a Smart Contract
Writing to a Smart Contract
Reading Smart Contract Bytecode
Querying an ERC20 Token Smart Contract
Events
Subscribing to Event Logs(TODO)
Reading Event Logs(TODO)
Reading ERC-20 Token Event Logs(TODO)
Reading 0x Protocol Event Logs(TODO)
Signatures
Generating a Signature(TODO)
Verifying a Signature(TODO)
Testing
Faucets(TODO)
Using a Simulated Client(TODO)
by@daoleno|source|license