Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/CRISP/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Deployments:
----------------------------------------------------------------------
Enclave: 0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0
Verifier: 0xA51c1fc2f0D1a1b8494Ed1FE312d7C3a78Ed91C0
InputValidator: 0x2279B7A0a67DB372996a5FaB50D91eAA73d2eBe6
InputValidator: 0x610178dA211FEF7D417bC0e6FeD39F05609AD788
CRISPInputValidatorFactory: 0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82
HonkVerifier: 0x9A676e781A523b5d0C0e43731313A708CB607508
CRISPProgram: 0x959922bE3CAee4b8Cd9a407cc3ac1C251C2007B1
Expand Down Expand Up @@ -259,8 +259,8 @@ ETHERSCAN_API_KEY=""
CRON_API_KEY=1234567890

# Based on Default Anvil Deployments (Only for testing)
ENCLAVE_ADDRESS="0x8A791620dd6260079BF849Dc5567aDC3F2FdC318"
CIPHERNODE_REGISTRY_ADDRESS="0xa513E6E4b8f2a923D98304ec87F64353C4D5C853"
ENCLAVE_ADDRESS="0xA51c1fc2f0D1a1b8494Ed1FE312d7C3a78Ed91C0"
CIPHERNODE_REGISTRY_ADDRESS="0x2279B7A0a67DB372996a5FaB50D91eAA73d2eBe6"
E3_PROGRAM_ADDRESS="0x1613beB3B2C4f22Ee086B2b38C1476A3cE7f78E8" # CRISPProgram Contract Address
FEE_TOKEN_ADDRESS="0x5FbDB2315678afecb367f032d93F642f64180aa3" # Mock ERC20 Token Address

Expand Down
4 changes: 4 additions & 0 deletions examples/CRISP/circuits/src/ciphertext_addition.nr
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
// SPDX-License-Identifier: LGPL-3.0-only
//
// This file is provided WITHOUT ANY WARRANTY;
// without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE.

// This file contains ciphertext addition verification for BFV ciphertexts.

use greco::CryptographicParams;
Expand Down
2 changes: 1 addition & 1 deletion examples/CRISP/client/.env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VITE_ENCLAVE_API=http://127.0.0.1:4000
VITE_TWITTER_SERVERLESS_API=
VITE_WALLETCONNECT_PROJECT_ID=
VITE_E3_PROGRAM_ADDRESS=0xc5a5C42992dECbae36851359345FE25997F5C42d # Default E3 program address from hardhat
VITE_E3_PROGRAM_ADDRESS=0xc3e53F4d16Ae77Db1c982e75a937B9f60FE63690 # Default E3 program address from hardhat
8 changes: 4 additions & 4 deletions examples/CRISP/enclave.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ chains:
rpc_url: "ws://localhost:8545"
contracts:
e3_program:
address: "0xc5a5C42992dECbae36851359345FE25997F5C42d"
address: "0xc3e53F4d16Ae77Db1c982e75a937B9f60FE63690"
deploy_block: 1 # Set to actual deploy block
enclave:
address: "0x8A791620dd6260079BF849Dc5567aDC3F2FdC318"
address: "0xA51c1fc2f0D1a1b8494Ed1FE312d7C3a78Ed91C0"
deploy_block: 1 # Set to actual deploy block
ciphernode_registry:
address: "0x2279B7A0a67DB372996a5FaB50D91eAA73d2eBe6"
address: "0x610178dA211FEF7D417bC0e6FeD39F05609AD788"
deploy_block: 1 # Set to actual deploy block
bonding_registry:
address: "0xa513E6E4b8f2a923D98304ec87F64353C4D5C853"
address: "0x2279B7A0a67DB372996a5FaB50D91eAA73d2eBe6"
deploy_block: 1 # Set to actual deploy block
fee_token:
address: "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0"
Expand Down
Loading
Loading