jo
This commit is contained in:
25
celo/scripts/start-eigenda-proxy.sh
Executable file
25
celo/scripts/start-eigenda-proxy.sh
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Archive blobs configuration
|
||||
if [ -n "$EIGENDA_LOCAL_ARCHIVE_BLOBS" ]; then
|
||||
export EXTENDED_EIGENDA_PARAMETERS="${EXTENDED_EIGENDA_PARAMETERS:-} --s3.credential-type=$EIGENDA_LOCAL_S3_CREDENTIAL_TYPE \
|
||||
--s3.access-key-id=$EIGENDA_LOCAL_S3_ACCESS_KEY_ID \
|
||||
--s3.access-key-secret=$EIGENDA_LOCAL_S3_ACCESS_KEY_SECRET \
|
||||
--s3.bucket=$EIGENDA_LOCAL_S3_BUCKET \
|
||||
--s3.path=$EIGENDA_LOCAL_S3_PATH \
|
||||
--s3.endpoint=$EIGENDA_LOCAL_S3_ENDPOINT \
|
||||
--storage.fallback-targets=s3"
|
||||
fi
|
||||
|
||||
exec ./eigenda-proxy --addr=0.0.0.0 \
|
||||
--port=4242 \
|
||||
--eigenda.disperser-rpc="$EIGENDA_LOCAL_DISPERSER_RPC" \
|
||||
--eigenda.eth-rpc="$OP_NODE__RPC_ENDPOINT" \
|
||||
--eigenda.signer-private-key-hex=$(head -c 32 /dev/urandom | xxd -p -c 32) \
|
||||
--eigenda.svc-manager-addr="$EIGENDA_LOCAL_SVC_MANAGER_ADDR" \
|
||||
--eigenda.status-query-timeout="45m" \
|
||||
--eigenda.disable-tls=false \
|
||||
--eigenda.confirmation-depth=1 \
|
||||
--eigenda.max-blob-length="32MiB" \
|
||||
$EXTENDED_EIGENDA_PARAMETERS
|
||||
Reference in New Issue
Block a user