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!!

Antonioig
  • 39
  • 3
  • do you curl or url? – Badr Bellaj Nov 07 '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? – tshallenberger Nov 07 '17 at 20:37
  • Sorry I want to deploy via curl with the RPC interface running locally – Antonioig Nov 08 '17 at 16:31

1 Answers1

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.

tshallenberger
  • 542
  • 3
  • 10