Add Pendle Fixed Yield deposit examples for Python and TypeScript#91
Merged
ElisabethDuijnstee merged 1 commit intomainfrom Jan 12, 2026
Merged
Conversation
This PR adds comprehensive code examples demonstrating how to deposit into Pendle Principal Token (PT) fixed yield positions using the Compass API v2 earn_manage endpoint. Features: - Python example with compass-api-sdk 2.0.31+ - TypeScript example with @compass-labs/api-sdk 2.1.35+ - Both examples use Base chain with active USDC market - Complete READMEs with setup instructions and market expiry guidance - Environment variable templates (.env.example files) - Updated .gitignore to exclude Python build artifacts Examples tested and working: - Python TX: 502b89b63cb09c7c0975801cfdb416904ff5c495bf7f2e4537258c3dc6861e1a - TypeScript TX: 0x930791a0babe85fc00d45dfc8635ac5e6ed13b14c3a4895ef0ee0a7debdbc71d Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
ElisabethDuijnstee
approved these changes
Jan 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds comprehensive code examples demonstrating how to deposit into Pendle Principal Token (PT) fixed yield positions using the Compass API v2 earn_manage endpoint.
Features:
Examples tested and working: