This is an extremely exciting proposal.
Express Relay would be a revolution for DeFi liquidations - redistributing value back to protocols and providing fuel to supercharge the entire DeFi ecosystem!
This is an extremely exciting proposal.
Express Relay would be a revolution for DeFi liquidations - redistributing value back to protocols and providing fuel to supercharge the entire DeFi ecosystem!
Hey, tumilet here from Spartan. Really excited about Pythâs OEV solution!
For context, we have been looking at OEV for a while and for anyone that wants an ELI5 explanation we wrote a post with the @decentralisedco guys a few months ago, for anyone interested reach out! (it doesnât allow me to share links here).
In regards to Express Relay, I was wondering:
Has Douro Labs done work on market sizing the OEV opportunity (from our internal calculations 90%-ish appears to come from Aave and Comp, which are protocols that are very risk-aware and difficult to see changing from Chainlink as a price feed provider in order to integrate a new OEV solution)?
Does the Express Relay Prototype work only for lending and borrowing protocols, or also for perps integrations, if so whatâs the opportunity there?
Would be interesting to know what 8 DeFi protocols have expressed interest?
Will Express Relay charge a service fee as a % of the OEV that gets recaptured, or what is the monetization opportunity for the PYTH DAO?
Thanks, and look forward for the discussion!
Congrats on this prototype!
I had several questions looking at this design.
In your picture it seems that searchers are just interacting with this express relay and not the chain itself anymore (as there is no arrow going from them to the chain).
This brings several questions up:
Thanks in advance!
This is Stanley from Caladan (caladan.xyz), weâre a VC and MM from Singapore. Weâre active on DeFi and are keen to support new innovations and solutions in the space.
Our team has been actively participating in the active relay testnet on op-sepolia, and everything is working smoothly so far.
Caladan is in huge support of this solution, as we greatly welcome tools that align protocol incentives and cut out the value leakage to miners. Auctioning off liquidation rights to searchers is a terrific way to retain more value for protocols and their users. In particular, preventing sandwich attacks and resolving liquidations in a single transaction within the same block is potentially a game-changer, especially given how so much value extraction comes from block miners on Solana.
Looking forward to seeing more community feedback and we look forward to the mainnet launch once the prototype is approved!
Really looking forward to this feature, congrats on this prototype! and totally support this proposal.
These are good questions. Sharing my thoughts below:
A key design goal of Express Relay is that it is oracle-agnostic, so integration with Express Relay is possible across all apps (those that use different oracles, those that donât use any oracle at all). Much of the market size in terms of TVL is concentrated in a few big protocols, but that doesnât cleanly translate to liquidatable position size or liquidation volume. Aiming for the big protocols would be great of course, but 1) itâs also good to get integrations with some of the fast-growing protocols, many of which I expect to continue growing due to their innovations in protocol design and UX (such as integrating with Express Relay); 2) the biggest protocols require a more proven track record to demonstrate that the integration is reliable, and I think Express Relay will achieve that after launch once itâs helping to recapture value on mainnet.
Express Relay is not lending-specific. It can also be used to auction ordering on transactions on perps protocols as well, for liquidations on perps but also potentially for other types of transactions (e.g. trading).
Protocols that have expressed interest and provided valuable feedback on the prototype include ZeroLend, Ionic, and Keom.
This seems like the most straightforward way to monetize for the DAO. If you or anyone else has any other suggestions, please do share.
Also good questions, here are my thoughts:
Indeed, searchers submit their transactions to the Express Relay server. The server hosts an auction that is designed to choose the subset of transactions that maximize the revenue that flows back to the protocol, and it then forwards those transactions on to an RPC node.
The âwonâ bids are forwarded by the Express Relay to RPC nodes for landing on chain. The Express Relay cannot alter the transactions but rather just forwards them on-chain.
There is a party referred to as the ârelayerâ (or âoperatorâ) that handles running the off-chain components of Express Relay (the auction, the off-chain server). The DAO could choose a community member to operate the relayer function.
There are ways to protect against Express Relay downtime. One way is to make the priority for Express Relay in performing liquidations on a protocol conditionalâthe protocol developer could make it prioritized with a time constraint (e.g. only for the first minute after a position becomes liquidatable) or with a collateralization/TLV ratio constraint (e.g. only when collateralization ratio is above 108%). Otherwise, the protocol could make liquidation permissionless, to protect against Express Relay downtime and prioritize protocol health. The protocol wonât get any of the revenue it could have gotten through Express Relay in that case, but thatâs totally up to the protocol to decide what constraints and fallbacks to set.
Very clear, thanks for the response! I agree on the go-to-market strategy of targeting the âlonger-tailâ of lending dapps which will probably keep capturing share away.
Look forward for mainnet launch!
This is so innovative. Sometimes I forget how deep some people like to go and what the real limits of projects are.
Fascinated to see how this plays out.
One would hope so!
I like experimenting with stuff, so it could be interesting to try this.
I find it better to use things to understand them anyway.
Anything to share about Ionic incentives for PYTH holders? Should we be watching closely somewhere? Twitter perhaps
Watch Ionic Twitter! We are definitely looking to expand our partnership with Pyth and are constantly looking for ways to benefit both communities!
Great Post! A couple of questions
Does the Relay Express host open, English auctions or private sealed bid auctions? May I know the reasoning behind the choice?
What happens if the liquidator who wins the auction does not use its right to execute the liquidation and causes a delay in the liquidation process? Will the oracle have to release its price into the public mempool to avoid further delays on the liquidation?
How long does an auction last?
Good questions.
So, in effect youâre saying that this completely centralized and itâs up to the protocol to implement it in a way where it isnât but risk âlosingâ all the benefits in the process?
Quite the opposite. The solution offers protocols a free option to earn rewards, and thereâs nothing forcing protocols to integrate. They can and should choose to introduce safety fallbacks, in order to prioritize safety in case of the system going down. They donât âlose benefitsâ; instead by integrating they realize only a net benefit over the status quo.
With regard to centralization, relayers handle the off-chain components of the stack for efficiency reasons. A relayer is appointed by the DAO and can be revoked if it performs poorly. Importantly, they cannot manufacture user transactions. The alternative of building out an auction on-chain or otherwise decentralizing the off-chain components of the stack are future considerations but right now are not the priorityâprotocols have put much more weight on value recapture as soon as possible relative to this element.
So the auction duration on Arbitrum for example, would be 250 seconds or so? and 12 seconds on Ethereum?
Are there any fall-backs in place if the Express Relay is down? or if there are any delays in the auction?
With regard to auction duration, the design goal has generally been the blocktime, yes.
With regard to fallbacks, see the earlier response: Express Relay Prototype - #28 by Apollo
Mainnet release is now up for vote: