0.0.24 • Published 7 months ago
hardhat-vizor v0.0.24
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
npm install
Building the project
Just run npm run build
️👷
Usage in your projects
// hardhat.config.ts
import "hardhat-vizor"
impersonate account
// tests/MyContract.test.ts
// ...
await hre.vizor.impersonate("0xdeadbeef...", async (signer) => {
// do something with impersonated deadbeef signer
})
attempt to verify contract
await hre.vizor.attemptVerify(
contract, // deployedBaseContract
[1, 2, 3], // args
true, // print error if it occurs (default false)
)
reset a forked network
await hre.vizor.resetNetwork(
forkConfig, // optional HardhatNetworkForkingUserConfig (defaults to hardhat.config.ts settings)
)
0.0.24
7 months ago
0.0.21
9 months ago
0.0.22
9 months ago
0.0.23
9 months ago
0.0.18
9 months ago
0.0.14
1 year ago
0.0.15
1 year ago
0.0.16
1 year ago
0.0.17
1 year ago
0.0.13
1 year ago
0.0.12
1 year ago
0.0.11
1 year ago
0.0.10
1 year ago
0.0.9
1 year ago
0.0.8
1 year ago
0.0.7
1 year ago
0.0.6
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago
0.0.1
1 year ago