Dmarket Blockchain test version uses Exonum framework(v0.2).
To run this example you need to install Rust compiler and third-party libraries.
To build and run a single node use:
# clone the repository with blockchain node
git clone git@github.com:suntechsoft/dmarket-blockchain.git
cd dmarket-blockchain
# build and run
cargo run
Now the node is listening HTTP requests on localhost:8000
.
When node is launched, you can use transaction examples to check that it works properly.
A simplest way to do this is launching the test.sh
script in the examples directory. This script creates two wallets, performs a transfer
among them, and then verifies that the wallet status was correctly updated.
Alternatively, you may use command-line utilities, such as curl
, to manually POST transactions
on the transaction endpoint.
DMarket Cryptocurrency is licensed under the MIT License . See LICENSE for details.