Skip to content
 
 

Repository files navigation

Dmarket Cryptocurrency Tutorial

Dmarket Blockchain test version uses Exonum framework(v0.2).

Prerequisites

To run this example you need to install Rust compiler and third-party libraries.

Build & Run

Blockchain Node

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.

Sample Transactions & Read Requests

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.

License

DMarket Cryptocurrency is licensed under the MIT License . See LICENSE for details.

About

FORK 4

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages