@nahmii/hardhat-nvm
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

@nahmii/hardhat-nvm

A plugin that brings OVM compiler support to Hardhat projects.

Installation

yarn add --dev @nahmii/hardhat-nvm

Next, import the plugin inside your hardhat.config.js:

// hardhat.config.js

require("@nahmii/hardhat-nvm")

Or if using TypeScript:

// hardhat.config.ts

import "@nahmii/hardhat-nvm"

Configuration

By default, this plugin will use OVM compiler version 0.7.6. Configure this plugin by adding an ovm field to your Hardhat config:

// hardhat.config.js

require("@nahmii/hardhat-nvm")

module.exports = {
    ovm: {
        solcVersion: 'X.Y.Z' // Your version goes here.
    }
}

This package also has typings so it won't break your Hardhat config if you're using TypeScript.

Package Sidebar

Install

npm i @nahmii/hardhat-nvm

Weekly Downloads

0

Version

0.2.3

License

MIT

Unpacked Size

21.4 kB

Total Files

12

Last publish

Collaborators

  • nahmii-continuous
  • jijordre
  • hubiierik