Region Token - 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.
GMO Blockchain Open Source
Create Z.com Cloud Blockchain environment
git clone --recursive https://github.com/zcom-cloud-blockchain/oss-region-token.git cd oss-region-token/server npm install
At September 1, 2017, truffle should be used at version 3.4.5.
(There is a bug in web3.js related with truffle version 3.4.6 or later, and the deployment does not work properly.)
cd oss-region-token/provider truffle migrate
Set up for Z.com Cloud Blockchain
Set CNS address on admin console
Open a file 'provider/build/contracts/ContractNameService.json'
Use 'networks.(network-id).address' to register as CNS address on admin console
Set Contract ABIs on admin console
- Open following files
- Use 'networks.(network-id).address' and 'abi' values to register as Contract ABIs on admin console
Configure for client
Create server/public/js/config.js based on server/public/js/config_template.js. Edit "CNS" which you deployed.
cd oss-region-token node server/app.js