pNetwork v4 - Plug & Proof, represents a transformative shift in the pNetwork architecture, evolving into a generic fully decentralized proving tool designed for broad cross-chain use cases and message passing.
pTokens in pNetwork v4 are revolutionised: native token issuers now have control of their pTokens on any host chain supported by pNetwork. This shift is designed to eliminate any dependencies or lock-in effects traditionally associated with bridges, handing over ownership and operational control from pNetwork to the protocol/project behind the native token. This significant evolution marks a pivotal shift for pNetwork from a canonical bridge to a bridge enabler, greatly increasing its services' flexibility and users' autonomy.
Furthermore, this new standard aims to reduce liquidity fragmentation by improving pToken fungibility, as each whitelisted bridge will mint/burn a single version of the wrapped pToken.
Projects have the flexibility to operate pNetwork v4 either as a standalone service or in conjunction with other bridges and validators. This open and modular approach enhances security configurations that each pNetwork partner can model based on their needs and preferences.
- Decentralised verification: Uses one or more verifiers (pNetwork node operators) to ensure the integrity and validity of data across different blockchain networks, in a fully decentralized way.
- Delegated Ownership and Control: Implements new token standards (such as xERC20) that allow token issuers to own and manage their pTokens on each host chain, increasing control and eliminating lock-in effects.
- Modular Design: pNetwork v4 offers the ability to operate as a standalone service or alongside other bridges and validators, providing projects with adaptable security and modular configuration based on their needs.
- Global pTokens: Ensures that users receive the same pToken when bridging across chains, maintaining a seamless and reliable user experience.
- Delegated Gas Costs: Users are now responsible for executing transactions in the destination chain, giving them more control over their transactions and ensuring transparency in gas cost management.
This morepo holds all the on-chain code needed for the protocol to work. In particular there are three folder of relevance:
- solidity: keeps all the EVM contract code, relative tests and deployment scripts
- cpp: keeps all the AntelopeIO contract code, relative tests and deployment scripts
- javascript: common javascript code and utilities used throughout the project
- javascript/event-attestator: a 1:1 JS implementation of the Event Attestator code, useful for testing and generating signatures
Before inspecting each chain's protocol implementation, please have a look at the contracts specification in order to fully grasp each component's purpose and behaviour.
pNetwork v4 aims to extend support across all chains currently compatible with pNetwork, with the potential to expand to additional networks. Given the extensive changes and the adoption of innovative approaches in v4, integration might initially be challenging for some long-tail or technically distinct chains, particularly where core components such as the xERC20 standard are missing.
The first release of pNetwork v4 will primarily support EVM based chains, ensuring robust and efficient implementation. The main chains to be included are:
- Ethereum
- BNB chain
- Gnosis
- Polygon
- AntelopeIO (Code under
BSL
licence)