Skip to main content
Before you start, make sure you have the network and contract addresses configured. See Addresses for details.

Quick Example: Read Token Info

Quick Example: Buy a Token

Always set a proper minTokensOut for slippage protection. Using 0 means no slippage protection and is only safe for testing.

Next Steps

Contract Overview

Understand the contract architecture

Buy & Sell

Learn how to trade tokens with slippage protection

Price Calculation

Understand the bonding curve math

ABI Reference

Full contract ABI reference