Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addNewToken not working #1

Open
ekanath25 opened this issue Oct 31, 2018 · 4 comments
Open

addNewToken not working #1

ekanath25 opened this issue Oct 31, 2018 · 4 comments

Comments

@ekanath25
Copy link

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

@kroim
Copy link

kroim commented Feb 18, 2020

It is not working on my side too.

@alofeoluwafemi
Copy link
Owner

@nsr-py Can you look into this issue

@nsrCodes
Copy link
Contributor

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

@niccolopetti
Copy link
Contributor

I made a pull request where I solved this #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants