Skip to main content

StableSwap Analytics with Python

Project description

stableswappy

Python package for StableSwap V1 modelling

  • Currently in Beta (version 0.0.11) until fully tested and analyzed

Install

Must first install gmpy2 python package to handle the precision within the StableSwap protocol (requires CPython 3.7 or above). To install the latest release with pip:

> pip install gmpy2

Also, in many cases will need to have required libraries (GMP, MPFR and MPC) already installed on your system, see gmpy2 installation docs for more info. Once setup, to install the latest release of StableSwapPy with pip:

> git clone https://github.com/defipy-devs/stableswappy
> pip install .

or

> pip install StableSwapPy

Basic Composable Stable Pool Overview

  • See test notebook for example implementation
  • Python implementation of Composable Stable Pools 'broadly' consists of two main components

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

StableSwapPy-0.0.11.tar.gz (14.3 kB view details)

Uploaded Source

File details

Details for the file StableSwapPy-0.0.11.tar.gz.

File metadata

  • Download URL: StableSwapPy-0.0.11.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for StableSwapPy-0.0.11.tar.gz
Algorithm Hash digest
SHA256 11ca6676a84fcb83bb818f3496795f410d3e869d8560529cb3b5135983219618
MD5 b4b41f853f17dc766ae2d789d680e3ec
BLAKE2b-256 00a720bb9fc78d671d5c9698d42e2bf64ece262e6d4c5d3e1739f8fa5beba158

See more details on using hashes here.

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