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
    Commented Nov 7, 2017 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? Commented Nov 7, 2017 at 20:37
  • Sorry I want to deploy via curl with the RPC interface running locally
    – Antonioig
    Commented Nov 8, 2017 at 16:31

1 Answer 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
    Commented Mar 15, 2018 at 17:04

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.