Resale Deterred Ticket - 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
Resale Deterred Ticket
Create Z.com Cloud Blockchain environment
Intall Node.js and Truffle
- Download Node.js here. Required version: >= 6.4.0
- Install Truffle
npm -g install truffle
git clone https://github.com/zcom-cloud-blockchain/oss-resale-deterred-ticket.git cd oss-resale-deterred-ticket npm install
cd oss-resale-deterred-ticket truffle migrate
Set up for Z.com Cloud Blockchain
Set CNS address on admin console
Open a file 'build/contracts/ContractNameService.json'
Use 'networks.(network-id).address' as CNS address to register 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 public/js/config.json based on public/js/config_template.json. Edit "CNS", "ORGANIZATIONS". "ATTRACTION_HANDLER" which you deployed.
cd oss-resale-deterred-ticket node app.js
- Open http://localhost:3000/resale-deterred-ticket in the browser