Learn how to write a protocol to tell a friend how many fruits to buy at the market.
This is a free online course that walks you through designing a protocol from scratch. Learn how to write and parse byte-level protocols for fixed, variable-length and TLVs.
Knowing some Python would be helpful for this class, as well as endian-ness.
If you haven’t seen the Encodings + Endianness explainer by @niftynei yet, I’d recommend you give it a look.
Write messages of fixed length to send over the wire
Read and write messages to byte packets
Learn how to expand and existing protocol with new fields
Send data of an unknown size with variable length protocols
Write your own type-length-value (TLV) protocol from scratch in python.
We've answered the most common questions here.
Question not answered?
Whether you're new to Bitcoin development or looking to go deeper, our courses give you the technical foundation to build, verify, and contribute with confidence.