1

After migration command line (truffle migrate --reset --network rinkeby), it is deploy. However i couldnt see at etherscan website when i enter the contract address. Should i see? Whatever then i write these comman lines respectively.

  truffle console
  Election.deployed().then(function(instance) { app = instance })
  app.address

These are fine but after this command it gives error.

  app.candidate()

Can you help me please?

  • What is your contract address? – Ismael Aug 21 at 19:50
  • @ Ismael Migration contract address: 0xF6FA28D8dEE5A924912B13C4b162A634e255A653 Election contract address: 0xe420129E2Aa335C67Eb1e303C5D63B4BaE4802be – jhdm Aug 22 at 15:59
  • Searching in rinkeby.etherscan.io those addresses are empty which means the deployment has failed. What was the output from truffle migrate? Do you have enough funds in your wallet? – Ismael Aug 22 at 16:06
  • @Ismael and also output was saving migrations to chain and saving artifacts. Does it mean to deploy to rinkeby? – jhdm Aug 23 at 17:57
  • @Ismael when i write this command eth.getBalance(eth.coinbase) it returns 7.9228162734264337593543950335e+28 – jhdm Aug 23 at 17:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.