Help us shape the future of Go! Take the 2026 Go Developer Survey

mns

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MainnetAddress  = "AS1q5hUfxLXNXLKsYQVXZLK7MPUZcWaNZZsK7e9QzqhGdAgLpUGT"
	BuildnetAddress = "AS12qKAVjU1nr66JSkQ6N4Lqu4iwuVc6rAbRTrxFoynPrPdP1sj3G"

	Extension = ".massa"
)

Variables

This section is empty.

Functions

func GetSCAddress

func GetSCAddress(network *msConfig.NetworkInfos) string

GetSCAddress returns the smart contract address based on the network chain ID.

func ResolveDomain

func ResolveDomain(network *msConfig.NetworkInfos, domain string) (string, error)

ResolveDomain resolves a domain name to its corresponding address.

Types

This section is empty.

Jump to

Keyboard shortcuts

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