Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainConfig ¶
type ChainConfig struct { Name string // Human-readable chain name Id msg.ChainId // ChainID Endpoint string // url for rpc endpoint Network string // From string // address of key to use KeystorePath string // Location of key files NearKeystorePath string // Location of key files Insecure bool // Indicated whether the test keyring should be used BlockstorePath string // Location of blockstore FreshStart bool // If true, blockstore is ignored at start. LatestBlock bool // If true, overrides blockstore or latest block in config and starts from current block Opts map[string]string // Per chain options SkipError bool // Flag of Skip Error }
type Connection ¶ added in v1.2.0
type Connection interface { Connect() error Keypair() *keystore.Key Opts() *bind.TransactOpts CallOpts() *bind.CallOpts LockAndUpdateOpts(bool) error UnlockOpts() Client() *ethclient.Client EnsureHasBytecode(address common.Address) error LatestBlock() (*big.Int, error) WaitForBlock(block *big.Int, delay *big.Int) error Close() }
type Core ¶
type Core struct { Registry []Chain // contains filtered or unexported fields }
func (*Core) Start ¶
func (c *Core) Start()
Start will call all registered chains' Start methods and block forever (or until signal is received)
func (*Core) ToUCoreRegistry ¶
type CreateConn ¶ added in v1.2.0
type Eth2Connection ¶ added in v1.2.0
type Eth2Connection interface { Connection Eth2Client() *eth2.Client }
type KConnection ¶ added in v1.2.0
type KConnection interface { Connection KClient() *klaytn.Client }
Click to show internal directories.
Click to hide internal directories.