Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
frontend
src
Readme.md
checkstyle-suppressions.xml
pom.xml
start-cryptocurrency-demo.sh

Readme.md

Cryptocurrency Demo

This project demonstrates how to bootstrap your own cryptocurrency with Java binding Exonum blockchain.

Exonum blockchain keeps balances of users and handles secure transactions between them.

It implements most basic operations:

  • Create a new user
  • Transfer funds between users

Install and Run

Manually

Getting Started

Be sure you installed necessary packages:

Build and Run

Build the service project:

$ cd exonum-java-binding/cryptocurrency-demo

$ mvn -P with-installed-app install 

Run the service:

$ ./start-cryptocurrency-demo.sh

Install frontend dependencies:

$ cd ../../cryptocurrency-demo/frontend/

$ npm install

Build sources:

$ npm run build

Run the frontend application:

$ npm start -- --port=6040 --api-root=http://127.0.0.1:7000 --explorer-root=http://127.0.0.1:3000

--port is a port for Node.JS app.

--api-root is a root URL of public API address of one of nodes.

--explorer-root is a root URL of public API address of blockchain explorer.

Ready! Find demo at http://127.0.0.1:6040.

See Also

You can’t perform that action at this time.