Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update the template regarding signer #130

Merged
merged 1 commit into from
Sep 13, 2024
Merged
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
11 changes: 11 additions & 0 deletions templates/client_config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[Client]
GrpcURLs = "{{.ServerGrpcURL}}:9090"
SignerServerURL = "{{.SignerServerURL}}" # optional, can be empty
Chain = "{{.ChainName}}"
EthereumURL = "{{.EthereumRPCURL}}"
OperatorAddress = "{{.OperatorAddress}}"
Expand All @@ -8,9 +9,17 @@ BLSKeystorePath = "/app/config/keystore/bls.key"
BLSKeystorePasswordPath = "/app/config/keystore/bls.pass"
SignerECDSAKeystorePath = "/app/config/keystore/signer.key"
SignerECDSAKeystorePasswordPath = "/app/config/keystore/signer.pass"
BLSKeyAccountID = "bls-sign-key-1" # optional, can be empty
SignerKeyAccountID = "ecdsa-signer-key-1" # optional, can be empty
PullInterval = "1000ms"
BLSCurve = "BN254"

# optional, can be empty
[Client.TLSConfig]
CACertPath = "/app/config/ca-cert.pem"
NodeKeyPath = "/app/config/client-key.pem"
NodeCertPath = "/app/config/client-cert.pem"

[RpcClient]
#{{ if eq .ChainName "optimism" "base" }}
[RpcClient.Optimism]
Expand All @@ -20,6 +29,8 @@ BLSCurve = "BN254"
BatchInbox = "{{.BatchInbox}}"
BatchSender = "{{.BatchSender}}"
ConcurrentFetchers = 8
L1ParallelBlocks = 32
L2ParallelBlocks = 32

#{{ else if eq .ChainName "arbitrum" }}
[RpcClient.Arbitrum]
Expand Down
Loading