tokenzendr-contract icon indicating copy to clipboard operation
tokenzendr-contract copied to clipboard

addNewToken not working

Open ekanath25 opened this issue 6 years ago • 4 comments

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

ekanath25 avatar Oct 31 '18 18:10 ekanath25

It is not working on my side too.

kroim avatar Feb 18 '20 09:02 kroim

@nsr-py Can you look into this issue

alofeoluwafemi avatar Jun 23 '20 22:06 alofeoluwafemi

@slim12kg I surely will, but it might take a while, I am still a rookie😅

nsrCodes avatar Jun 24 '20 01:06 nsrCodes

I made a pull request where I solved this #4

niccolopetti avatar Dec 15 '20 14:12 niccolopetti