After learning to create and deploy my contract to my testrpc, now I can't figure out how to get my contract mined.

I created my contract and my testrpc is up and running. But my solidity online compiler shows me "Waiting for transaction to be mined..."

How can I start to mine blocks in my testrpc? (Metamask shows Contract published)


You can force a block to be mined with evm_mine

See here.

  • 1
    because i am new to dApp developpment, how do i use this method? Insert this method in the cmd? – TimRicta Sep 17 '17 at 10:04
  • See Write commands in console for a console on testrpc. – Nicolas Bernard Sep 17 '17 at 10:07
  • 1
    when i enter "evm_mine" JS geth Console replies 'evm_mine" is not defined. Do i have to add some sort of lib? – TimRicta Sep 17 '17 at 10:26

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.