Bitcoin protocol engineering
Move from understanding to building, testing, and reviewing.
Follow these 8 lessons in order, or choose the topic you need. Each lesson combines an explanation, a worked example and practice inside the Guild.
Raw transaction construction
Engineers serialize fields, compute sighashes, sign inputs, and inspect witnesses without relying solely on wallet abstractions.
Open lessonRegtest workflows
A private deterministic chain enables instant mining, reorgs, policy experiments, and repeatable failure tests.
Open lessonFunctional and unit testing
Good tests isolate consensus logic, RPC behavior, wallet state, serialization, and end-to-end node interactions.
Open lessonFuzzing and property tests
Generated inputs uncover parser and state-machine edge cases while invariants catch broad classes of failure.
Open lessonRust and TypeScript Bitcoin libraries
Library abstractions accelerate work but must be checked against serialization, network, sighash, and script semantics.
Open lessonReading Bitcoin Core
Trace behavior from RPC or P2P entry points through validation and state updates while respecting lock and ownership boundaries.
Open lessonBIP design and review
Protocol proposals need precise motivation, compatibility, activation, test vectors, security analysis, and reference behavior.
Open lessonResponsible deployment
Signet, testnet, regtest, feature gates, monitoring, rollback constraints, and disclosure processes reduce real-funds risk.
Open lesson