freecoding.school100% FREE · NO SIGNUP
Ledger LandISSUE #90 of 90

references · ethers · viem · web3.js · ercs

BlockyVSDouble-Spend Dan
Blocky saysYou’ve covered blockchain end to end — now build something small and on-chain to make it real.

Blockchain clicks when you build. The capstone: write and test a small contract (an ERC-20 token or a simple escrow) in Solidity, deploy it to a testnet, and connect a front-end with ethers.js or viem to read state and send a transaction. That end-to-end loop — contract, wallet, RPC, UI — is the whole skill. References: the Solidity docs, the EIP/ERC index, ethers/viem docs, and a testnet faucet.

Power-ups you unlock

Double-Spend Dan attacks — common mistakes

Boss battlePlan a testnet project: a token contract + a page that shows your balance and transfers.

Example code

<!doctype html><html><head><meta charset="utf-8"></head>
<body style="background:#06040d;color:#e6e0ff;font-family:monospace;padding:20px"><pre>1 write ERC-20 in Solidity + tests
2 deploy to a testnet (faucet for gas)
3 viem/ethers front-end: read balance, send transfer
loop: contract ↔ wallet ↔ RPC ↔ UI</pre></body></html>
▶ Open the interactive comic issue
‹ Regulation · Sec · Mica · Privacy Lines