PegNet 2.0
Features & Changes Coming With This New Version of PegNet
TL;DR
Here is the final binaries for PegNet 2.0 installation for Mac, Windows, and Linux. Activation on Block Height 258,796 - ETA August 19th 2020
https://github.com/pegnet/pegnet/releases/tag/v2.0
https://github.com/pegnet/pegnetd/releases/tag/v2.0
Summary
Since its launch in August of 2019 the PegNet community has developed a unique set of core principles, which drive the development of the PegNet software and have led to amazing amounts of conversions inside the PegNet system. Over $2 Billion USD worth of pAssets have been converted at the time of this writing. At the same time, PegNet faces challenges as attackers test the limits of the decentralized oracles that power PegNet’s conversions. In addition liquidity between the PegNet and external exchanges remains low and this presents a barrier to PegNet’s broader adoption as users can enter but not easily exit value from the system.
In this paper I openly examine how a series of PegNet Improvement Proposals known as PIPs included in the next upgrade to the software will constitute a new economic model for building liquidity, make the oracles more robust, and how to align these changes with the core values that make PegNet special.
There are seven related articles that proved too long to include in this main PegNet 2.0 paper, follow these links to go in depth on each subject:
- The Core Values of PegNet
- Staking As An Arbitrage Function
- Defending PegNet Oracle Data
- Boot Strapping Liquidity In Pegnet
- Solving The Granularity Problem
- Easy Entry & Exit To The PegNet
- Risk Levels of pAssets on PegNet
- Developer Rewards on PegNet
Features of PegNet 1.0
Let’s start by examining the features of PegNet 1.0 and how they are proposed to change in PegNet 2.0
1. 5,000 PEG reward each block for miners submitting oracle price records.
2. Users make conversions based on these oracle price records (OPRs).
3. pAsset to pAsset conversions are unlimited.
4. PEG to pAsset conversions are unlimited.
5. pAsset to PEG conversions are limited to 5,000 PEG per block.
6. PEG & FCT as gateway tokens to convert into pAssets in PegNet.
7. 41 pAssets including top cryptos, fiats & Gold + Silver
Features of PegNet 2.0
New features bolded below.
Increasing PEG’s Supply Curve + Increasing Demand:
1. 5,000 PEG per block for current block miners.
2. 4,000 PEG per block (set aside) for past miners via PIP 14.
3. 4,500 PEG per block to pAsset holders as the arb reward via PIP 12
4. 4,500 PEG per block to PEG Stakers adding oracle prices via PIP 13.
5. 2,000 PEG per block to developers as directed by PEG Stakers PIP 16.
Increasing Liquidity + Closing Attack Vectors:
6. pAsset to pAsset conversions are unlimited.
7. PEG to pAsset conversions are unlimited.
8. Detect API errors & switch datasources of affected pAssets via PIP 15
9. Remove the 1% oracle price band for mining rewards attack vector.
10. PEG as the primary burning gateway to convert value into pAssets.
11. pUSD as the primary on ramp and off ramp for value in PegNet.
12. Increase to 62 pAssets on PegNet, 9 more cryptos & 3 more fiats
13. A pUSD to PEG exit path via exchange APIs to enable liquidity.
Visualizing The New Architecture
Major Effects of Changes
The PegNet improvement proposals outlined in PIP 12, 13, 14, & 15 above create a series of features that bring the community much closer to its vision, address key oracle attack vectors and methods to boot strap liquidity in the system.
Let’s unpack the 2 major effects of these changes to the PegNet.
Effect 1: Increasing PEG’s Supply Curve
In features 1, 2, 3, and 4 we see that the total number of PEG per block will be increasing from 10,000 to 20,000. This will move the annual supply curve of PegNet to a little over 1 Billion PEG rewarded per year to Miners + Stakers. One benefit here is to broaden the base of the PegNet users from just miners to users seeking Staking reward for hold pAssets or PEG tokens. Staking has proven a successful method of driving demand in projects and in the case of PegNet the Staking rewards are aligned with the two key needs of the system. That is one, rewarding arbitragers for buying cheap pAssets and Staking it. And two rewarding PEG Stakers who increase oracle security.
This is a major shift and one that will hopefully bring balance to the force. By rewarding 5,000 PEG per block to two new groups (pAsset holders and PEG Stakers), the users of the system are elevated to the same status of miners and equally participate with miners in the reward of new PEG tokens added to the total PEG supply. The overarching goal being to make holding pAssets & PEG more attractive to users & thus the drive the demand side of the equation.
Effect 2: Increasing Liquidity + Closing Attack Vectors
Features 5, 6, & 7 are all about conversions of PEG and pAssets. Unlimited conversions of pAssets to pAssets inside PegNet has been a very popular and driven a lot of usage of the protocol internally. However there has been limited liquidity between the PegNet and external exchanges. PegNet 2.0 paves the way for greater liquidity of the PEG token.
Regarding features 8, 9 & 10. There has been significant debate in the community since the first two drafts of this PegNet 2.0 proposal were written. The discussion has centered around the dangers of making pAsset to PEG conversions “unlimited” as detailed in this article about Solving The Bear Whale Problem. The general sentiment of this discussion is that the downsides / risks of having an unlimited conversion ability into PEG outweigh the benefits and there is an alternative method to bootstrapping the PegNet via pUSD.
Lastly on feature 20 more pAsset additions will bring the total to 62 pAssets.
Cryptos: HBAR, ALGO, NEO, CRO, ETC, ONT, DOGE, VET, HT, DGB
Fiat Currencies: ARS (Argentine Peso), AED (United Arab Emirate’s Dirham), TWD (New Taiwanese Dollar), UGX (The Ugandan Shilling), TZS (Tanzania Shilling), BIF (Burundi Franc), ETB (Ethiopian Birr), RWF (Rwandan franc), KES (Kenyan Shilling), NGN (Currency of Nigeria)
Each of these 2 major effects enormously strengthen the consensus around oracle prices in PegNet and their accuracy. All these improvement have been designed in a way that maintains the maximum decentralization of the PegNet protocol and respects the self sovereign actions of the individual users of PegNet.
Timeline & Phases for PegNet 2.0
Links for review by devs for the pull reviews under review. An activation height is expected to be picked the week of July 13th.
New pAssets: https://github.com/pegnet/pegnet/pull/359
PIP13: https://github.com/pegnet/pegnet/pull/362
OPR Microservice: https://documenter.getpostman.com/view/478114/Szzq3un4?version=latest#13fb2829-251d-495e-9f9a-2e35033d2ff5 https://github.com/pegnet/pegnet/pull/361
PIP — 15 — Remove price spikes and use trimmed mean. https://www.investopedia.com/terms/t/trimmed_mean.asp https://github.com/pegnet/pegnet/pull/360,
Plan for PIP 14: — Group 1: Miners — Group 2: Stakers — Group 3: “New Module” (this will be embedded to Pegnet software)
Once all coding and all testing of the various changes to PegNet is complete the exchanges, miners, and node operators will all be alerted that there is a new version of PegNet available. The community will select an activation height about 10 days in advance of the upgrade in order to give everyone running the software enough time update their systems.
Additionally there are more advanced versions of the PIPs (such as PIP 14) that would be nice to have but would be too time consuming to code and test for the initial release of PegNet 2.0 These will be phased in via future version 2.5 type upgrades. The hard fork release schedule will lead to a full number upgrade each spring and a .5 upgrade each fall. So in 2020 expect version 2.5 in Q3 / Q4. While in 2021 expect versions 3.0 and 3.5 to roll out.
Who Needs To Upgrade
Anyone running a node, a solo miner, or an exchange will need to update to the PegNet 2.0 software.
Importantly users of mining pools or users of non full node wallets, will NOT need to take any action to move to PegNet 2.0 as the mining pools and web wallets will update the software on their side automatically for the users.
Conclusion: A Community Call To Action
I encourage you to join the PegNet community discord.
There are a lot of areas for people with all backgrounds and skills to get involved funding feature development, testing code as it is released, and spreading the word about the value PegNet brings users.