How to Integrate PT and LP Oracle
Integrating PT and LP oracles into your system can be accomplished in the following steps. This document provides detailed instructions along with runnable examples.
If you need personalized assistance, don't hesitate to contact us via our Developers channel on Pendle Discord.
Prerequisite
Understand SY, PT, LP
- Read High Level Architecture and StandardizedYield docs to understand the Pendle system.
- Refer to the examples in the following repository for further understanding:
Follow security advisories
As Pendle becomes more permissionless, certain security assumptions of SY will change in the future, and the Pendle team will verify for all teams currently integrating the LP Oracle that their integration meets the new security assumptions of SY. Please reach out to us on Pendle Discord if you have any questions.
Choose a Market
In this documentation and the code example, EtherFi's weETH market on Arbitrum, which has 70M USD liquidity at block 192 001 277, is chosen.
We recommend choosing a market with high trading activities & deep liquidity. For a detailed guide on assessing the risk, depth of liquidity & twap duration, refer to the corresponding risk assessment docs.