Giter VIP home page Giter VIP logo

cryptocurrency's Introduction

Cryptocurrency Tutorial

Build status Gitter

Minimal Exonum blockchain example implementing a simple cryptocurrency.

See the documentation for a detailed step-by-step guide how to approach this example.

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 [email protected]:exonum/cryptocurrency.git
cd cryptocurrency

# build and run a zero-configuration demo
cargo run --example demo

Now the node is listening to HTTP requests on http://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 (for *NIX platforms), or test.ps1 in the same directory (for Windows with PowerShell installed). The script creates two wallets, performs a transfer between 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 and read data from wallet endpoints (the wallets_info.sh script provides a handy way to do this).

License

Cryptocurrency is licensed under the Apache License (Version 2.0). See LICENSE for details.

cryptocurrency's People

Contributors

slowli avatar therustmonk avatar stanislav-tkach avatar maria-nosyk avatar aleksuss avatar defuz avatar pepyakin avatar vldm avatar

Watchers

James Cloos avatar Ilya Druzhinin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.