Skip to content

Commit 86180c3

Browse files
MarcosNicolauJuArceMauroToscano
authored
feat: circom example (#2078)
Co-authored-by: Julian Arce <[email protected]> Co-authored-by: MauroFab <[email protected]> Co-authored-by: Mauro Toscano <[email protected]>
1 parent 6ead110 commit 86180c3

28 files changed

+7089
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,6 @@
4343
[submodule "examples/l2/contracts/lib/forge-std"]
4444
path = examples/l2/contracts/lib/forge-std
4545
url = https://github.com/foundry-rs/forge-std
46+
[submodule "examples/circom/contracts/lib/forge-std"]
47+
path = examples/circom/contracts/lib/forge-std
48+
url = https://github.com/foundry-rs/forge-std

examples/circom/.env.devnet

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
ETH_RPC_URL=http://localhost:8545
2+
PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
3+
# Deploy the contract with make deploy_contract_devnet
4+
FIBONACCI_CONTRACT_ADDRESS=<FIBONACCI_CONTRACT_ADDRESS>
5+
NETWORK=devnet

examples/circom/.env.example

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
ETH_RPC_URL=<RPC_URL>
2+
# Make sure it has funds on Aligned
3+
PRIVATE_KEY=<PRIVATE_KEY>
4+
# Deploy the contract with make deploy_contract_devnet
5+
FIBONACCI_CONTRACT_ADDRESS=<FIBONACCI_CONTRACT_ADDRESS>
6+
NETWORK=<devnet|holesky|holeksy-stage|mainnet>

examples/circom/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

0 commit comments

Comments
 (0)