config

package
v0.0.0-...-f9bcfd4 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: Apache-2.0 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 {
	BlockchainHost     string `mapstructure:"blockchain-host"`
	ChainID            int64  `mapstructure:"chain-id"`
	CrossModuleAddress string `mapstructure:"cross-module-address"`
	ERC721TokenAddress string `mapstructure:"erc721-token-address"`
	WatchTimeoutSec    uint   `mapstructure:"watch-timeout-sec"`
	WalletFile         string `mapstructure:"wallet-file"`
}

func (*Config) PrivateKey

func (c *Config) PrivateKey() (*ecdsa.PrivateKey, error)

type Context

type Context struct {
	Config *Config
	Codec  codec.ProtoCodecMarshaler
}

Jump to

Keyboard shortcuts

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