Skip to content

v0.2.0-beta

Pre-release
Pre-release
Compare
Choose a tag to compare
@andrejrakic andrejrakic released this 24 Jun 20:24
5ad17d1

v0.2.0-beta Release

This release adds support for Chainlink Data Feeds to Chainlink Local.

Testing the release

To test this release install @chainlink-local using the following commands:

Foundry (git)

forge install smartcontractkit/chainlink-local@v0.2.0-beta

and then set remappings to: @chainlink/local/=lib/chainlink-local/ in either remappings.txt or foundry.toml file

Hardhat (npm)

npm install @chainlink/local@v0.2.0-beta

and then create the following contract and compile it:

pragma solidity ^0.8.0;

import {MockV3Aggregator} from "@chainlink/local/src/data-feeds/MockV3Aggregator.sol";

Remix IDE

pragma solidity ^0.8.0;

import {MockV3Aggregator} from "https://github.com/smartcontractkit/chainlink-local/blob/v0.2.0-beta/src/data-feeds/MockV3Aggregator.sol";