2

is it real to execute contract without gas?

I develop app on parity private network, in what user can register account, after registration he must receive coins from admin address.

But new users (new addrress on private netowkr) can't execute contract, because they don't have coins for pay gas.

1

You should just be able to set the gas price to 0.

  • 1
    Where in parity i can set gas price to zerO? – user25688 Dec 14 '17 at 22:43
0

First thing first, you don't need coins for making transaction, you need ether.

Recommended solution:

After creating an account, get that account address, and give balance to that address in the genesis file. You should be able to find detailed description of process in wiki/demo PoA tutorial

Your requested solution:

While starting parity, start it with --gasprice 0 option. These configurations are described in detail in wiki/configuring-parity

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.