Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.
/ metagate Public archive

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

License

Notifications You must be signed in to change notification settings

hexoul/metagate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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