@chainlink/contracts

1.1.0 • Public • Published

Chainlink Smart Contracts

Installation

# via pnpm
$ pnpm add @chainlink/contracts
# via npm
$ npm install @chainlink/contracts --save

Directory Structure

@chainlink/contracts
├── src # Solidity contracts
│   └── v0.8
└── abi # ABI json output
    └── v0.8

Usage

The solidity smart contracts themselves can be imported via the src directory of @chainlink/contracts:

import '@chainlink/contracts/src/v0.8/AutomationCompatibleInterface.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 pnpm
$ cd contracts/
$ pnpm
$ pnpm test

Contributing

Please try to adhere to Solidity Style Guide.

Contributions are welcome! Please refer to Chainlink's contributing guidelines for detailed contribution information.

Thank you!

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @chainlink/contracts

Weekly Downloads

34,440

Version

1.1.0

License

MIT

Unpacked Size

6.36 MB

Total Files

955

Last publish

Collaborators

  • notoriousenigma
  • secure.andrew
  • secure.javier
  • secure.ericz
  • secure.thanh
  • m4us