ERC-20 Tokens
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 BizNet's public RPC endpoint
const Web3 = require('web3');
// mainnet
const web3 = new Web3('https://mainnet.bosagora.org');
// testnet
const web3 = new Web3('https://testnet.bosagora.org');Create a Wallet
Recover a Wallet
Check Balance
Create Transaction
Last updated