Documentation
¶
Overview ¶
Package config provides the configuration for the Scroll paymaster service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
APIKeys []string `json:"api_keys"`
PaymasterAddressV7 common.Address `json:"paymaster_address_v7"`
RateLimiterQPS int64 `json:"rate_limiter_qps"`
ChainID int64 `json:"chain_id"`
SignerPrivateKey string `json:"signer_private_key"`
AWSKMSKeyID string `json:"aws_kms_key_id"` // FIXME: AWS KMS signer is not tested yet.
USDTAddress common.Address `json:"usdt_address"`
USDCAddress common.Address `json:"usdc_address"`
EthereumRPCURLs []string `json:"ethereum_rpc_urls"`
DBConfig database.Config `json:"db_config"`
}
Config represents the configuration for the paymaster.
Click to show internal directories.
Click to hide internal directories.