3

I want to deploy a smart contract via curl and send parameters in the constructor, I found this example but he does not send parameters, thankyou!!

  • do you curl or url? – Badr Bellaj Nov 7 '17 at 20:25
  • Could you please specify what you mean by "deploy by URL"? Do you mean deploy a smart contract through a web app interface, like "http://localhost:3000/deploy?param1='blah'&param2='blah2'? Or are you trying to use the RPC interface running locally at http://localhost:8545 to deploy a contract? – valkn0t Nov 7 '17 at 20:37
  • Sorry I want to deploy via curl with the RPC interface running locally – Antonioig Nov 8 '17 at 16:31
1

There are only two methods of deploying smart contracts with parameters. You either use Truffle or Geth via a locally running RPC enabled node.

However, I imagine there are web API's out there to deploy smart contracts using a node running on a remote server. That would technically qualify as deploying smart contracts via URL. I don't know of any though.

  • OP specified in comments a wish to deploy via a locally running RPC. – WBT Mar 15 '18 at 17:04

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.