Learning Bitcoin from the Command Line
Build a strong foundation in Bitcoin development by working directly with Bitcoin Core through the CLI.
About This Course
This cohort-based workshop works through Blockchain Commons' open-source Learning Bitcoin from the Command Line curriculum. You'll gain hands-on experience interacting with Bitcoin Core using bitcoin-cli and a local node — from basic transactions to advanced scripting.
Working directly with the command line is the best way to understand how Bitcoin actually works under the hood. No GUIs, no abstractions — just you and the protocol.
What You'll Learn
- Set up and configure Bitcoin Core on testnet/signet
- Create, sign, and broadcast transactions via CLI
- Build multi-signature wallets and PSBTs
- Write and understand Bitcoin Script
- Implement timelocks and conditional spending
- Interact with the Lightning Network
- Use Bitcoin Core's JSON-RPC interface
- Debug transactions and trace UTXOs
Prerequisites
- Basic understanding of what Bitcoin is (no deep technical knowledge required)
- Comfortable using a Unix/Linux terminal (cd, ls, nano/vim basics)
- A computer where you can install Bitcoin Core (macOS, Linux, or WSL on Windows)
- 2-4 hours per week for sessions and self-study
Familiarity with Mastering Bitcoin by Andreas Antonopoulos is helpful but not required. We'll cover the essentials as we go.
Curriculum
Introduction & Setup
- Bitcoin Core introduction
- Setting up your node on VPS/local
- Understanding Bitcoin setup & configuration
Transactions Fundamentals
- Sending Bitcoin transactions
- Controlling transaction features
- Fee management & RBF
Multisig & PSBTs
- Multi-signature transactions
- Partially Signed Bitcoin Transactions
- Collaborative transaction signing
Advanced Transactions
- Advanced transaction types
- Introduction to Bitcoin Script
- Script structure & opcodes
P2SH & Timelocks
- Pay-to-Script-Hash transactions
- Timelock functions (CLTV, CSV)
- Time-based spending conditions
Script Design
- Expanding Bitcoin scripts
- Designing custom scripts
- Real-world script applications
Lightning & Beyond
- Lightning Network basics
- Setting up LND/c-lightning
- Opening channels & payments
Wrap-up & Next Steps
- Programming with RPC
- Advanced topics overview
- Contributing to Bitcoin OSS
Curriculum based on Blockchain Commons' LBTCL. Chapters 17-20 cover advanced topics for independent exploration after the cohort.
How It Works
Weekly Sessions
90-minute live sessions each week covering that week's material, with Q&A and group discussion.
Self-Study
Read assigned chapters and complete hands-on exercises on your own schedule before each session.
Peer Learning
Work with a study partner, prepare discussion questions, and learn from each other's questions.
Discord Community
Get help between sessions, share progress, and connect with other African Bitcoin developers.
Register
Registration is currently closed.
Join Discord to get notified when the next cohort opens.
Resources
- Blockchain Commons LBTCL (GitHub) — The original open-source curriculum
- Bitcoin Core — The reference implementation we'll be using
- Bitcoin RPC Documentation — Official RPC reference