Skip to content
KALANBLON
Intermediate1 h 45Free

Building a blockchain: transactions, wallets and Merkle trees

You move from the idea to the mechanism. You model transactions as banknotes that are spent and give change (the UTXO model), you prevent double spending, then you sign each transaction with its wallet's key so that nobody can spend someone else's money. You discover Merkle trees, which let a phone check a payment without downloading the whole chain. You finish by assembling a complete node that validates transactions, builds and mines blocks, and rejects invalid blocks.

Start the course

0 / 6 chapters completed

What you'll be able to do

  • Model transactions with inputs, outputs and fees (UTXO model)
  • Detect and reject a double spend, including within a single block
  • Sign a transaction with a wallet's private key and verify the signature
  • Compute a block's Merkle root and verify an inclusion proof
  • Assemble a node that validates, mines and checks blocks

Course outline