@semaphore-protocol/hardhat 3.0.0-beta.6 → 3.0.0-beta.8
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/README.md +3 -11
- package/dist/index.mjs +1 -1
- package/dist/index.node.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -88,21 +88,13 @@ import { task, types } from "hardhat/config"
|
|
|
88
88
|
task("deploy", "Deploy a Greeter contract")
|
|
89
89
|
.addOptionalParam("logs", "Print the logs", true, types.boolean)
|
|
90
90
|
.setAction(async ({ logs }, { ethers, run }) => {
|
|
91
|
-
const {
|
|
92
|
-
|
|
93
|
-
const { address: semaphoreAddress } = await run("deploy:semaphore", {
|
|
94
|
-
logs,
|
|
95
|
-
verifiers: [
|
|
96
|
-
{
|
|
97
|
-
merkleTreeDepth: 20,
|
|
98
|
-
contractAddress: verifierAddress
|
|
99
|
-
}
|
|
100
|
-
]
|
|
91
|
+
const { semaphore } = await run("deploy:semaphore", {
|
|
92
|
+
logs
|
|
101
93
|
})
|
|
102
94
|
|
|
103
95
|
const Greeter = await ethers.getContractFactory("Greeter")
|
|
104
96
|
|
|
105
|
-
const greeter = await Greeter.deploy(
|
|
97
|
+
const greeter = await Greeter.deploy(semaphore.address)
|
|
106
98
|
|
|
107
99
|
await greeter.deployed()
|
|
108
100
|
|
package/dist/index.mjs
CHANGED
package/dist/index.node.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semaphore-protocol/hardhat",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.8",
|
|
4
4
|
"description": "A Semaphore Hardhat plugin to deploy verifiers and Semaphore contract.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.node.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@nomiclabs/hardhat-ethers": "^2.1.1",
|
|
41
|
-
"@semaphore-protocol/contracts": "3.0.0-beta.
|
|
41
|
+
"@semaphore-protocol/contracts": "3.0.0-beta.8",
|
|
42
42
|
"circomlibjs": "^0.0.8",
|
|
43
43
|
"ethers": "^5.7.1",
|
|
44
44
|
"hardhat-dependency-compiler": "^1.1.3"
|