-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from CodeDragonVN/update_recursive_example
chore: update recursion example for noir v0.24.0
- Loading branch information
Showing
18 changed files
with
644 additions
and
297 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,7 +1,7 @@ | ||
{ | ||
"arrowParens": "avoid", | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"printWidth": 100, | ||
"proseWrap": "always" | ||
"arrowParens": "avoid", | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"printWidth": 100, | ||
"proseWrap": "always" | ||
} |
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
{ | ||
"name": "recursion", | ||
"private": true, | ||
"packageManager": "[email protected]", | ||
"workspaces": [ | ||
"packages/hardhat", | ||
"packages/noir", | ||
"packages/next" | ||
], | ||
"engines": { | ||
"node": "^20.10.0" | ||
}, | ||
"scripts": { | ||
"dev": "yarn workspace hardhat run deploy && yarn workspace next run dev", | ||
"test": "yarn workspace hardhat run test", | ||
"build": "yarn workspace next run build" | ||
}, | ||
"dependencies": { | ||
"@noir-lang/backend_barretenberg": "^0.23.0", | ||
"@noir-lang/noir_js": "^0.23.0", | ||
"@noir-lang/noir_wasm": "^0.23.0" | ||
} | ||
"name": "recursion", | ||
"private": true, | ||
"packageManager": "[email protected]", | ||
"workspaces": [ | ||
"packages/hardhat", | ||
"packages/noir", | ||
"packages/next" | ||
], | ||
"engines": { | ||
"node": "^20.10.0" | ||
}, | ||
"scripts": { | ||
"dev": "yarn workspace hardhat run deploy && yarn workspace next run dev", | ||
"test": "yarn workspace hardhat run test", | ||
"build": "yarn workspace next run build" | ||
}, | ||
"dependencies": { | ||
"@noir-lang/backend_barretenberg": "^0.25.0", | ||
"@noir-lang/noir_js": "^0.25.0", | ||
"@noir-lang/noir_wasm": "^0.25.0" | ||
} | ||
} |
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 +1 @@ | ||
{"chainId":31337,"verifier":"0xdc64a140aa3e981100a9beca4e685f962f0cf6c9"} | ||
{"chainId":31337,"verifier":"0xe7f1725e7734ce288f8367e1bb143e90bb3f0512"} |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
/* Page.module.css */ | ||
.container { | ||
max-width: 600px; | ||
margin: 2rem auto; | ||
padding: 2rem; | ||
background: #f9f9f9; | ||
border-radius: 8px; | ||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
.title { | ||
color: #333; | ||
text-align: center; | ||
} | ||
|
||
.proofForm { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 1rem; | ||
} | ||
|
||
.inputGroup { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 0.5rem; | ||
} | ||
|
||
.inputLabel { | ||
font-size: 1rem; | ||
color: #666; | ||
} | ||
|
||
.inputField { | ||
padding: 0.5rem; | ||
font-size: 1rem; | ||
border: 1px solid #ddd; | ||
border-radius: 4px; | ||
} | ||
|
||
.submitButton { | ||
padding: 0.5rem 1rem; | ||
font-size: 1rem; | ||
color: white; | ||
background-color: #5c6bc0; | ||
border: none; | ||
border-radius: 4px; | ||
cursor: pointer; | ||
transition: background-color 0.3s ease; | ||
} | ||
|
||
.submitButton:hover { | ||
background-color: #3f51b5; | ||
} | ||
|
||
.submitButton:disabled { | ||
background-color: #9fa8da; | ||
cursor: not-allowed; | ||
} | ||
|
||
.errorMessage { | ||
color: #b71c1c; | ||
text-align: center; | ||
margin-top: 1rem; | ||
} | ||
|
||
.successMessage { | ||
color: #2e7d32; | ||
text-align: center; | ||
margin-top: 1rem; | ||
} |
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
Oops, something went wrong.