chain

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 0 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 {
	ChainId   int    `json:"chainId"`
	ChainName string `json:"chainName"`
	URL       string `json:"url"`
}

func (*Config) GetChainId added in v0.0.5

func (c *Config) GetChainId() int

func (*Config) GetChainName added in v0.0.5

func (c *Config) GetChainName() string

func (*Config) GetURL added in v0.0.5

func (c *Config) GetURL() string

type IConfig added in v0.0.5

type IConfig interface {
	GetChainId() int      // chain id
	GetURL() string       // ethereum node url
	GetChainName() string // chain name
}

Jump to

Keyboard shortcuts

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