Programming Bitcoin in Rust
- An implementation of various topics covered by Jimmy Song's Programming Bitcoin course.
- ... in Rust!
This project is also an exercise in learning how to program using Rust.
Install Rust and Cargo.
Then, cargo run --example <target> <n>
.
target
: File to run (exercises/*.rs
), corresponding to each chapter.n
: Which exercise to run (1
,2
, etc.) from the chapter.
0
runs other miscellaneous code samples included in the chapter.
... or, script/run-all-examples
.
cargo doc --open
.
Because I would like 256-bit integer support when working through the exercises.
Would you trust code written by an apathetic crab that is drinking a tequila sunrise whilst rolling up some indica on the beach?
Something like rust-bitcoin
or
rust-secp256k1
, which probably has much
more
community support/development,
ought to be preferred.