Closed medied closed 6 years ago
Here are some things to try, there could be a few different causes of this.
If all the above fails, let's see if it works without MetaMask:
App.web3Provider = new Web3.providers.HttpProvider('http://localhost:8545');
Thanks for reaching out @DiscRiskandBisque, here's what I found:
Web3
, not working in incognito with the lowercase web3
Transfer
option in the app, I see:
testrpc
logAdoption has not been deployed to detected network (network/artifact mismatch)
pointing to line 99 in app.js
In summary it works when I interact with the app in incognito, and Metamask in non-incognito. Curious if you have any other thoughts or reactions. I think this works for me for the time being, feel free to close this issue. Thanks again!
Thank you @medied. Spun my wheels for a bit until my first attempt at an incognito tab worked first try.
Hi all. We've done a bunch of updates to this tutorial with this in mind. Please give it another try, as these issues should be resolved. You should not need an incognito window to perform the tutorial. But if you're still having issues, please let us know!
I've just run through this tutorial and got stuck at the same place.
I noticed that Ganache had started on port 7545 (looking in it's logs) and that line 16 of app.js referenced port 9545.
I edited app.js and cleared everything down including restarting ganache then re-ran and now see the 1200 balance.
I'm now making transactions which show up in both ganache and meta mask. The balance on localhost:3000 updates but not the account balances in ganache/meta mask which show 0 value transfers. Will carry on digging.
BTW Thanks! Truffle / Ganache and the tutorials are fantastic tools!
Thanks @mjoecohen . Please use the https://github.com/trufflesuite/trufflesuite.com/issues repo for all tutorial issues from here on out. (We've migrated away from this repo.)
I'm running into issues interacting with
TutorialToken
from the OpenZeppelin tutorial (section 4 to be precise). Behavior I'm getting and other info:testrpc
seems to be working fine. Tried adding the token as this doc suggests.Some questions and thoughts:
Any pointers would be helpful as I'm trying to learn as much as possible. Thanks in advance!