web3js-tracker-example icon indicating copy to clipboard operation
web3js-tracker-example copied to clipboard

Error when build your code

Open davidarchi opened this issue 6 years ago • 1 comments

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 avatar Oct 15 '18 09:10 davidarchi

@davidarchi you need to wait for transaction to be mined then it only can return correct result

haidt18 avatar Nov 18 '18 14:11 haidt18