Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedCurrencies = []Currency{ { Name: "Bitcoin", Code: "BTC", IsAddressValid: validators.VerifyBTCAddress, Chain: "main", ExplorerTxUrl: func(s string) string { return "" }, ExplorerAddrUrl: func(s string) string { return "" }, }, { Name: "Ethereum", Code: "ETH", IsAddressValid: validators.VerifyETHAddress, Chain: "main", ExplorerTxUrl: func(s string) string { return "" }, ExplorerAddrUrl: func(s string) string { return "" }, }, { Name: "Litecoin", Code: "LTC", IsAddressValid: validators.VerifyLTCAddress, Chain: "main", ExplorerTxUrl: func(s string) string { return "" }, ExplorerAddrUrl: func(s string) string { return "" }, }, { Name: "DogeCoin", Code: "DOGE", IsAddressValid: validators.VerifyDOGEAddress, Chain: "main", ExplorerTxUrl: func(s string) string { return "" }, ExplorerAddrUrl: func(s string) string { return "" }, }, { Name: "Dash", Code: "DASH", IsAddressValid: validators.VerifyDASHAddress, Chain: "main", ExplorerTxUrl: func(s string) string { return "" }, ExplorerAddrUrl: func(s string) string { return "" }, }, TestCurrency, }
View Source
var TestCurrency = Currency{ Name: "Bcy", Code: "BCY", IsAddressValid: validators.VerifyTestAddress, Chain: "test", ExplorerTxUrl: func(s string) string { return fmt.Sprintf("https://live.blockcypher.com/bcy/tx/%s", s) }, ExplorerAddrUrl: func(s string) string { return fmt.Sprintf("https://live.blockcypher.com/bcy/address/%s", s) }, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.