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

1 Answer 1

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

5
  • That's what I tried to do, though it doesn't let me.
    – Kizito
    Commented Mar 31, 2016 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
    Commented Mar 31, 2016 at 18:48
  • You the best! Thanx a lot
    – Kizito
    Commented Mar 31, 2016 at 18:50
  • yw, not very intuitive at first I have to say ;)
    – euri10
    Commented Mar 31, 2016 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
    Commented Apr 1, 2016 at 7:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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