Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@chainlink/contracts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Chainlink Smart Contracts
Installation
# via Yarn
$ yarn add @chainlink/contracts
# via npm
$ npm install @chainlink/contracts --saveDirectory Structure
@chainlink/contracts
├── src # Solidity contracts
│ ├── v0.4
│ ├── v0.5
│ ├── v0.6
│ ├── v0.7
│ └── v0.8
└── abi # ABI json output
├── v0.4
├── v0.5
├── v0.6
├── v0.7
└── v0.8Usage
The solidity smart contracts themselves can be imported via the src directory of @chainlink/contracts:
import '@chainlink/contracts/src/v0.8/KeeperCompatibleInterface.sol';
Local Development
Note: Contracts in dev/ directories are under active development and are likely unaudited. Please refrain from using these in production applications.
# Clone Chainlink repository
$ git clone https://github.com/smartcontractkit/chainlink.git
# Continuing via Yarn
$ cd contracts/
$ yarn
$ yarn testContributing
Contributions are welcome! Please refer to Chainlink's contributing guidelines for detailed contribution information.
Thank you!