Is there any way to disable creation of smart contracts on Hyperledger Besu Private Network for addresses except those that I specify? I want to create private network with zero gas fee, but no one can deploy smart contracts except me.

Or is there a way for besu to specify what opcodes costs gas, so i could set all opcodes to be zero gas, but CREATE opcode to cost gas?

2 Answers 2


There is a create-contract-permission branch in permissioning-smart-contracts repo. Seems like alpha stage, but probably with some additional work, you can use Besu's permissioning with updated contracts to achieve your goal.


There is a Similar question, and the answers are:

  • Filter contract creation transactions on validator/mining nodes
  • Make CREATE opcode unreachably costly.

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.