Meteora Dynamic Bonding Curve IDL
dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqNMeteora Dynamic Bonding Curve enables fair token launches on Solana with customizable bonding curve parameters. Tokens graduate to liquidity pools when reaching configurable thresholds.
Instructions
Account Types
Events
Integration Examples
Use the Meteora Dynamic Bonding Curve IDL in your application with these code examples for TypeScript, Rust, and Python.
import { Connection, PublicKey } from "@solana/web3.js";
import { Program, AnchorProvider, Idl } from "@coral-xyz/anchor";
// Load the Meteora Dynamic Bonding Curve IDL
import idl from "./meteora dynamic bonding curve.json";
const PROGRAM_ID = new PublicKey("dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN");
// Set up the provider and program
const connection = new Connection("https://api.mainnet-beta.solana.com");
const provider = new AnchorProvider(connection, wallet, {
commitment: "confirmed",
});
const program = new Program(idl as Idl, provider);
// Fetch and decode an account
const accountData = await program.account.meteora_Dynamic_Bonding_Curve
.fetch(accountPublicKey);
console.log("Account data:", accountData);
// Build and send an instruction
const tx = await program.methods
.initialize(/* ...args */)
.accounts({
/* ...required accounts */
})
.rpc();
console.log("Transaction signature:", tx);IDL JSON Preview
{
"address": "dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN",
"metadata": {
"name": "dynamic_bonding_curve",
"version": "0.1.6",
"spec": "0.1.0",
"description": "Created with Anchor"
},
"instructions": [
{
"name": "claim_creator_trading_fee",
"discriminator": [
82,
220,
250,
189,
3,
85,
107,
45
],
"accounts": [
{
"name": "pool_authority",
"address": "FhVo3mqL8PW5pH5U2CN4XE33DokiyZnUwuGpH2hmHLuM"
},
{
"name": "pool",
"writable": true
},
...Frequently Asked Questions
What is the Meteora Dynamic Bonding Curve IDL?
The Meteora Dynamic Bonding Curve IDL (Interface Definition Language) is a JSON schema that defines the on-chain program interface for the Meteora Dynamic Bonding Curve smart contract on Solana. It describes all available instructions, account structures, events, and custom types that developers need to interact with the Meteora Dynamic Bonding Curve program. This IDL contains 25 instructions, 9 account types, 22 events, and 55 type definitions.
How do I use the Meteora Dynamic Bonding Curve IDL in my project?
Download the JSON file and import it in your project. With TypeScript, use the @coral-xyz/anchor package to create a Program instance. In Rust, use anchor-client. For Python, use anchorpy. See the integration examples above for complete code snippets in all three languages.
What is the Meteora Dynamic Bonding Curve program address on Solana?
The Meteora Dynamic Bonding Curve program is deployed at address dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN on Solana mainnet. You can verify this on any Solana block explorer.
What version of the Meteora Dynamic Bonding Curve IDL is this?
This is version 0.1.6 of the Meteora Dynamic Bonding Curve IDL. IDL versions correspond to specific program deployments and may be updated as the protocol evolves. Always verify compatibility with the on-chain program version before integrating.