# hardhat-vizor

> Hardhat TypeScript plugin vizor

Latest version **0.0.24** (published 2023-10-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install hardhat-vizor
pnpm add hardhat-vizor
yarn add hardhat-vizor
bun add hardhat-vizor
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.24 |
| Published | 2023-10-03 |
| First published | 2022-12-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 37.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | 3commascapital |
| Maintainers | 3commascapital |
| Keywords | ethereum, smart-contracts, hardhat, hardhat-plugin |

## Links

- npm: https://www.npmjs.com/package/hardhat-vizor
- Repository: https://github.com/3commascapital/hardhat-vizor
- Homepage: https://github.com/3commascapital/hardhat-vizor#readme
- Issues: https://github.com/3commascapital/hardhat-vizor/issues
- npm.io page: https://npm.io/package/hardhat-vizor

## Dependencies (3)

- [ethers](https://npm.io/package/ethers.md) ^5.7.2
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [@enzoferey/ethers-error-parser](https://npm.io/package/@enzoferey/ethers-error-parser.md) ^0.2.3

## Recent versions

- 0.0.24 (latest) — 2023-10-03
- 0.0.23 — 2023-08-17
- 0.0.22 — 2023-08-17
- 0.0.21 — 2023-08-17
- 0.0.18 — 2023-08-17
- 0.0.17 — 2023-02-07
- 0.0.16 — 2023-02-07
- 0.0.15 — 2023-02-07
- 0.0.14 — 2023-02-07
- 0.0.13 — 2023-01-06
- 0.0.12 — 2023-01-06
- 0.0.11 — 2023-01-06
- 0.0.10 — 2023-01-06
- 0.0.9 — 2023-01-06
- 0.0.8 — 2023-01-02
- … 7 more at https://npm.io/package/hardhat-vizor/versions

## README

# Hardhat Vizor

This plugin adds tooling to help quickly run tasks related to low level needs when interacting with the hre.

## Installation

To start working on your project, just run

```bash
npm install
```

## Building the project

Just run `npm run build` ️👷

## Usage in your projects

```ts
// hardhat.config.ts
import "hardhat-vizor"
```
impersonate account
```ts
// tests/MyContract.test.ts
// ...
await hre.vizor.impersonate("0xdeadbeef...", async (signer) => {
  // do something with impersonated deadbeef signer
})
```
attempt to verify contract
```ts
await hre.vizor.attemptVerify(
  contract, // deployedBaseContract
  [1, 2, 3], // args
  true, // print error if it occurs (default false)
)
```

reset a forked network
```ts
await hre.vizor.resetNetwork(
  forkConfig, // optional HardhatNetworkForkingUserConfig (defaults to hardhat.config.ts settings)
)
```

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