onebit-ethereum app
App proper of onebit-ethereum.
Provides REST API for OneBit smart contracts on Ethereum VM.
How to set up
-
Pre-requisites:
- Node.js >= 6 (LTS)
yarn
or npm
are globally installed.- Ethereum node running and reachable. For local testing, testrpc is recommended.
Note: Truffle is not required to be globally installed. Local Truffle installation is used instead for added consistency.
-
Install dependencies using yarn
(preferred) or npm
.
yarn
-
Deploy to Ethereum network (migrate)
yarn run migrate
-
Run
yarn start
TODO
- Environment set up
- Support for different Ethereum networks