{"repo":"curvefi/curve-contract","free":true,"listed":false,"github":"https://github.com/curvefi/curve-contract","clone":"git clone https://github.com/curvefi/curve-contract.git","description":"Vyper contracts used in Curve.fi exchange pools.","language":"Python","stars":1109,"topics":["ethereum","vyper","defi"],"license":null,"category":"blockchain-web3","readme_excerpt":"curve-contract Vyper contracts used in Curve exchange pools. Overview Curve is an exchange liquidity pool on Ethereum designed for extremely efficient stablecoin trading and low risk, supplemental fee income for liquidity providers, without an opportunity cost. Curve allows users to trade between correlated cryptocurrencies with a bespoke low slippage, low fee algorithm. The liquidity pool is also supplied to lending protocol where it generates additional income for liquidity providers. Testing and Development Dependencies python3 from version 3.6 to 3.8, python3-dev brownie - tested with version 1.13.2 ganache-cli - tested with version 6.12.1 brownie-token-tester - tested with version 0.1.0 Curve contracts are compiled using Vyper, however installation of the required Vyper versions is handled by Brownie. Setup To get started, first create and initialize a Python virtual environment. Next, clone the repo and install the developer dependencies: Organization and Workflow New Curve pools are built from the contract templates at contracts/pool-templates Once deployed, the contracts for a pool are added to contracts/pools See the documentation within contracts and it's subdirectories for more detailed information on how to get started developing on Curve. Running the Tests The test suite contains common tests for all Curve pools, as well as unique per-pool tests. To run the entire suite: To run tests on a specific pool: Valid pool names are the names of the subdirectories within ","default_branch":null,"files":null,"tree":[],"storefront":"/r/curvefi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/curvefi/curve-contract/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}