Search
Chainlink provides data feeds on the Solana network. Chainlink’s Solana deployment has no dependencies on external blockchain networks such as Ethereum. In Solana, storage and smart contract logic are separate. Programs store all the logic similar to an EVM (Ethereum) smart contract. The accounts store all the data. Compared to Solidity, the combination of an account and a program is equivalent to a smart contract on an EVM chain. State and logic are separate in Solana.
Solana programs are stateless, so you don't always need to deploy your program to the network to test it. You can deploy and test your programs on a Solana Test Validator. However, to use Chainlink products on Solana, you must deploy your contract on-chain to one of the supported Solana clusters.
Data Feeds are available on the Solana Devnet cluster.
Solana provides a Testnet cluster that runs newer Solana releases, but Chainlink Data Feeds are not available on this cluster.
See the Solana Feeds page for a full list of Chainlink data feeds that are available on Solana.
To learn when more Chainlink services become available, follow us on Twitter or sign up for our mailing list.
The examples in the Chainlink documentation use the following languages, tools, and frameworks:
When developing applications to use Chainlink products on Solana, always use a Mainnet release version of the Solana CLI that is equal to or greater than the version currently running on your target cluster. Use solana --version
and solana cluster-version
to check CLI and cluster versions:
solana --version
solana-cli 1.9.18 (src:5d0f2a9f; feat:1070292356)
solana cluster-version --url devnet
1.9.14
The examples in this documentation use Solana programs in Rust, but you can also write Solana programs in C. To learn more about the Solana programming model, see the Solana Documentation.
When you use Chainlink on Solana, you need a Solana wallet. The Chainlink documentation uses file system wallets and free Devnet SOL tokens to demonstrate examples.
If you have existing wallets that you want to use for the guides in the Chainlink documentation, find your wallet keypair and make it available in your development environment as a file. You can point Anchor and the Solana CLI to a specific keypair when you deploy or manage your Solana programs.
$ anchor build
⋮
$ anchor deploy --provider.wallet ~/.config/solana/id.json --provider.cluster devnet
⋮
$ solana program show --programs --keypair ~/.config/solana/id.json --url devnet
Program Id | Slot | Authority | Balance
6U4suTp55kiJRKqV7HGAQvFgcLaStLnUA4myg5DRqsKw | 109609728 | E6gKKToCJPgf4zEL1GRLL6T99g2WcfAzJAMvtma1KijT | 2.57751768 SOL
Always follow the security best practices in the Solana Wallet Guide for managing your wallets and keypairs.