This crate implements a service for [Exonum] blockchain that provides a protocol for anchoring onto the Bitcoin blockchain that utilizes the native Bitcoin capabilities of creating multisig transactions.
Just follow the installation guide of the exonum
to install dependencies.
The anchoring service depends on bitcoind. For the correct work, you need to launch bitcoind with specific configuration, see deployment guide for details.
If you want to run rpc-tests, do the following:
* Install and configure bitcoind
.
* Specify following enviroment variables.
shell
ANCHORING_RELAY_HOST=<bitcoind-rpc-listen-address>
ANCHORING_USER=<rpc-user>
ANCHORING_PASSWORD=<rpc-password>
* Enable feature rpc_tests
in cargo.
Additional tests are situated in sandbox_tests
subfolder.
Exonum core library is licensed under the Apache License (Version 2.0). See LICENSE for details.