OpenViSTAI · Agents · Blockchain · Crypto
Menu
DeFi

Curve Contract

Curve Contract is a public repository of Vyper smart contracts, templates, tests and deployment scripts for Curve exchange liquidity pools on Ethereum. Developers can use its pool templates as a starting point, run shared or pool-specific tests with Brownie, and follow the documented workflow for configuring and deploying a new pool.

Independent OpenViST project profile, based on linked sources.

Curve Contract — OpenViST project profile in DeFi.
OpenViST project illustration. See the linked sources for product details.
Understand the project

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.
Before you choose

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.

Source-based practical guide

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

  1. Create and initialize a Python virtual environment.

  2. Clone the curve-contract repository and change into its directory.

  3. 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.
Source-based practical guide

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

  1. Run brownie test to run the complete test suite.

  2. For one pool, run brownie test tests/ --pool .

  3. 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.
Evidence and transparency

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