You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -161,6 +161,8 @@ Our contract will support three main functions:
161
161
🔍 Open it up and check out the placeholder functions. Each of them represents a key piece of the voting logic.
162
162
If you can already explain what they’re supposed to do, you’re ahead of the game! 😎
163
163
164
+
💡 The `Verifier.sol` contract is currently just a placeholder and will be replaced with the actual implementation later.
165
+
164
166
But this time you won’t just be working on the smart contract **🙂**
165
167
166
168
### **🥅 Goals**
@@ -943,7 +945,7 @@ You’ve built the circuit, created the verifier contract — now it’s time to
943
945
944
946
### 🔹 Step 1: Bring in the Verifier Contract
945
947
946
-
1.Copy your verifier contract into **`packages/hardhat/contracts`**.
948
+
1.Replace the placeholder verifier contract **`Verifier.sol`** in **`packages/hardhat/contracts`** with the newly generated contract located in **`packages/circuits/target`**.
947
949
2. Open **`00_deploy_your_voting_contract.ts`** and:
948
950
- Uncomment the verifier deployment
949
951
- Comment out the `verifierAddress`
@@ -982,8 +984,6 @@ That’s why **nullifiers are the cornerstone** of privacy-preserving voting.
982
984
- Increment `s_yesVotes` or `s_noVotes` accordingly
983
985
- Emit the `VoteCast` event
984
986
985
-
> 🚨⚠️ Go to packages/hardhat/contracts/mocks and uncomment all the code. This enables the mock contracts needed for local testing and verification.
Copy file name to clipboardExpand all lines: extension/README.md.args.mjs
+5-15Lines changed: 5 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -163,6 +163,8 @@ Our contract will support three main functions:
163
163
🔍 Open it up and check out the placeholder functions. Each of them represents a key piece of the voting logic.
164
164
If you can already explain what they’re supposed to do, you’re ahead of the game! 😎
165
165
166
+
💡 The \`Verifier.sol\` contract is currently just a placeholder and will be replaced with the actual implementation later.
167
+
166
168
But this time you won’t just be working on the smart contract **🙂**
167
169
168
170
### **🥅 Goals**
@@ -948,7 +950,7 @@ You’ve built the circuit, created the verifier contract — now it’s time to
948
950
949
951
### 🔹 Step 1: Bring in the Verifier Contract
950
952
951
-
1. Copy your verifier contract into **\`packages/hardhat/contracts\`**.
953
+
1. Replace the placeholder verifier contract **\`Verifier.sol\`** in **\`packages/hardhat/contracts\`** with the newly generated contract located in **\`packages/circuits/target\`**.
952
954
2. Open **\`00_deploy_your_voting_contract.ts\`** and:
953
955
- Uncomment the verifier deployment
954
956
- Comment out the \`verifierAddress\`
@@ -987,8 +989,6 @@ That’s why **nullifiers are the cornerstone** of privacy-preserving voting.
987
989
- Increment \`s_yesVotes\` or \`s_noVotes\` accordingly
988
990
- Emit the \`VoteCast\` event
989
991
990
-
> 🚨⚠️ Go to packages/hardhat/contracts/mocks and uncomment all the code. This enables the mock contracts needed for local testing and verification.
0 commit comments