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
19
19
LOGTAIL_TOKEN_DISPUTOR_BOT = mSryyvYubviaMqKDWfBKAGsi
20
20
HEARTBEAT_URL_KEEPER_BOT = https://uptime.betterstack.com/api/v1/heartbeat/jc23S8ZZzpf8KbzwxL1hoBp9
21
21
HEARTBEAT_URL_RELAYER_BOT = https://uptime.betterstack.com/api/v1/heartbeat/eT6Trk6CddJV6fFBbqZNzyqC
22
+ SHUTTER_API = testnet
22
23
DISPUTES_TO_SKIP =
23
24
24
25
# Optionally for debugging
25
26
# TENDERLY_USERNAME=your_username
26
27
# TENDERLY_PROJECT=your_project
27
28
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
29
30
ARB_GOERLI_PRIVATE_KEY_WALLET_1 =
30
31
ARB_GOERLI_PRIVATE_KEY_WALLET_2 =
31
32
ARB_GOERLI_PRIVATE_KEY_WALLET_3 =
32
33
ARB_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
9
9
export WALLETCONNECT_PROJECT_ID=
10
10
export ALCHEMY_API_KEY=
11
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,6 +8,7 @@ export REACT_APP_ATLAS_URI=http://localhost:3000
8
8
export WALLETCONNECT_PROJECT_ID=
9
9
export ALCHEMY_API_KEY=
10
10
export NODE_OPTIONS='--max-old-space-size=7680'
11
+ export REACT_APP_SHUTTER_API="https://shutter-api.chiado.staging.shutter.network/api"
11
12
12
13
# devtools
13
14
export 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
7
7
export REACT_APP_DEVTOOLS_URL=https://dev--kleros-v2-testnet-devtools.netlify.app
8
8
export NODE_OPTIONS='--max-old-space-size=7680'
9
9
export REACT_APP_SPAM_EVIDENCES_IDS="0-2,3-1"
10
+ export REACT_APP_SHUTTER_API="https://shutter-api.chiado.staging.shutter.network/api"
10
11
# devtools
11
12
export 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
6
6
export WALLETCONNECT_PROJECT_ID=
7
7
export ALCHEMY_API_KEY=
8
8
export NODE_OPTIONS='--max-old-space-size=7680'
9
+ export REACT_APP_SHUTTER_API="https://shutter-api.chiado.staging.shutter.network/api"
9
10
10
11
# devtools
11
12
export 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
8
8
export REACT_APP_ATLAS_URI=http://localhost:3000
9
9
export WALLETCONNECT_PROJECT_ID=
10
10
export 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
8
8
export WALLETCONNECT_PROJECT_ID=
9
9
export ALCHEMY_API_KEY=
10
10
export NODE_OPTIONS='--max-old-space-size=7680'
11
+ export REACT_APP_SHUTTER_API="https://shutter-api.chiado.staging.shutter.network/api"
11
12
# devtools
12
13
export 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
30
30
// Generate a random identity prefix
31
31
const identityPrefix = generateRandomBytes32 ( ) ;
32
32
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` , {
34
34
method : "POST" ,
35
35
headers : {
36
36
accept : "application/json" ,
@@ -77,7 +77,7 @@ async function fetchShutterData(decryptionTimestamp: number): Promise<ShutterApi
77
77
* @returns Promise with the decryption key data
78
78
*/
79
79
async 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 } ` , {
81
81
method : "GET" ,
82
82
headers : {
83
83
accept : "application/json" ,
You can’t perform that action at this time.
0 commit comments