melbesnard85 / Blockchain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:C++ 72.0%Language:Rust 12.1%Language:Java 8.5%Language:Perl 2.0%Language:Shell 1.3%Language:C 1.1%Language:Makefile 0.8%Language:Python 0.6%Language:PHP 0.4%Language:CMake 0.3%Language:SCSS 0.3%Language:HTML 0.3%Language:PowerShell 0.1%Language:M4 0.1%Language:JavaScript 0.0%Language:Dockerfile 0.0%Language:Ruby 0.0%