Skip to content

itp-world/blockchain-otc-dapp

Repository files navigation

Blockchain OTC Market - Backend and web client

Setup Backend

Requirements

The following node packages or their dependencies uses native libraries:

Please take care for the dependencies of the build tool node-gyp.

Configuration

Parity

See Configuring Parity for the complete documentation.

Backend

See ./backend/config/defaults.json for the default configuration and define your custom configuration in ./config.json.

Additional resources

Development Mode

# install dependencies
$ npm install

# run setup for initial user, wallet and contracts (will skip for already existing ones)
$ npm run setup

# start server with hot reload at localhost:3000 (default configuration)
$ npm run dev

Production Mode

# install dependencies
$ NODE_ENV=production npm install

# run setup for initial user, wallet and contracts (will skip for already existing ones)
$ NODE_ENV=production npm run setup

# start server for production at localhost:3000 (default configuration)
$ NODE_ENV=production npm run start

Setup Client

See Blockchain OTC Market - Client

Initial Login

Credentials for the admin user created during setup:

Username: admin
Password: insecure!password

The password should be changed after login.

Process to setup a trading scenario

Initial user admin (above) has to:

  • distribute Euro token to existing other users who have to sign up themselves (via client user interface).
  • release Asset token for trading (via client user interface).

Users with Euro token can then buy Asset token, users with Asset token can sell them for Euro token.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published