Quick Start Guides
Welcome to the Curvance Protocol developer guides. These quick start guides will help you integrate with Curvance's smart contracts using JavaScript and ethers.js 5.7. Whether you're building a frontend dApp, creating a trading bot, or integrating Curvance into your own protocol, these guides provide the core code snippets and explanations you need.
Overview
Curvance is a cross-chain money market protocol that enables users to deposit collateral, borrow assets, and participate in governance across multiple blockchains. The protocol features:
Isolated risk environments for different asset classes
Dynamic Liquidation Engine (DLE) for efficient risk management
Cross-chain compatibility via secure messaging protocols
Optimized gas usage through innovative design patterns
OEV (Optimal Extractable Value) capture through Atlas Fastlane auctions
Prerequisites
To follow these guides, you'll need:
Node.js environment
ethers.js v5.7 installed (npm install ethers@5.7.2)
Basic knowledge of JavaScript and Ethereum
A wallet with testnet or mainnet funds (depending on your target network)
Guide Contents
These quick start guides cover the following areas:
Atlas Fastlane Auctions: Learn how to participate in liquidation auctions through Curvance's MEV capture system.
Plugin Integration: Implement custom plugins and zappers to enable complex operations like multi-step positions, reward collection, and cross-protocol interactions.
Supply & Collateral: Deposit assets, post collateral, and manage positions using Curvance's pToken system.
Borrowing & Repayment: Borrow against your collateral, manage debt positions, and repay loans with the eToken system.
Leverage: Create leveraged positions efficiently using Curvance's native position folding and management tools.
Each guide includes complete code examples, transaction parameter explanations, and tips for error handling and gas optimization. Follow along with these guides to build powerful DeFi applications on top of the Curvance protocol. Let's get started with building on Curvance!
Last updated