Skip to content
GMO Blockchain OSS - Pay@Table Project
JavaScript HTML CSS
Branch: master
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

Pay At Table - 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/pay-at-table/

Explanation

Usage Guides

Create Z.com Cloud Blockchain environment

see Setup Development Environment

Install application

git clone https://github.com/zcom-cloud-blockchain/oss-pay-at-table.git
cd oss-pay-at-table
npm install

Deploy contracts

cd oss-pay-at-table
truffle migrate --network production

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' to register as CNS address on admin console

See Contract Creation Process

  • Set Contract ABIs on admin console
    1. Open following files
    'build/contracts/ProxyController_v1.json'
    'build/contracts/Demo_v1.json'
    1. Use 'networks.(network-id).address' and 'abi' values to register as Contract Addresses and ABIs on admin console

Configure for client

Create public/js/config.js based on public/js/config_template.js. Edit "CNS" and "PAY_AT_TABLE" which you deployed.

Start application

cd oss-pay-at-table
node app.js
You can’t perform that action at this time.