GMX Python SDK Grant Final Report

GMX Python SDK Grant Final Report

Per the final update, all milestones set out in the original proposal have been completed. Some demonstrations of the SDK in action can be found on vimeo.

Overview on what has been delivered:

  • Ability to read stats on chain, incl but not limited to open interest, funding rates, borrow rates, open positions.
  • Building and executing transactions to increase & decrease positions, swap assets, and deposit or withdraw from GM pools.
  • A packaged version of the repository available for installation through the Python Package Index (PyPi). This will allow users to build and install the gmx-python-sdk package and its required dependancies with little management on the user side.
  • Commenting, docstrings, and thorough commentary on how to effectively use the SDK.
  • Example Scripts have been provide to demonstrate usage of the basic aspects of the SDK, but also providing some more in depth usage such as identifying funding farming opportunities and executing these, to estimating swap outputs from given tokens and amounts.

Reflection

The process has been long but has allowed us to gain a deep insight into how the protocol operates. The assistance from the contributors and grant committee members has been unparalleled and greatly appreciated throughout the process. Interacting with the community to gain feedback and test has been an important aspect, and has been especially useful in identifying bugs and improving ux/ui.

As of the time of writing we are assisting three protocols with the implementation/integration of the SDK within their products.

The aim of developing the SDK was to enable users and protocols to interact with the GMX ecosystem and design strategies to drive on-chain activity using python, which is now possible. The SDK will continue to be maintained and improved over time as more feedback is gathered from the community and the contributors.

The number of calls to the pypi package can be viewed here and show that since deployment on Sun 3rd March there have been over 300 calls to download.