File tree Expand file tree Collapse file tree 8 files changed +12
-5
lines changed Expand file tree Collapse file tree 8 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,16 @@ LOGTAIL_TOKEN_RELAYER_BOT=41h8q5Z4gnz5yDx215eqcQ4r
1919LOGTAIL_TOKEN_DISPUTOR_BOT = mSryyvYubviaMqKDWfBKAGsi
2020HEARTBEAT_URL_KEEPER_BOT = https://uptime.betterstack.com/api/v1/heartbeat/jc23S8ZZzpf8KbzwxL1hoBp9
2121HEARTBEAT_URL_RELAYER_BOT = https://uptime.betterstack.com/api/v1/heartbeat/eT6Trk6CddJV6fFBbqZNzyqC
22+ SHUTTER_API = testnet
2223DISPUTES_TO_SKIP =
2324
2425# Optionally for debugging
2526# TENDERLY_USERNAME=your_username
2627# TENDERLY_PROJECT=your_project
2728
28- # Used by the "hardhat.config.ts" file and important to set them for the "scripts/simulations" tasks
29+ # Used by the "hardhat.config.ts" file and important to set them for the "scripts/simulations" tasks
2930ARB_GOERLI_PRIVATE_KEY_WALLET_1 =
3031ARB_GOERLI_PRIVATE_KEY_WALLET_2 =
3132ARB_GOERLI_PRIVATE_KEY_WALLET_3 =
3233ARB_GOERLI_PRIVATE_KEY_WALLET_4 =
33- ARB_GOERLI_PRIVATE_KEY_WALLET_5 =
34+ ARB_GOERLI_PRIVATE_KEY_WALLET_5 =
Original file line number Diff line number Diff line change @@ -9,3 +9,4 @@ export REACT_APP_ATLAS_URI=http://localhost:3000
99export WALLETCONNECT_PROJECT_ID=
1010export ALCHEMY_API_KEY=
1111export NODE_OPTIONS='--max-old-space-size=7680'
12+ export REACT_APP_SHUTTER_API="https://shutter-api.chiado.staging.shutter.network/api"
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ export REACT_APP_ATLAS_URI=http://localhost:3000
88export WALLETCONNECT_PROJECT_ID=
99export ALCHEMY_API_KEY=
1010export NODE_OPTIONS='--max-old-space-size=7680'
11+ export REACT_APP_SHUTTER_API="https://shutter-api.chiado.staging.shutter.network/api"
1112
1213# devtools
1314export REACT_APP_GRAPH_API_KEY=
Original file line number Diff line number Diff line change @@ -7,5 +7,6 @@ export REACT_APP_ATLAS_URI=http://localhost:3000
77export REACT_APP_DEVTOOLS_URL=https://dev--kleros-v2-testnet-devtools.netlify.app
88export NODE_OPTIONS='--max-old-space-size=7680'
99export REACT_APP_SPAM_EVIDENCES_IDS="0-2,3-1"
10+ export REACT_APP_SHUTTER_API="https://shutter-api.chiado.staging.shutter.network/api"
1011# devtools
1112export REACT_APP_GRAPH_API_KEY=
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ export REACT_APP_ATLAS_URI=http://localhost:3000
66export WALLETCONNECT_PROJECT_ID=
77export ALCHEMY_API_KEY=
88export NODE_OPTIONS='--max-old-space-size=7680'
9+ export REACT_APP_SHUTTER_API="https://shutter-api.chiado.staging.shutter.network/api"
910
1011# devtools
1112export REACT_APP_GRAPH_API_KEY=
Original file line number Diff line number Diff line change @@ -8,4 +8,5 @@ export REACT_APP_ARBITRATOR_TYPE=neo
88export REACT_APP_ATLAS_URI=http://localhost:3000
99export WALLETCONNECT_PROJECT_ID=
1010export ALCHEMY_API_KEY=
11- export NODE_OPTIONS='--max-old-space-size=7680'
11+ export NODE_OPTIONS='--max-old-space-size=7680'
12+ export REACT_APP_SHUTTER_API="https://shutter-api.chiado.staging.shutter.network/api"
Original file line number Diff line number Diff line change @@ -8,5 +8,6 @@ export REACT_APP_DEVTOOLS_URL=https://devtools.v2-testnet.kleros.builders
88export WALLETCONNECT_PROJECT_ID=
99export ALCHEMY_API_KEY=
1010export NODE_OPTIONS='--max-old-space-size=7680'
11+ export REACT_APP_SHUTTER_API="https://shutter-api.chiado.staging.shutter.network/api"
1112# devtools
1213export REACT_APP_GRAPH_API_KEY=
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ async function fetchShutterData(decryptionTimestamp: number): Promise<ShutterApi
3030 // Generate a random identity prefix
3131 const identityPrefix = generateRandomBytes32 ( ) ;
3232
33- const response = await fetch ( "https://shutter-api.shutter.network/api/ register_identity" , {
33+ const response = await fetch ( ` ${ import . meta . env . REACT_APP_SHUTTER_API } / register_identity` , {
3434 method : "POST" ,
3535 headers : {
3636 accept : "application/json" ,
@@ -77,7 +77,7 @@ async function fetchShutterData(decryptionTimestamp: number): Promise<ShutterApi
7777 * @returns Promise with the decryption key data
7878 */
7979async function fetchDecryptionKey ( identity : string ) : Promise < ShutterDecryptionKeyData > {
80- const response = await fetch ( `https://shutter-api.shutter.network/api /get_decryption_key?identity=${ identity } ` , {
80+ const response = await fetch ( `${ import . meta . env . REACT_APP_SHUTTER_API } /get_decryption_key?identity=${ identity } ` , {
8181 method : "GET" ,
8282 headers : {
8383 accept : "application/json" ,
You can’t perform that action at this time.
0 commit comments