Welcome to the Grix Protocol Adapters repository! This project is designed to facilitate the integration of various DeFi options protocols with the Grix platform, enabling easy and smooth quoting of options premium prices.
This guide will help you integrate your DeFi options protocol with Grix, making it easy for Grix users to reach your protocol's options.
Fetching Expiry Dates: Grix retrieves all available expiry dates for options, ensuring you have the latest data. Listing Strike Prices by Expiry: For each expiry date, Grix lists all possible strike prices, giving you a comprehensive view of the market. Calculating Option Premiums: Grix calculates both long and short option premiums, providing accurate pricing information for your users.
- Fork the Repository: Start by forking the Grix Protocol Adapters Repository.
- Develop Your Adapter: Implement the necessary functions for expiry dates, strike prices, and premiums.
- Submit Your Work: Create a pull request with your adapter and documentation.
- Engage with the Community: Join discussions and contribute to the ongoing development.
- For detailed guidelines, please refer to our Contribution Guidelines.
For contribution example, see this PR by Thetanuts or this PR by Arrow Market
While we value consistency and maintainability, we also aim to be flexible to maximize community involvement. Our coding standards are a guide, not a strict rulebook. We're open to different styles and approaches, especially if they lead to innovative solutions.
Thank you for contributing to Grix! Your efforts help us build a robust, community-driven DeFi options framework.
Protocol Name | fetchExpiryDates | listStrikePricesByExpiry | getLongOptionPremium | getShortOptionPremium | buyOptionContract | addOptionToPosition | exerciseOptionContract | sellOptionBackToIssuer | transferOptionOwnership | getEstimatedClosedValue |
---|---|---|---|---|---|---|---|---|---|---|
Moby | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ⏳ | ✅ |
Premia | ✅ | ✅ | ✅ | ⏳ | ✅ | ✅ | ✅ | ✅ | ⏳ | ✅ |
Derive | ✅ | ✅ | ✅ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ |
Stryke | ✅ | ✅ | ✅ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ |
Aevo | ✅ | ✅ | ✅ | ✅ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ |
Zomma | ✅ | ✅ | ✅ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ |
Ithaca | ✅ | ✅ | ✅ | ✅ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ |
Thetanuts | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ |
Rysk Finance | ✅ | ✅ | ✅ | ⏳ | ✅ | ✅ | ⏳ | ⏳ | ⏳ | ⏳ |
Hegic | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ |
Gamma Swap | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ |
Siren | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ | ⏳ |