File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22
33STAKER_GLOBAL_ENVS=" EXECUTION_CLIENT CONSENSUS_CLIENT MEVBOOST"
4+ AVAILABLE_NETWORKS=" mainnet holesky gnosis lukso sepolia"
45
56# Internal function to add a flag to EXTRA_OPTS if it's not already included
67#
@@ -74,6 +75,36 @@ get_client_network_alias() {
7475 echo " ${client_alias} .dappnode"
7576}
7677
78+ get_jwt_secret_by_network () {
79+ network=$1
80+
81+ case $network in
82+ mainnet)
83+ jwt=" 7ad9cfdec75eceb662f5e48f5765701c17f51a5233a60fbcfa5f9e4000000001"
84+ ;;
85+ holesky)
86+ jwt=" 7ad9cfdec75eceb662f5e48f5765701c17f51a5233a60fbcfa5f9e4000004268"
87+ ;;
88+ gnosis)
89+ jwt=" 7ad9cfdec75eceb662f5e48f5765701c17f51a5233a60fbcfa5f9e4000000064"
90+ ;;
91+ lukso)
92+ jwt=" 7ad9cfdec75eceb662f5e48f5765701c17f51a5233a60fbcfa5f9e400000002a"
93+ ;;
94+ sepolia)
95+ jwt=" 7ad9cfdec75eceb662f5e48f5765701c17f51a5233a60fbcfa5f9e4000aa36a7"
96+ ;;
97+ * )
98+ echo " [ERROR - entrypoint] NETWORK $network is not supported" >&2
99+ exit 1
100+ ;;
101+ esac
102+
103+ echo " [INFO - entrypoint] JWT secret for $network is: $jwt " >&2
104+
105+ echo " $jwt "
106+ }
107+
77108get_web3signer_domain () {
78109 network=$1
79110 supported_networks=$2
You can’t perform that action at this time.
0 commit comments