-
Notifications
You must be signed in to change notification settings - Fork 52
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 #61 from noir-lang/zpedro/vite_hardhat
feat: moving from next to vite
- Loading branch information
Showing
37 changed files
with
3,152 additions
and
595 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,10 +1,7 @@ | ||
FROM alpine:3.18.5 as noir | ||
RUN apk add curl bash git tar gzip libc++-dev | ||
RUN mkdir -p root/.nargo/bin | ||
RUN curl -# -L https://github.com/noir-lang/noir/releases/latest/download/nargo-x86_64-unknown-linux-musl.tar.gz | tar -xzC root/.nargo/bin | ||
|
||
FROM alpine:3.18.5 | ||
COPY --from=noir /root/.nargo /root/.nargo | ||
ENV NARGO_HOME="/root/.nargo/bin" | ||
ENV PATH="$NARGO_HOME:$PATH" | ||
FROM --platform=linux/amd64 node:lts-bookworm-slim | ||
SHELL ["/bin/bash", "-c"] | ||
RUN apt update && apt install -y curl bash git tar gzip libc++-dev | ||
RUN curl -L https://raw.githubusercontent.com/noir-lang/noirup/main/install | bash | ||
ENV PATH="/root/.nargo/bin:$PATH" | ||
RUN noirup | ||
ENTRYPOINT ["nargo"] |
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 |
---|---|---|
|
@@ -3,4 +3,3 @@ | |
|
||
node_modules | ||
package-lock.json | ||
package.json |
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 +1,44 @@ | ||
{"hash":11749626988244162825,"backend":"acvm-backend-barretenberg","abi":{"parameters":[{"name":"x","type":{"kind":"field"},"visibility":"private"},{"name":"y","type":{"kind":"field"},"visibility":"public"}],"param_witnesses":{"x":[1],"y":[2]},"return_type":null,"return_witnesses":[]},"bytecode":"H4sIAAAAAAAA/7VTQQ6EIAwsKh73LS0FKbf9ypLF/z/BxGBClJtlLiUcpjPTdgUAC0/MtX5rxXcg03Axbt6X6Aox/dClLAF9yJuQUJDwd8JcxEtMOUVM5LnQHhLvlWxS5Jr1PJ5cppOlUc5SU3Ord+m8p85OrAM8wa3PPcdP50+1+YghLQN4Legt/yjfVn9G2FA+NL/NwYL+QZlGZ3tEFw56E7wBeQUAAA=="} | ||
{ | ||
"noir_version": "0.18.0+1de0e6d0acb18f3164a3b1fbc1be6438ef16be39", | ||
"hash": 16035314490478570843, | ||
"backend": "acvm-backend-barretenberg", | ||
"abi": { | ||
"parameters": [ | ||
{ | ||
"name": "x", | ||
"type": { | ||
"kind": "field" | ||
}, | ||
"visibility": "private" | ||
}, | ||
{ | ||
"name": "y", | ||
"type": { | ||
"kind": "field" | ||
}, | ||
"visibility": "public" | ||
}, | ||
{ | ||
"name": "z", | ||
"type": { | ||
"kind": "field" | ||
}, | ||
"visibility": "public" | ||
} | ||
], | ||
"param_witnesses": { | ||
"x": [ | ||
1 | ||
], | ||
"y": [ | ||
2 | ||
], | ||
"z": [ | ||
3 | ||
] | ||
}, | ||
"return_type": null, | ||
"return_witnesses": [] | ||
}, | ||
"bytecode": "H4sIAAAAAAAA/+1U0Q6DIAysOpnsYd/SCmh526/MDP//EzYylxD1zTbZkl1CSngo1zs4CwAX2KJZ6m2pDgfv09gncnTHPk4c0IdpYGIKHB49O5fY8xinOGIk7xLNIboZ36iKXngMVAvyOsnxwqxZtaNltdISj4EkOZd829c6Lft65y0YhVlgdc9av+vOmejlGua0Cn0NyD16rbmNvEdYtNxwPqqDUeIpHZ61oE+NIK8z/F54SnIu+XbwD08RczqFvha+Ozzz3FbeI9XwtCD/kXL9fJ5cG9jiCSvxgUKyCgAA" | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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 |
---|---|---|
|
@@ -52,4 +52,7 @@ crs | |
.vscode | ||
.DS_Store | ||
artifacts | ||
.yarn/ | ||
.yarn/ | ||
|
||
circuits/target | ||
dist |
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
1 change: 1 addition & 0 deletions
1
next-hardhat/circuits/Prover.toml → vite-hardhat/circuits/Prover.toml
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,3 @@ | ||
x = "1" | ||
y = "2" | ||
z = "3" |
1 change: 1 addition & 0 deletions
1
next-hardhat/circuits/Verifier.toml → vite-hardhat/circuits/Verifier.toml
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,2 @@ | ||
y = "0x0000000000000000000000000000000000000000000000000000000000000002" | ||
z = "0x0000000000000000000000000000000000000000000000000000000000000003" |
Oops, something went wrong.