# \[PASSED\] CO-PIP 3: Release Express Relay on Mainnet

**URL:** <https://forum.pyth.network/t/passed-co-pip-3-release-express-relay-on-mainnet/1638>\
**Category:** Proposals\
**Tags:** constitutional-pip\
**Created:** [June 27, 2024, 10:58am UTC](https://forum.pyth.network/t/passed-co-pip-3-release-express-relay-on-mainnet/1638 "2024-06-27T10:58:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zenyas](https://avatars.discourse-cdn.com/v4/letter/z/6a8cbe/32.png) [@zenyas](https://forum.pyth.network/u/zenyas)\
**Post date:** [June 27, 2024, 10:58am UTC](https://forum.pyth.network/t/passed-co-pip-3-release-express-relay-on-mainnet/1638/1 "2024-06-27T10:58:09Z")

</div>

## Abstract

On the back of the positive feedback received from the community on the prototype deployed on testnet ([here](https://forum.pyth.network/t/express-relay-prototype/569)) and the completion of the security audit, this proposal is to implement the first instance of the Express Relay in production.

To vote on this proposal, please proceed below:

> **[Realms](https://app.realms.today/dao/PYTH/proposal/FCL7LsNooG5y5xPSJAmgTh5jTRQVPnZieoJRzgmkfKRz)**

## Rationale

- DeFi protocols and DeFi users will benefit from the Express Relay primitive to reduce value leaking to block builders
- Liquidation Searchers will benefit from broadening their access to liquidation opportunities
- Pyth DAO will benefit from helping DeFi grow through additional revenue. Such revenue can be used to further Pyth ecosystem

## **Description**

Express Relay consists of on-chain smart contracts and a off-chain user driven auction system infrastructure. DeFi protocols expose liquidation opportunities to Express Relay, and Searchers compete over the opportunity to liquidate through an auction system running off-chain. Liquidations are resolved in one-transaction within the same block.

- this first instance will be on EVM chains (details in the implementation plan), with further deployments delegated to the Pythian Council, based on demand
- the selection of ecosystem projects to provide a reliable infrastructure for the off-chain system and monitor their performance is delegated to the Pythian Council
- Express Relay in production will continue to be oracle agnostic. Searchers and Protocols can use separate oracles to measure health factors and price the liquidation opportunities
- Pyth DAO to earn 26% of the revenue collected by the Express Relay protocol. Such revenue is defined as the bonus paid by the winning Searcher for each of the liquidations processed through Express Relay. 4% is allocated to infrastructure providers and 70% is allocated to the DeFi protocols using Express Relay, inline with the design goal for DeFi to recoup most of the value

## **Implementation Plan**

1. DAO constitution changes to add Express Relay: [link](https://github.com/pyth-network/governance/blob/pip-er/docs/constitution/pyth-dao-constitution.md)
2. Security Audit report: [link](https://github.com/pyth-network/per/blob/main/audit-reports/pyth_per_audit_final.pdf)
3. Technical deployment:
  - Deploy contracts on mainnet with Pyth DAO as the sole admin of the express relay contract
  - Set the relayer via DAO proposal in the contract once the server is live on mainnet accepting new liquidation opportunities and conducting auctions
  - Conduct final tests with mainnet assets in small quantities to double check searchers and the relayer correct integration
  - Protocols upgrade to use express relay as their main entry point for their liquidations

---

<div class="post-metadata">

**Author:** ![TheDetective](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.pyth.network/thedetective/32/149_2.png) [@TheDetective](https://forum.pyth.network/u/TheDetective)\
**Post date:** [June 27, 2024, 5:03pm UTC](https://forum.pyth.network/t/passed-co-pip-3-release-express-relay-on-mainnet/1638/2 "2024-06-27T17:03:00Z")

</div>

Lets see what happens with this one…

Not the most technical person over here but as far as I understand it looks like a thing that might affect pyth for the good

---

<div class="post-metadata">

**Author:** ![zenyas](https://avatars.discourse-cdn.com/v4/letter/z/6a8cbe/32.png) [@zenyas](https://forum.pyth.network/u/zenyas)\
**Post date:** [July 1, 2024, 3:57pm UTC](https://forum.pyth.network/t/passed-co-pip-3-release-express-relay-on-mainnet/1638/3 "2024-07-01T15:57:28Z")

</div>

The proposal has passed with already 67.5% of the total staked tokens in favour.

Many thanks to all Pythians for their continued participation in the future of the Network

---

<div class="post-metadata">

**Author:** ![Pyth-DAO](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@Pyth-DAO](https://forum.pyth.network/u/Pyth-DAO)\
**Post date:** [July 2, 2024, 4:30pm UTC](https://forum.pyth.network/t/passed-co-pip-3-release-express-relay-on-mainnet/1638/4 "2024-07-02T16:30:50Z")

</div>


