Solana Chain Interactions

SolanaClient is the TypeScript SDK's interface for Solana chain interactions from CRE workflows. Writes submit cryptographically signed reports through the Keystone Forwarder program, which verifies DON signatures and CPIs into your receiver program.

How it works

For Solana program interactions, CRE can generate typed bindings from your program's Anchor IDL. You place the IDL in your project, run cre generate-bindings solana, and the CLI creates TypeScript classes with helpers such as writeReportFrom<StructName>() that handle encoding, account hashing, and report submission for you.

Typical flow:

  1. Add your Anchor IDL under contracts/solana/src/idl/
  2. Run cre generate-bindings solana from your project root
  3. Call the generated helpers from your workflow

Guides

Get the latest Chainlink content straight to your inbox.