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.
Click to show internal directories.
Click to hide internal directories.