# @eth-optimism/hardhat-ovm

> A plugin that brings OVM compiler support to Hardhat projects.

Latest version **0.2.4** (published 2021-10-29) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @eth-optimism/hardhat-ovm
pnpm add @eth-optimism/hardhat-ovm
yarn add @eth-optimism/hardhat-ovm
bun add @eth-optimism/hardhat-ovm
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.2.4 |
| Published | 2021-10-29 |
| First published | 2021-04-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 20.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Optimism PBC |
| Maintainers | karlfloersch, ben-chain, will_optimism, k-ho, tynes, kelvinfichter |

## Links

- npm: https://www.npmjs.com/package/@eth-optimism/hardhat-ovm
- npm.io page: https://npm.io/package/@eth-optimism/hardhat-ovm

## Dependencies (1)

- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.1

## Recent versions

- 0.2.4 (latest) — 2021-10-29
- 0.0.0-202142624425 (canary) — 2021-05-26
- 0.2.3 — 2021-08-23
- 0.2.2 — 2021-05-26
- 0.0.0-202142518936 — 2021-05-25
- 0.0.0-202142517250 — 2021-05-25
- 0.0.0-202142517154 — 2021-05-25
- 0.2.0 — 2021-05-10
- 0.1.2 — 2021-05-07
- 0.1.1 — 2021-05-05
- 0.1.0 — 2021-04-28
- 0.0.3 — 2021-04-22
- 0.0.2 — 2021-04-13
- 0.0.1 — 2021-04-13

## README

# @eth-optimism/hardhat-ovm

A plugin that brings OVM compiler support to Hardhat projects.

## Installation

```
yarn add --dev @eth-optimism/hardhat-ovm
```

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

```js
// hardhat.config.js

require("@eth-optimism/hardhat-ovm")
```

Or if using TypeScript:

```ts
// hardhat.config.ts

import "@eth-optimism/hardhat-ovm"
```

## 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:

```js
// hardhat.config.js

require("@eth-optimism/hardhat-ovm")

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.

---
_Source: https://npm.io/package/@eth-optimism/hardhat-ovm · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
