Key Management
Setup Web3
Connect to LOOP network
// mainnet
const web3 = new Web3('https://api.mainnetloop.com');
// testnet
const web3 = new Web3('https://api.testnetloop.com');Set up account
const account = web3.eth.accounts.create();Recover account
const account = web3.eth.accounts.privateKeyToAccount("$private-key")Full Example
Last updated