config

package
v0.0.1-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	APIKey             string         `json:"api_key"`
	PaymasterAddressV7 common.Address `json:"paymaster_address_v7"`
	RateLimiterQPS     int64          `json:"rate_limiter_qps"`
	ChainID            int64          `json:"chain_id"`
	SignerPrivateKey   string         `json:"signer_private_key"`
	USDTAddress        common.Address `json:"usdt_address"`
}

Config represents the configuration for the paymaster.

func NewConfig

func NewConfig(file string) (*Config, error)

NewConfig return an unmarshalled config instance.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL