Bancor3 Simulator is an open-source python package developed by the Bancor Research Team. It’s meant to assist designing, testing, and validating Bancor v3 behavior.
Project description
Bancor Protocol Contracts v3.0 (Dawn Release)
Overview
Bancor is a decentralized trading and yield protocol. Its network of on-chain automated market makers (AMMs) supports instant token-to-token trades, as well as single-sided liquidity provision, auto-compounding staking rewards and 100% impermanent loss protection for any listed asset.
The Dawn release includes the following features:
- Token to token trades
- Instant IL protection
- Single-sided Liquidity Provision
- Omnipool
- Infinity Pools
- Auto-compounding Rewards
- Dual Rewards
- Third Party IL Protection
- Composable Pool Tokens
- Tokenomics Redesign
- Flash Loans
Bancor3 Simulation is a library built for designing, testing, validating, and optimizing Bancor v3 tokenomics and performance.
Project setup
If you don't already have one, create a virtualenv using these instructions
Install
Bancor3 Simulation is available for Python 3.6+
To install using pypi, run this command:
$ pip install bancor3-simulation
Bancor v3 Simulation Documentation
In addition to the codebase, this repository holds the Jupyter Book source for Bancor v3 Simulation: A hands-on demo of features described in BIP15: Proposing Bancor 3.
To make a change to the jupyter book and update:
-
Get your copy of this repository:
git clone https://github.com/bancorprotocol/simulator-v3
Build and preview the jupyter-book text locally
To build locally, pip install -r requirements.txt
and then jupyter-book build .
Follow the build instructions on the Jupyter Book guide. The guide has information for how to use the Jupyter Book CLI to build this book. You can find the Jupyter Book build instructions here.
Build and preview the text locally
To build locally, pip install -r requirements.txt and then jupyter-book build .
Follow the build instructions on the Jupyter Book guide. The guide has information for how to use the Jupyter Book CLI to build this book. You can find the Jupyter Book build instructions here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file bancor3_simulator-1.0.1.tar.gz
.
File metadata
- Download URL: bancor3_simulator-1.0.1.tar.gz
- Upload date:
- Size: 56.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.2 keyring/21.8.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b90426c730a05e3bdaeff478767af8f32c2108c4b7ce86d66791fb19f92e063 |
|
MD5 | cec955f47a56b92e0df77d4e858abcb1 |
|
BLAKE2b-256 | 8cd12a1fa510309d90c4937b3b31d1277cd546c77dcf9a2793dbb7f2402e2512 |