6

I'm running into an issue whenever i try to create a new transaction with my newly created contract "richoCoin". It seems like its expecting the "Sample.sample()" contract.

How do I resolve this?Mix IDE rychoCoin.sol

7

in your scenario you have to create a transaction with your contract, you still have a transaction with the default contract which is called Sample

  • That's what I tried to do, though it doesn't let me. – Kizito Mar 31 '16 at 18:45
  • 1
    next to the Default_1 scenario, if you click New Scenario usually it creates automatically transaction from user1 with your contracts. you can also edit the transaction by double clicking it and you should see you contract in the Edit transaction window, Contract field – euri10 Mar 31 '16 at 18:48
  • You the best! Thanx a lot – Kizito Mar 31 '16 at 18:50
  • yw, not very intuitive at first I have to say ;) – euri10 Mar 31 '16 at 18:51
  • the get() and set() javascript functions in the Sample contract are 2 ways within a html page to interact with the contract. – euri10 Apr 1 '16 at 7:10

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.