1- [ ![ Status] ( https://travis-ci.org/rust-bitcoin /rust-bitcoincore -rpc.png?branch=master )] ( https://travis-ci.org/rust-bitcoin /rust-bitcoincore -rpc )
1+ [ ![ Status] ( https://travis-ci.org/rust-dash /rust-dashcore -rpc.png?branch=master )] ( https://travis-ci.org/rust-dash /rust-dashcore -rpc )
22
3- # Rust RPC client for Bitcoin Core JSON-RPC
3+ # Rust RPC client for Dash Core JSON-RPC
44
5- This is a Rust RPC client library for calling the Bitcoin Core JSON-RPC API. It provides a layer of abstraction over
6- [ rust-jsonrpc] ( https://github.com/apoelstra/rust-jsonrpc ) and makes it easier to talk to the Bitcoin JSON-RPC interface
5+ This is a Rust RPC client library for calling the Dash Core JSON-RPC API. It provides a layer of abstraction over
6+ [ rust-jsonrpc] ( https://github.com/apoelstra/rust-jsonrpc ) and makes it easier to talk to the Dash JSON-RPC interface
77
88This git package compiles into two crates.
9- 1 . [ bitcoincore -rpc] ( https://crates.io/crates/bitcoincore -rpc ) - contains an implementation of an rpc client that exposes
10- the Bitcoin Core JSON-RPC APIs as rust functions.
9+ 1 . [ dashcore -rpc] ( https://crates.io/crates/dashcore -rpc ) - contains an implementation of an rpc client that exposes
10+ the Dash Core JSON-RPC APIs as rust functions.
1111
12- 2 . [ bitcoincore -rpc-json] ( https://crates.io/crates/bitcoincore -rpc-json ) - contains rust data structures that represent
13- the json responses from the Bitcoin Core JSON-RPC APIs. bitcoincore -rpc depends on this.
12+ 2 . [ dashcore -rpc-json] ( https://crates.io/crates/dashcore -rpc-json ) - contains rust data structures that represent
13+ the json responses from the Dash Core JSON-RPC APIs. dashcore -rpc depends on this.
1414
1515# Usage
16- Given below is an example of how to connect to the Bitcoin Core JSON-RPC for a Bitcoin Core node running on ` localhost `
16+ Given below is an example of how to connect to the Dash Core JSON-RPC for a Dash Core node running on ` localhost `
1717and print out the hash of the latest block.
1818
1919It assumes that the node has password authentication setup, the RPC interface is enabled at port ` 8332 ` and the node
2020is set up to accept RPC connections.
2121
2222``` rust
23- extern crate bitcoincore_rpc ;
23+ extern crate dashcore_rpc ;
2424
25- use bitcoincore_rpc :: {Auth , Client , RpcApi };
25+ use dashcore_rpc :: {Auth , Client , RpcApi };
2626
2727fn main () {
2828
@@ -36,7 +36,7 @@ fn main() {
3636
3737See ` client/examples/ ` for more usage examples.
3838
39- # Supported Bitcoin Core Versions
39+ # Supported Dash Core Versions
4040The following versions are officially supported and automatically tested:
4141* 0.18.0
4242* 0.18.1
0 commit comments