What does it take to make a token, and what does the law say about selling one?
Create Your Own Token 301 · about 13 minutes a level
How tokens work on Ethereum and how to build one responsibly: the difference between a blockchain's own coin and a token, the ERC-20 standard function by function, writing and testing a token in Solidity, deploying it to a test network, supply and distribution designs explained neutrally, security and audits, and the legal reality that offering tokens to the public is often a regulated securities offering. Everything is built on test networks with free test coins, and nothing here is legal or financial advice.
Go deeper, level by level
- Coins and tokens: Coins versus tokens, What tokens can stand for, A short history of tokens
- The ERC-20 standard in detail: The ERC-20 interface, function by function, Decimals, base units and display, Allowances: approve and transferFrom, Beyond the basics: permits, votes and more
- Writing a token: A minimal ERC-20 from scratch, Building on an audited library, Owners, roles and admin powers
- Testing and test-deploying: Testing a token, Deploying to a test network, Using your token: wallets, explorers and scripts
- Supply and distribution: Supply models: fixed, capped, minted and burned, Allocations, vesting and lockups, Airdrops and Merkle claims
- Security and audits: Where tokens go wrong, Malicious token patterns, Audits and reviews
- The legal reality: When is a token sold as a security? The US view, Rules in the EU and elsewhere, Making isn't selling: responsible choices
Every lesson shows its sources and how sure we are, and is checked by Everwhy.