Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnChainBech32Prefix = "CHAIN_BECH32_PREFIX" EnvChainAccountDerivationPath = "CHAIN_ACCOUNT_DERIVATION_PATH" EnvChainAccountRecoveryPhrase = "CHAIN_ACCOUNT_RECOVERY_PHRASE" EnvChainRPCUrl = "CHAIN_RPC_URL" EnvChainGRPCUrl = "CHAIN_GRPC_URL" EnvChainGasPrice = "CHAIN_GAS_PRICE" EnvChainGasAdjustment = "CHAIN_GAS_ADJUSTMENT" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewClientFromEnvVariables ¶
NewClientFromEnvVariables builds a new Client instance by reading the configuration from the environment variables
func (*Client) HasFeeGrant ¶
HasFeeGrant checks whether the given address already has a fee grant from the given granter
type Config ¶
type Config struct { Account *wallettypes.AccountConfig Chain *wallettypes.ChainConfig }
func ReadConfigFromEnvVariables ¶
ReadConfigFromEnvVariables reads a Config instance from the env variables values
Click to show internal directories.
Click to hide internal directories.