Attestation sample based on ERC725 and ERC735
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"
}
- Create a Firebase project using the Firebase console.
- 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.
- Install the run-time and build dependencies:
npm install
- Install firebase tools, if you do not have:
npm install -g firebase-tools
- Tell Firebase to use your new project locally:
firebase use --add
- Run the build script to transpile and pack the sources:
npm run build
- Serve the app locally:
npm run serve
- Try out the app by opening http://localhost:5000 in your browser.
firebase deploy