Documentation
¶
Index ¶
- Variables
- type BitcoinCashConfig
- type BitcoinConfig
- type Config
- type DogecoinConfig
- type GenerateAddress
- type LitecoinConfig
- type SDK
- func (s *SDK) AddressPublic(blockchain wconstants.BlockchainType, address string, mnemonic string, ...) (string, error)
- func (s *SDK) AddressSecret(blockchain wconstants.BlockchainType, address string, mnemonic string, ...) (string, error)
- func (s *SDK) AddressWallet(blockchain wconstants.BlockchainType, addressType string, mnemonic string, ...) (string, error)
- func (s *SDK) GenerateAddress(blockchain wconstants.BlockchainType, addressType string, mnemonic string, ...) (*GenerateAddress, error)
- func (s *SDK) ValidateAddress(blockchain wconstants.BlockchainType, address string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBlockchainUndefined = errors.New("blockchain undefined")
Functions ¶
This section is empty.
Types ¶
type BitcoinCashConfig ¶
type BitcoinCashConfig struct {
Network string
}
type BitcoinConfig ¶
type BitcoinConfig struct {
Network string
}
type Config ¶
type Config struct { Bitcoin BitcoinConfig Litecoin LitecoinConfig BitcoinCash BitcoinCashConfig Dogecoin DogecoinConfig }
type DogecoinConfig ¶
type DogecoinConfig struct {
Network string
}
type GenerateAddress ¶
type LitecoinConfig ¶
type LitecoinConfig struct {
Network string
}
type SDK ¶
type SDK struct { BTC *btc.WalletSDK LTC *ltc.WalletSDK BCH *bch.WalletSDK Doge *doge.WalletSDK Tron *tron.WalletSDK EVM *evm.WalletSDK }
func (*SDK) AddressPublic ¶
func (s *SDK) AddressPublic(blockchain wconstants.BlockchainType, address string, mnemonic string, passphrase string, sequence uint32) (string, error)
func (*SDK) AddressSecret ¶
func (s *SDK) AddressSecret(blockchain wconstants.BlockchainType, address string, mnemonic string, passphrase string, sequence uint32) (string, error)
func (*SDK) AddressWallet ¶
func (s *SDK) AddressWallet(blockchain wconstants.BlockchainType, addressType string, mnemonic string, passphrase string, sequence uint32) (string, error)
func (*SDK) GenerateAddress ¶
func (s *SDK) GenerateAddress(blockchain wconstants.BlockchainType, addressType string, mnemonic string, passphrase string, sequence uint32) (*GenerateAddress, error)
func (*SDK) ValidateAddress ¶
func (s *SDK) ValidateAddress(blockchain wconstants.BlockchainType, address string) bool
Click to show internal directories.
Click to hide internal directories.