radek1st / time-locked-wallets

Ethereum based time-locked wallets to keep your ether and ERC20 tokens safe
https://radek1st.github.io/time-locked-wallets/
MIT License
86 stars 81 forks source link

Running Error / No Wallet Entry #4

Open ghost opened 4 years ago

ghost commented 4 years ago
[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
radek1st commented 4 years ago

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

ghost commented 4 years ago

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