web3js-tracker-example
web3js-tracker-example copied to clipboard
Error when build your code
Hello
Please help me to check this issue I tried to build your source But I get txHash is alway null Could you help to check this
My config is:
NODE_ENV=development
INFURA_URL=https://rinkeby.infura.io/v3/ef5539a42f1a419e87193393fe40f893 INFURA_WS_URL=wss://rinkeby.infura.io/ws
ETH_BLOCK_TIME=30
TOKEN_CONTRACT_ADDRESS=0x2958d4c19c6bc69ec1fee3ae643ef85a7bcfb1f6
WALLET_FROM=0xe5bf8b2419242287b071731d3f59858cf74c2c90 WALLET_TO=0x2958d4c19c6bc69ec1fee3ae643ef85a7bcfb1f6 AMOUNT=0.2
Please help to check this
@davidarchi you need to wait for transaction to be mined then it only can return correct result