I have a basic question about gas price charged for transaction. Say I have a private ethereum block chain with ten nodes and I don't want to charge any fee for the transaction taking place in this private chain. Can I do that? If yes how can I be able to do it?

  • 1
    I would ask yourself whether a blockchain is really the correct design choice for your particular problem, given that you're stripping out the incentive layer. Dec 10, 2018 at 9:51

1 Answer 1


Yes you can do it.

All Ethereum transactions require gas. So you need a certain amount of gas, but it's up to you to decide how much you want to actually pay for the gas (gas price). In mainnet, if you want your transaction to go through, you have to specify a non-zero gas price for the transaction. If the gas price is zero, no miner has incentive to include the transaction in their block as it wouldn't benefit them in any way.

However, in private network, you control the miners and you can decide what kind of transactions they process. You can just set all the miners to include also zero-gas priced transactions and that should be it.

Furthermore, even if you did have some non-zero gas price in your private network, you are in control of the Ether circulation and can therefore just pay whatever transaction costs with the Ethers mined by your nodes.

So you have two options:

1) Use zero gas price in transactions and configure nodes to accept such transactions

2) USe "normal" gas prices in transactions and just funnel Ether back to wherever it's needed.

  • i am using geth for run private network, is there any link for set 0 Gas Fee for Deploy ERC20 and ERC721? Sep 11, 2022 at 20:51
  • 1
    Sorry, I'm not familiar on how to operate Geth. You can set all fees to zero, so then deployment is also for free. But if it's your own network, everything is for free anyway since you control all Ether. Sep 12, 2022 at 5:23

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.