2 ms·
The miners do two things: run your code, and come to a consensus on what transactions happen on the database, in what order. The consensus work is expensive, a
by DennisP 10y ago
The miners do two things: run your code, and come to a consensus on what transactions happen on the database, in what order.
The consensus work is expensive, and we pay them for it mainly by minting new coins. In effect we're taxing all the coin holders by inflating the currency.
To run a specific transaction, you pay a transaction fee, which also goes to the miners. They could just ignore our transaction, so we pay them a little to run it.
So basically it's the users who pay the running costs of an application. Every time they call a method in a script, they have to include a small payment to the miners.
Generally these payments are pretty small but as computers go, Ethereum is a very expensive one, since every operation or stored byte is replicated on thousands of computers. You're not going to be doing a lot of computation or storing bulk data. But simple business rules are easily affordable.