# \[PASSED\] OP-PIP-54: Upgrade the Pyth Express Relay program on Solana

**URL:** <https://forum.pyth.network/t/passed-op-pip-54-upgrade-the-pyth-express-relay-program-on-solana/1977>\
**Category:** Proposals\
**Tags:** operational-pip\
**Created:** [March 4, 2025, 1:45pm UTC](https://forum.pyth.network/t/passed-op-pip-54-upgrade-the-pyth-express-relay-program-on-solana/1977 "2025-03-04T13:45:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![guibescos](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.pyth.network/guibescos/32/24_2.png) [@guibescos](https://forum.pyth.network/u/guibescos)\
**Post date:** [March 4, 2025, 1:45pm UTC](https://forum.pyth.network/t/passed-op-pip-54-upgrade-the-pyth-express-relay-program-on-solana/1977/1 "2025-03-04T13:45:23Z")

</div>

**Abstract**  
Following the deployment of Pyth Express Relay on Solana ([OP-PIP38](https://forum.pyth.network/t/passed-op-pip-38-deploy-express-relay-on-solana-mainnet/1823/4)), this proposal aims to upgrade the Pyth Express Relay Program to support direct swaps with the searchers.

**Rationale**

Pyth Express Relay auction mechanism released in [OP-PIP38](https://forum.pyth.network/t/passed-op-pip-38-deploy-express-relay-on-solana-mainnet/1823/4) has been successfully integrated by Kamino to build [Limit Orders](https://swap.kamino.finance/) . In the current model, searchers bid for the right of fulfilling orders in the Kamino Limit Order program, leveraging Pyth Express Relay’s off-chain auction. A portion of the searcher bids (currently 47%) is retained by the DAO.

This integration is attracting volume (100M since early December) and producing revenue for the DAO ([130 SOL](https://solscan.io/account/69ib85nGQS2Hzr4tQ8twbkGh76gKFUfWJFeJfQ37R3hW)).

Given this success, we are proposing to extend Pyth Express Relay on Solana to allow transacting directly with the searchers. This effectively implements market orders and will allow Pyth Express Relay to tap into the 500M+ daily volume of swaps on Solana.

**Description**  
This change will enable creating a quote API for Pyth Express Relay, similar to the API of swap aggregators. Integrators will be able to call it from their frontend to route users’ swap orders to the searchers.

The off-chain auction is preserved and the searcher that provides the best price will receive the order-flow.

Swaps will be subject to two fees, payable in the user provided token or the searcher provided token:

- A referral fee, set by the integrator
- A platform fee, set by the DAO. The platform fee is redistributed to:
  - The relayer (currently 6%)
  - The DAO (currently 94%)

The platform and the platform fee split are set by the DAO. We suggest initially setting the platform fee to 0bps.

**Implementation Plan**

- Proposal id: [DU8N4MCUxjDSbiuy7NejrzeyvgB1fw82WjNae1nnMCKW](https://proposals.pyth.network/?tab=proposals&proposal=DU8N4MCUxjDSbiuy7NejrzeyvgB1fw82WjNae1nnMCKW)

- Extend the [Pyth Express Relay Program](https://solscan.io/account/PytERJFhAKuNNuaiXkApLfWzwNwSNDACpigT3LwQfou) with a `swap` instruction:

- [Security audit](https://github.com/pyth-network/per/blob/main/audit-reports/svm_audit_swap.pdf)

- Verification steps (Skip to step 12 if you don’t want to build the program locally):

---

<div class="post-metadata">

**Author:** ![Derrp](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.pyth.network/derrp/32/670_2.png) [@Derrp](https://forum.pyth.network/u/Derrp)\
**Post date:** [March 5, 2025, 1:36am UTC](https://forum.pyth.network/t/passed-op-pip-54-upgrade-the-pyth-express-relay-program-on-solana/1977/2 "2025-03-05T01:36:09Z")

</div>

Extremely Bullish.

Update: 157 SOL and counting ⬆

> [@guibescos](#):
>
> producing revenue for the DAO ([130 SOL](https://solscan.io/account/69ib85nGQS2Hzr4tQ8twbkGh76gKFUfWJFeJfQ37R3hW)).

👀

> [@guibescos](#):
>
> allow Pyth Express Relay to tap into the 500M+ daily volume of swaps on Solana.

As a frequent user: Limit Orders on Solana using Express Relay have been flawless. Implementing Market Orders will appeal to a much greater audience: substantially increasing demand for Pyth Network services.

Regardless of the potential for DAO revenue (which everyone cares about), this is also increasing fairness and competition, protecting the end user performing the swap.

Extremely Bullish

---

<div class="post-metadata">

**Author:** ![lowkeigh](https://avatars.discourse-cdn.com/v4/letter/l/ee7513/32.png) [@lowkeigh](https://forum.pyth.network/u/lowkeigh)\
**Post date:** [March 5, 2025, 10:27am UTC](https://forum.pyth.network/t/passed-op-pip-54-upgrade-the-pyth-express-relay-program-on-solana/1977/3 "2025-03-05T10:27:53Z")

</div>

Absolutely we should, the more options people have to make use of Express Relay the better. This will massively boost use of Pyth and further shine the spotlight on what else Pyth can bring to the table.

---

<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:** [March 14, 2025, 7:38am UTC](https://forum.pyth.network/t/passed-op-pip-54-upgrade-the-pyth-express-relay-program-on-solana/1977/4 "2025-03-14T07:38:12Z")

</div>


