No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
contracts
migrations
public
.gitignore
LICENSE.txt
README.md
app.js
package-lock.json
package.json
truffle.js

README.md

Resale Deterred Ticket - GMO Blockchain Open Source

License

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.

DEMO

You can check the operation of this sample project on this page.

http://oss.blockchain.z.com/resale-deterred-ticket/

Explanation

Usage Guides

Create Z.com Cloud Blockchain environment

see Setup Development Environment

Intall Node.js and Truffle

  • Download Node.js here. Required version: >= 6.4.0
  • Install Truffle
npm -g install truffle

Install application

git clone https://github.com/zcom-cloud-blockchain/oss-resale-deterred-ticket.git
cd oss-resale-deterred-ticket
npm install

Deploy contracts

cd oss-resale-deterred-ticket
truffle migrate

Set up for Z.com Cloud Blockchain

See Basic Configuration

  • Set CNS address on admin console
    1. Open a file 'build/contracts/ContractNameService.json'

    2. Use 'networks.(network-id).address' as CNS address to register on admin console

See Contract Creation Process

  • Set Contract ABIs on admin console
    1. Open following files
    'build/contracts/ProxyController_v1.json'
    1. 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.

Start application

cd oss-resale-deterred-ticket
node app.js