config

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefautlKeyStoreFileAbsPath   = "/Users/zhuliting/go/nch-sdk/config/keystore"
	DefaultKeyStorePasswd        = "12345678"
	DefaultLiteClientRpcEndpoint = "http://127.0.0.1:1317"
	DefaultRPCEndpoint           = "http://127.0.0.1:26657"
	DefaultChainID               = "nch-chain"
	DefaultTxDefaultGas          = uint64(200000)
	DefaultTxDefaultFeeAmount    = int64(500000)
)

Variables

View Source
var (
	KeyStoreFileAbsPath   = DefautlKeyStoreFileAbsPath
	KeyStorePasswd        = DefaultKeyStorePasswd
	LiteClientRpcEndpoint = DefaultLiteClientRpcEndpoint
	RPCEndpoint           = DefaultRPCEndpoint
	ChainID               = DefaultChainID
	TxDefaultGas          = DefaultTxDefaultGas
	TxDefaultFeeAmount    = DefaultTxDefaultFeeAmount
)

Functions

func Init added in v1.1.0

func Init(sdkConfigFileAbsPath string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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