-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* compress user data * 1. rename `verifyUserData` to `calculatePublicInput` 2. use typescript in hardhat 3. use bincoder lib to encode userData * add the demo of encode sha2's user data
- Loading branch information
Showing
15 changed files
with
1,242 additions
and
781 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
PRIVATE_KEY=8da4ef21b864d2cc526dbdb2a120bd2874c36c9d0a1fb7f8c63d7f7a8b41de8f | ||
PRIVATE_KEY= | ||
RPC_URL=https://ethereum-sepolia-rpc.publicnode.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// This setup uses Hardhat Ignition to manage smart contract deployments. | ||
// Learn more about it at https://hardhat.org/ignition | ||
|
||
import { buildModule } from "@nomicfoundation/hardhat-ignition/modules"; | ||
|
||
const VerifierModule = buildModule("VerifierModule", (m) => { | ||
const verifier = m.contract("Verifier"); | ||
return { verifier }; | ||
}); | ||
|
||
export default VerifierModule; |
Oops, something went wrong.