Manifest IDL
MNFSTqtC93rEfYHB6hF82sKdZpUDFWkViLByLd1k1MsManifest is a hyper-efficient, fully on-chain order book exchange on Solana by CKS Systems. Features seat-based trading access, batch order updates, Swap/SwapV2, and a global order system for cross-market capital efficiency.
Instructions
Account Types
Events
Integration Examples
Use the Manifest 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 Manifest IDL
import idl from "./manifest.json";
const PROGRAM_ID = new PublicKey("MNFSTqtC93rEfYHB6hF82sKdZpUDFWkViLByLd1k1Ms");
// 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.manifest
.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
{
"version": "1.0.0",
"name": "manifest",
"instructions": [
{
"name": "CreateMarket",
"accounts": [
{
"name": "payer",
"isMut": true,
"isSigner": true,
"docs": [
"Payer"
]
},
{
"name": "market",
"isMut": true,
"isSigner": false,
"docs": [
"Account holding all market state"
]
},
{
"name": "systemProgram",
"isMut": false,
"isSigner": false,
"docs": [
"System program"
]
...Frequently Asked Questions
What is the Manifest IDL?
The Manifest IDL (Interface Definition Language) is a JSON schema that defines the on-chain program interface for the Manifest smart contract on Solana. It describes all available instructions, account structures, events, and custom types that developers need to interact with the Manifest program. This IDL contains 15 instructions, 18 account types, 15 events, and 17 type definitions.
How do I use the Manifest 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 Manifest program address on Solana?
The Manifest program is deployed at address MNFSTqtC93rEfYHB6hF82sKdZpUDFWkViLByLd1k1Ms on Solana mainnet. You can verify this on any Solana block explorer.
What version of the Manifest IDL is this?
This is version 1.0.0 of the Manifest 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.