blockchain-client
a rust client for talking to bitcoin/litecoin nodes. this is my first project on crates.io.
usage
add this to your Cargo.toml:
[]
= "1.0.0"
then you can use it in your code:
use ;
async
testing with the example
this project comes with a demo in the examples folder. to run it:
- you need a local litecoin node running.
- edit the
examples/demo.rsfile with your node's rpc username and password. - run the example:
this will connect to your node and print out some blockchain info. It's also a great reference on how to use this package.