Prerequisites
To complete this guide, you will need the following:- ZBD Project with a Live API key
- Rust and cargo installed
1. Create a Rust project
2. Install dependencies
Add both thezebedee-rust and tokio crates to your project:
3. Update your Cargo.toml
Update yourCargo.toml file to use full features in tokio.
4. Create a Charge
Open your project’smain.rs file and add the following code:
5. Try it yourself
You can now begin receiving instant Bitcoin payments with Rust + ZBD!Rust Example
See the full source code.