Chainlink Contracts
Smart contract interfaces and implementations for Chainlink oracle integration on EVM networks.
Crypto and web3 npm BUSL-1.1
Used in agent projects
22
0.2% of 12,697 public repos built with AI coding agents
Rank in crypto and web3
#77 of 89
by use in those projects
Downloads
46.2K
npm, last 7 days, @chainlink/contracts
GitHub stars
84
last push Oct 9, 2026
How Chainlink Contracts is used
Chainlink Contracts is a dependency in 22 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #77 of 89 in crypto and web3. The most used alternative there is Solana Web3.js. Projects that use it most often also use OpenZeppelin Contracts (77.3%), Hardhat (77.3%), ethers.js (72.7%).
Often used with Chainlink Contracts
| OpenZeppelin Contracts | 77.3% of Chainlink Contracts projects · 59.1× more than average |
|---|---|
| Hardhat | 77.3% of Chainlink Contracts projects · 44.0× more than average |
| ethers.js | 72.7% of Chainlink Contracts projects · 16.1× more than average |
| viem | 72.7% of Chainlink Contracts projects · 5.9× more than average |
| Hardhat Toolbox | 54.5% of Chainlink Contracts projects · 76.1× more than average |
| solidity-coverage | 54.5% of Chainlink Contracts projects · 168.9× more than average |
| Hardhat Network Helpers | 50.0% of Chainlink Contracts projects · 138.0× more than average |
| @typechain/hardhat | 50.0% of Chainlink Contracts projects · 176.3× more than average |
Install
| Package | npm install @chainlink/contracts |
|---|---|
| Main stacks | TypeScript / JavaScript (13), Next.js (8), Python (1) |
Alternatives to Chainlink Contracts
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Solana Web3.js npm Official JavaScript SDK for interacting with the Solana blockchain. |
2,099 (16.5%) | 2.6M | 2,767 | MIT |
| viem npm TypeScript interface for Ethereum with type-safe interactions. |
1,566 (12.3%) | 6.5M | 3,577 | MIT |
| Solana SPL Token npm JavaScript API for interacting with Solana's SPL Token program. |
924 (7.3%) | 1.2M | 223 | Apache-2.0 |
| wagmi npm React hooks library for Ethereum interactions and wallet connections. |
650 (5.1%) | 1M | 6,759 | MIT |
| ethers.js npm Complete Ethereum library for building dapps, wallets and blockchain tools. |
574 (4.5%) | 3.6M | 8,710 | MIT |
| Solana Wallet Adapter npm React hooks and UI for connecting Solana wallets to dapps with state management. |
547 (4.3%) | 1M | 2,030 | Apache-2.0 |
| Anchor npm Framework for developing Solana smart contracts with TypeScript and Rust. |
438 (3.4%) | 851K | 5,142 | (MIT OR Apache-2.0) |
| solders pypi Python bindings for Solana Rust tools enabling efficient blockchain interaction. |
423 (3.3%) | 388K | 449 | — |