1

Using Remix, I created the Hello contract from the docs and successfully published it in the Kovan testnet (using the MetaMask plugin).

Also, from Remix "Contracts" tab, I successfully sent "setGreeting" and "greet" messages to my contract, by clicking a button.

Now, I want to let a friend use the same contract using the same convenient GUI of Remix. To see how it works, I opened Remix in an incognito window. I went to the "Contracts" tab.

EDIT: I clicked the button named "At Address" and entered the address of my contract, but got this error:

enter image description here

Apparently, Remix opens with the default contract ("ballot") and tries to find the "winningProposal" of my contract. But, my contract does not have this field since it is a different contract ("Hello")!

Does it mean that I have to send my friend the entire source-code of my contract, to put in Remix?

Is there another way to easily let my friend play with my contract?

1 Answer 1

1

Copy the contract address you ve deployed and in remix browser there is a at address button use it to interact with your contract ( the pic bellow ) enter image description hereenter image description here

5
  • This did not work, see my edit... May 16, 2017 at 9:33
  • Create new contract and past your code in
    – Badr Bellaj
    May 16, 2017 at 9:40
  • But I want to let my friend use the contract that I already created... What should my friend to in order to connect to my contract? May 16, 2017 at 9:41
  • You could share the code+address if they want to use remix or they use myetherwallet.com/#contracts they needs the abi (you find it in remix)+ the address or you creat a webpage using web3js and share the url with them
    – Badr Bellaj
    May 16, 2017 at 9:51
  • 1
    The first solution (sharing the code+address) worked well for me. Thanks! May 17, 2017 at 13:38

Your Answer

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

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