Skip to main content

Synthetix protocol SDK

Project description

GitHub pypi Discord Twitter Follow

Synthetix Python SDK

This is a Python SDK designed to help you interact with Synthetix smart contracts and subgraphs. Visit the documentation for more information.

Features

  • Interfaces for all Synthetix V3 contracts
  • Simple tools for trading Synthetix perps
  • Interfaces for synth swapping and wrapping
  • Inferfaces for managing LP positions
  • Seamless integration with Cannon for fetching deployments from IPFS

Installation

To get started, install the synthetix library in your Python environment:

pip install synthetix

Documentation

There are a few guides to help you get started:

For complete documentation, visit our documentation site.

Development

If you are interested in contributing to the library's development, you can clone the repository and set up the dependencies for editable mode:

python3 -m venv env
source env/bin/activate

pip install --upgrade pip
pip install -r requirements.txt
pip install -e ./src

Using this method, you'll have the package installed in an 'editable mode'. This means you can easily modify the code and test your changes without the hassle of reinstalling the package every time.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

synthetix-0.1.21.tar.gz (213.1 kB view hashes)

Uploaded Source

Built Distribution

synthetix-0.1.21-py3-none-any.whl (263.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page