/metagate

As gateway, entrypoint to use ERC721, 725, 735 by registering identity, topic and achievement

Primary LanguageJavaScriptMIT LicenseMIT

Gateway

License JavaScript Style Guide

Entrypoint to use ERC721, 725, 735 by registering identity, topic and achievement.

Web3

Before compiling, src/ethereum/web3-config.json should be provided following spec described in web3.js. Here is example:

{
  "netid": "ropsten",
  "url": "https://ropsten.infura.io",
  "addr": "0xA408FCD6B7f3847686Cb5f41e52A7f4E084FD3cc",
  "privkey": "11111111111111111111111111111111111111111111",
  "identity": "0x7304f14b0909640acc4f6a192381091eb1f37701"
}

Preview

$ npm install
$ npm start

Deploy

$ npm run build
$ npm install -g serve
$ serve -l 3002 -s build

What more