LRC20 Token
constructor() public {
_name = {{TOKEN_NAME}};
_symbol = {{TOKEN_SYMBOL}};
_decimals = {{DECIMALS}};
_totalSupply = {{TOTAL_SUPPLY}};
_balances[msg.sender] = _totalSupply;
emit Transfer(address(0), msg.sender, _totalSupply);
}Interact with Contract with Web3 and NodeJS.
Connect to LOOP Chain's public RPC endpoint
const Web3 = require('web3');
// mainnet
const web3 = new Web3('https://api.mainnetloop.com');
// testnet
const web3 = new Web3('https://api.testnetloop.com');Create a wallet
Recover a wallet
Check balance
Create transaction
Last updated