Skip to content

The Open Source Hub for DeFi Options Protocols, Enabling Seamless Read and Write Actions Across Diverse Blockchain Platforms

Notifications You must be signed in to change notification settings

grixprotocol/defi-options-adapters

Repository files navigation

Grix Protocol Adapters

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.

Grix Protocol Integration Kit

This guide will help you integrate your DeFi options protocol with Grix, making it easy for Grix users to reach your protocol's options.

How Grix Works

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.

Quick Contribution Guide

  • 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

Please Note

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.

Protocols Integration Table

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

About

The Open Source Hub for DeFi Options Protocols, Enabling Seamless Read and Write Actions Across Diverse Blockchain Platforms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published