You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi ,
I have created tokens and tests were passed in successfullly
I deployed the smart contract in local Ganache and I called the addNewToken function using web3 js it returns true.
But I tried get the added token address it returns 0x000. tokenZandR.addNewToken.call("BEAR","0x0f78b59f855c346e481865001dbad0b635543312",(err,succ) =>{ if(err){ console.log(err) }else{ tokenZandR.tokens.call('BEAR',(err,tokenAddress) =>{ if(err){ console.log(err) } console.log(tokenAddress) }) console.log(succ) } })
Please help me and thanks in advance
The text was updated successfully, but these errors were encountered:
Hi ,
I have created tokens and tests were passed in successfullly
I deployed the smart contract in local Ganache and I called the addNewToken function using web3 js it returns true.
But I tried get the added token address it returns 0x000.
tokenZandR.addNewToken.call("BEAR","0x0f78b59f855c346e481865001dbad0b635543312",(err,succ) =>{ if(err){ console.log(err) }else{ tokenZandR.tokens.call('BEAR',(err,tokenAddress) =>{ if(err){ console.log(err) } console.log(tokenAddress) }) console.log(succ) } })
Please help me and thanks in advance
The text was updated successfully, but these errors were encountered: