4

This question already has an answer here:

I can deploy a simple contract without any input by using JSON-RPC, like:

curl -X POST --data '{"jsonrpc":"2.0","method":"eth_sendTransaction","params":[{"from":"sender's address","code":"compiled contract"}],"id":67}' localhost:8545 

However, I have no idea how to deploy other contracts which has inputs. Could you please show me a demo how to deploy a contract which has inputs by using JSON-RPC? Thanks a lot.

marked as duplicate by eth Dec 22 '16 at 3:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Did you mean constructor? – eth Dec 22 '16 at 3:29