Practical overview
When it fits
Use the repository when developing or testing Curve pool contracts, or when preparing a new pool with its supplied templates and deployment workflow.
Who it is for
- Developers creating or adapting Curve exchange pool contracts.
- Contributors testing existing pool contracts or templates.
- Teams preparing a documented Brownie-based pool deployment workflow.
Documented uses
- Start a new pool contract from a supplied template.
- Run common and pool-specific contract tests.
- Prepare pool data and deployment configuration, then follow the documented forked-mainnet and mainnet deployment stages.
Requirements & limits
The repository is public and identified as open source. The README lists Python 3.6–3.8, python3-dev, Brownie, Ganache CLI and brownie-token-tester as development prerequisites.
- The repository is a smart-contract development resource; the Curve exchange itself is a separate service.
- New pools require pool-specific data and deployment-script configuration before deployment.
- Brownie handles installation of the required Vyper versions, according to the README.
- The documented deployment workflow tests against a forked mainnet before the mainnet deployment stage.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Set up the Curve Contract development repository
Prepare the documented Python environment and install the repository’s developer dependencies.
Before you start
- Python 3.6–3.8 and python3-dev
- Brownie, Ganache CLI and brownie-token-tester
- A Python virtual environment
Steps
Create and initialize a Python virtual environment.
Clone the curve-contract repository and change into its directory.
Install developer dependencies with pip install -r requirements.txt.
Expected outcome
The repository and its listed developer dependencies are set up for the next development stage.
Guide limitations
- This guide covers setup only; it does not run tests or deploy a pool.
- The README lists Brownie 1.13.2, Ganache CLI 6.12.1 and brownie-token-tester 0.1.0 as tested versions.
Run the documented pool test suite
Use Brownie to run shared and pool-specific tests for Curve contracts.
Before you start
- The repository and developer dependencies set up
- Brownie available in the development environment
- A pool directory under contracts/pools or a template under contracts/pool-templates
Steps
Run brownie test to run the complete test suite.
For one pool, run brownie test tests/ --pool .
For a template, use its directory name prefixed with template-, such as template-base.
Expected outcome
Brownie runs the full suite or the selected pool/template tests; the optional --coverage flag requests a coverage report.
Guide limitations
- The guide reports the documented commands, not the result of executing them.
- Valid pool and template names depend on the repository subdirectory names.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 16 October 2026
- Original website title
- curvefi/curve-contract · Official homepage title · retained in its source language

