/meta-attestation

Firebase attestation test based on ERC725 and ERC735

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Meta attestation

License JavaScript Style Guide

Attestation sample based on ERC725 and ERC735

Web3

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

{
  "netid": "ropsten",
  "url": "https://ropsten.infura.io",
  "ws": "wss://ropsten.infura.io/ws/v3/YOUR-PROJECT-ID",
  "addr": "0xA408FCD6B7f3847686Cb5f41e52A7f4E084FD3cc",
  "privkey": "11111111111111111111111111111111111111111111",
  "identity": "0x7304f14b0909640acc4f6a192381091eb1f37701"
}

Initial setup, building and serving.

  1. Create a Firebase project using the Firebase console.
  2. In the Authentication section of your project's Firebase console, open the Sign-In Method tab and enable the Google and the Email/Password sign-in providers.
  3. Install the run-time and build dependencies:
    npm install
  4. Install firebase tools, if you do not have:
    npm install -g firebase-tools
  5. Tell Firebase to use your new project locally:
    firebase use --add
  6. Run the build script to transpile and pack the sources:
    npm run build
  7. Serve the app locally:
    npm run serve
  8. Try out the app by opening http://localhost:5000 in your browser.

Deploy

  1. firebase deploy