0.1.4 • Published 5 months ago
@parity/hardhat-polkadot-resolc v0.1.4
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 PolkaVM compatible hardhat artifacts.
$ npx hardhat compile