I am very new to ethereum Blockchain. Please give some suggestion regarding one query regarding gas fee.

Can we do ethereum transaction and smart contract deployment for free on private blockchain using POA consensus or still I have to pay ether(dummy ether)? Thanks in advance


You control the miners in the private network, so you just need to customize them to accept transactions with gasPrice = 0.

From the Parity documentation:

--gasprice WEI                   Minimum amount of Wei per GAS to be paid for a
                                 transaction to be accepted for mining. Overrides

Note that this doesn't change how gas itself works in the network. You still have gas limits and can generate out of gas errors. The only difference is that the client is saying it will pay 0 for gas on a transaction and the miner is staying it is willing to accept transactions at 0 price.

Or if using GETH

$ geth --networkid 29462 --datadir "./data" --gasprice 0 --nodiscover --port 31313

Original answer


You will still have to pay "ETH" in order to pay for the cost of the opcodes, but these "ETH" that you are transaction do not have any value.

Since this is a different network, the "ETH" is not the same as it is on the main network, therefore there is no value to it (unless you do something to give it a value). This is the same reason that Rinkeby ETH and Ropsten ETH have no value

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.