Chainlink Store v1 IDL

storev1.0.0Oracle / Data
Program Address
cjg3oHmg9uuPsP8D6g29NWvhySJkdYdAo9D25PRbKXJ
On-chain

Chainlink Store v1 is the on-chain data storage layer for Chainlink oracle feeds on Solana. Manages feed lifecycle (create/close/transfer), validator flagging, authorized data submission, and round-based price transmission history.

13
Instructions
2
Accounts
0
Events
3
Types

Instructions

createFeedcloseFeedtransferFeedOwnershipacceptFeedOwnershipsetValidatorConfigsetWriterlowerFlagsubmitinitializetransferStoreOwnershipacceptStoreOwnershipsetLoweringAccessController+1 more

Account Types

StoreTransmissions

Integration Examples

Use the Chainlink Store v1 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 Chainlink Store v1 IDL
import idl from "./chainlink store v1.json";

const PROGRAM_ID = new PublicKey("cjg3oHmg9uuPsP8D6g29NWvhySJkdYdAo9D25PRbKXJ");

// 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.chainlink_Store_v1
  .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

chainlink store v1.json
{
  "version": "1.0.0",
  "name": "store",
  "constants": [
    {
      "name": "HEADER_SIZE",
      "type": {
        "defined": "usize"
      },
      "value": "192"
    }
  ],
  "instructions": [
    {
      "name": "createFeed",
      "accounts": [
        {
          "name": "feed",
          "isMut": true,
          "isSigner": false
        },
        {
          "name": "authority",
          "isMut": false,
          "isSigner": true
        }
      ],
      "args": [
        {
          "name": "description",
...

Frequently Asked Questions

What is the Chainlink Store v1 IDL?

The Chainlink Store v1 IDL (Interface Definition Language) is a JSON schema that defines the on-chain program interface for the Chainlink Store v1 smart contract on Solana. It describes all available instructions, account structures, events, and custom types that developers need to interact with the Chainlink Store v1 program. This IDL contains 13 instructions, 2 account types, 0 events, and 3 type definitions.

How do I use the Chainlink Store v1 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 Chainlink Store v1 program address on Solana?

The Chainlink Store v1 program is deployed at address cjg3oHmg9uuPsP8D6g29NWvhySJkdYdAo9D25PRbKXJ on Solana mainnet. You can verify this on any Solana block explorer.

What version of the Chainlink Store v1 IDL is this?

This is version 1.0.0 of the Chainlink Store v1 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.