config

package
v1.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DefautlKeyStoreFileAbsPath   = "/Users/sun/go/src/github.com/Dipper-Labs/go-sdk/config/keystore"
	DefaultKeyStorePasswd        = "11111111"
	DefaultLiteClientRpcEndpoint = "http://127.0.0.1:1317"
	DefaultRPCEndpoint           = "http://127.0.0.1:26657"
	DefaultChainID               = "dipperhup"
	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

func Init(sdkConfigFileAbsPath string)

func SetKeystorePassword added in v1.0.3

func SetKeystorePassword(password string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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