On a private Ethereum network, what is the best way to permission the deployment of who (and what) users can deploy?

One obvious way would be increasing the gas cost of CREATE opcode. Yet, I do not like sending a lot of ETH in order to allow the deployment of a SC.

Can this be controlled via another smart contract or would changes to the node software be needed?


As far as I can see there are no nice approaches. I can think of the following:

1) Increase gas cost

2) Add logic to nodes to not mine such transactions. Also don't broadcast them.

3) Disallow (remove?) the CREATE (and CREATE2) opcode completely in nodes

4) Set block gas limit low enough so it can't include contracts. I guess 21000 is always enough in that case.

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.