Equilibrium in Cryptoeconomic Networks
This post had some discussions on Hacker News, see the thread.
A cryptoeconomic network is a network where
- nodes perform tasks that are useful to the network,
- incur costs while doing so,
- and get compensated through fees paid by the network users, or rewards generated by the network’s protocol (usually in the form of a currency native to the network).
Reward generation causes the supply of network currency to increase, resulting in inflation. Potential nodes are incentivized to join the network because they see there is profit to be made, especially if they are one of the early adopters. This brings the notion of a “cake” being shared among nodes, where the shares get smaller as the number of nodes increases.
Since one of the basic properties of a currency is finite supply, a sane protocol cannot have the rewards increase arbitrarily with more nodes. Thus the possible number of nodes is finite, and can be calculated using costs and rewards, given that transaction fees are negligible. The rate by which rewards are generated determines the sensitivity of network size to changes in costs and other factors.
Let be the number of nodes in a network, which perform the same work during a given period. Then we can define a generalized reward per node, introduced by Buterin1:
where is a constant and is a parameter adjusting how the rewards scale with .
Then the total reward issued is equal to
The value of determines how the rewards scale with :
| Range | Per node reward | Total reward |
|---|---|---|
| Increase with increasing | Increase with increasing | |
| Decrease with increasing | Increase with increasing | |
| Decrease with increasing | Decrease with increasing |
Below is a table showing how different values of corresponds to different rewarding schemes, given full participation.
| Description | |||
|---|---|---|---|
| Constant interest rate | |||
| Middle ground between 0 and 1 (Ethereum 2.0) | |||
| Constant total reward (Ethereum 1.0, Bitcoin in the short run) | |||
| No reward (Bitcoin in the long run) |
The case results in unlimited network growth, causes runaway inflation and is not feasible. The case is also not feasible due to drastic reduction in rewards. The sensible range is , and we will explore the reasons below.
Estimating Network Size
We relax momentarily the assumption that nodes perform the same amount of work. The work mentioned here can be the hashing power contributed by a node in a PoW network, the amount staked in a PoS network, or the measure of dedication in any analogous system.
Let be the work performed by node . Assuming that costs are incurred in a currency other than the network’s—e.g. USD—we have to take the price of the network currency into account. The expected value of ‘s reward is calculated analogous to (1)
Introducing variable costs and fixed costs , we can calculate ‘s profit as
Assuming every node will perform work in a way to maximize profit, we can estimate given others’ effort:
In a network where nodes have identical costs and capacities to work, all converge to the same equilibrium value . Equating , we can solve for that value:
Plugging back above, we can calculate for the case of economic equilibrium where profits are reduced to zero due to perfect competition:
which yields the following implicit equation
It is a curious result that for the idealized model above, network size does not depend on variable costs. In reality, however, we have an uneven distribution of all costs and work capacities. Nevertheless, the idealized model can still yield rules of thumb that are useful in protocol design.
An explicit form for is not possible, but we can calculate it for different values of . For , we have
as demonstrated by Thum2.
For , the explicit forms would take too much space. For brevity’s sake, we can approximate by
given . The closer to zero, the better the approximation.
We also have
which shows that for , the network grows without bounds and render the network currency worthless by inflating it indefinitely. Therefore there is no equilibrium.
For , rewards and number of nodes decrease with increasing . Finally, we have
given that transaction fees are negligible.
Number of nodes versus , on a log scale. The
straight lines were
solved for numerically, and corresponding approximations were overlaid with
markers, except for and .
For , a x change in underlying factors will result in x change in network size. For , the change will be x.
Let . Then a x increase in price or rewards will result in a x increase in network size. Conversely, a x increase in fixed costs will result in x decrease in network size. If we let , a x change to the factors result in x change in network size, and so on.
References
-
Buterin V., Discouragement Attacks, 16.12.2018. ↩
-
Thum M., The Economic Cost of Bitcoin Mining, 2018. ↩