Key Management
This article is a guide about key management strategy on the client side of your Decentralised Application on Agora
Setup Web3
web3.js
is a javascript library that allows our client-side application to talk to the blockchain. We configure web3 to communicate via Metamask.
web3.js
doc is here
Connect to Agora network
Set up account
If the installation and instantiation of web3 were successful, the following should successfully return a random account:
Recover account
If you have a backup private key to your account, you can use it to restore your account.
Full Example
Last updated