This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* RPC: https://rpc.tomochain.com mainnet, https://rpc.testnet.tomochain.com testnet | |
* chainId: 88 mainnet, 89 testnet | |
*/ | |
const Web3 = require('web3') | |
const rpc = 'https://rpc.testnet.tomochain.com' | |
const chainId = 89 | |
const pkey = 'YOUR_PKEY' // token holder pkey |