time-locked-wallets icon indicating copy to clipboard operation
time-locked-wallets copied to clipboard

Running Error / No Wallet Entry

Open ghost opened this issue 4 years ago • 2 comments

[x] Initializing DApp.
dapp.js:35 [x] web3 object initialized.
dapp.js:59 [x] TimeLockedWalletFactory contract initialized.
dapp.js:65 [x] ToptalToken contract initialized.
dapp.js:70 [x] TimeLockedWallet contract initialized.
dapp.js:77 [x] Using account undefined
dapp.js:307 initTopupWalletForm
dapp.js:384 initClaimForm
5truffle-contract-3.0.1.js:414 Uncaught (in promise) Error: Cannot create instance of TimeLockedWalletFactory; no code at address 0xe47684d658872fbde11c82036099a12c066c4fa3
    at Object.callback (truffle-contract-3.0.1.js:414)
    at inpage.js:1
    at inpage.js:1
    at inpage.js:1
    at inpage.js:1
    at i (inpage.js:1)
    at inpage.js:1
    at inpage.js:1
    at c (inpage.js:1)
    at inpage.js:1

ghost avatar Nov 21 '19 18:11 ghost

Hi, I guess the problem might be that you used a different seed for Truffle and the contracts are deployed at different addresses. Check the console and update the dapp.js correspondingly

radek1st avatar Nov 25 '19 20:11 radek1st

@radek1st I am not sure I understand, this doesn't work on the ethereum mainnet?

ghost avatar Nov 26 '19 16:11 ghost