@nomicfoundation/hardhat-viem 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +4 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -15,11 +15,12 @@ npm install --save-dev @nomicfoundation/hardhat-viem
|
|
|
15
15
|
In your `hardhat.config.ts` file, import the plugin and add it to the `plugins` array:
|
|
16
16
|
|
|
17
17
|
```typescript
|
|
18
|
+
import { defineConfig } from "hardhat/config";
|
|
18
19
|
import hardhatViem from "@nomicfoundation/hardhat-viem";
|
|
19
20
|
|
|
20
|
-
export default {
|
|
21
|
+
export default defineConfig({
|
|
21
22
|
plugins: [hardhatViem],
|
|
22
|
-
};
|
|
23
|
+
});
|
|
23
24
|
```
|
|
24
25
|
|
|
25
26
|
## Usage
|
|
@@ -39,4 +40,4 @@ await counter.write.inc();
|
|
|
39
40
|
console.log(await counter.read.x());
|
|
40
41
|
```
|
|
41
42
|
|
|
42
|
-
To learn more about using viem with Hardhat, read [our guide](https://hardhat.org/
|
|
43
|
+
To learn more about using viem with Hardhat, read [our guide](https://hardhat.org/docs/learn-more/using-viem).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomicfoundation/hardhat-viem",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Hardhat plugin for viem",
|
|
5
5
|
"homepage": "https://github.com/nomicfoundation/hardhat/tree/v-next/v-next/hardhat-viem",
|
|
6
6
|
"repository": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@nomicfoundation/hardhat-errors": "^3.0.0",
|
|
48
|
-
"@nomicfoundation/hardhat-utils": "^3.0.
|
|
48
|
+
"@nomicfoundation/hardhat-utils": "^3.0.5"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"hardhat": "^3.0.0",
|