So, as a freelancer that wants to make a smart contract for a client, how do you set such client as the owner of the contract?

Would it be setting the owner variable to the eth address of the client, instead of msg.sender, when creating the contract?

  • 2
    Your client should be the one deploying the contract with his/her private key. So you can add a page in your app for deploying a contract, and then your client can use that page in order to deploy the contract with his/her private key. – goodvibration Jul 25 at 7:15
  • A page in my app? A web page? – Angel Guastaferro Jul 26 at 17:52
  • Whatever. This advice covers the ethereum-related part of your question. For strictly web-related issues, you can post the rest of your question on stack overflow. – goodvibration Jul 26 at 18:28
  • You deploy an app with truffle, I still don't see how a client can do it without being technically savvy. Thanks anyways! – Angel Guastaferro Jul 27 at 21:25

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.