config

package
v0.0.0-...-b9e1d45 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: LGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Networks = map[string]NetworkInfo{
	"mainnet": buildNetworkConfig("mainnet", true),
	"testnet": buildNetworkConfig("testnet", true),
	"betanet": buildNetworkConfig("betanet", false),
	"local": {
		NetworkID: "local",
		NodeURL:   "http://127.0.0.1:3030",
	},

	"archival-mainnet": buildArchivalNetworkConfig("mainnet"),
	"archival-testnet": buildArchivalNetworkConfig("testnet"),
}

Functions

This section is empty.

Types

type NetworkInfo

type NetworkInfo struct {
	NetworkID   string
	NodeURL     string
	WalletURL   string
	HelperURL   string
	ExplorerURL string
	// contains filtered or unexported fields
}

func (NetworkInfo) Archival

func (n NetworkInfo) Archival() (ni NetworkInfo, ok bool)

func (NetworkInfo) IsArchival

func (n NetworkInfo) IsArchival() bool

func (NetworkInfo) NonArchival

func (n NetworkInfo) NonArchival() (ni NetworkInfo, ok bool)

Jump to

Keyboard shortcuts

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