@parity/hardhat-polkadot-resolc
v0.2.1
Published
Polkadot [Hardhat](https://hardhat.org/) plugin to compile Ethereum-compatible solidity smart contracts.
Maintainers
Keywords
Readme
hardhat-polkadot-resolc
Polkadot Hardhat plugin to compile Ethereum-compatible solidity smart contracts.
Compatibility
- Not compatible with solidity versions lower than
0.8.0.
Installation
Using npm:
$ npm install -D @parity/hardhat-polkadot-resolcUsing yarn:
$ yarn add -D @parity/hardhat-polkadot-resolcUsing pnpm:
$ pnpm add -D @parity/hardhat-polkadot-resolcConfiguration
- Import the package in the
hardhat.config.tsfile:
...
import "@parity/hardhat-polkadot-resolc";
...- Configure resolc in
hardhat.config.tsaccording to available options.
Usage
Compile solidity smart contracts for the Polkadot network, creating Polkadot compatible hardhat artifacts.
$ npx hardhat compile