Token Trader - GMO Blockchain Open Source
License is here.
Apart from forbidding the use of this software for criminal activity, this license is similar to the MIT License.
GMO Blockchain Open Source Common License document is here.
You can check the operation of this sample project on this page.
http://oss.blockchain.z.com/token-trader/
see Setup Development Environment
- Download Node.js here. Required version: >= 6.4.0
- Install Truffle
npm -g install truffle
git clone https://github.com/zcom-cloud-blockchain/oss-token-trader.git
cd oss-token-trader
npm install
cd oss-token-trader
truffle migrate
-
-
Open a file 'build/contracts/ContractNameService.json'
-
Use 'networks.(network-id).address' as CNS address to register as ABI address on admin console
-
-
- Open following files
'build/contracts/Demo_v1.json' 'build/contracts/SwapTrade_v1.json'
- Use 'networks.(network-id).address' and 'abi' values to register as Contract ABIs on admin console
Create public/js/config.js based on public/js/config_template.js. Edit "CNS_ADDRESS" and "TOKEN_TRADER_ADDRESS" which you deployed.
-
- Open following files
'build/contracts/TokenTrader.json'
- Use 'networks.(network-id).address' as TokenTrader address to edit config
cd oss-token-trader
node app.js