Documentation
¶
Index ¶
- func SDKED25519SignatureToIOTAGo(responseSignature *types.Ed25519Signature) (iotago.Signature, error)
- type ExternalAddressSigner
- type ExternalWallet
- func (l *ExternalWallet) Address() *iotago.Ed25519Address
- func (l *ExternalWallet) AddressIndex() uint32
- func (l *ExternalWallet) AddressKeysForEd25519Address(addr *iotago.Ed25519Address) iotago.AddressKeys
- func (l *ExternalWallet) AsAddressSigner() iotago.AddressSigner
- func (l *ExternalWallet) GetPublicKey() *cryptolib.PublicKey
- func (l *ExternalWallet) IsNil() bool
- func (l *ExternalWallet) Sign(addr iotago.Address, payload []byte) (signature iotago.Signature, err error)
- func (l *ExternalWallet) SignBytes(payload []byte) []byte
- type Wallet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SDKED25519SignatureToIOTAGo ¶
func SDKED25519SignatureToIOTAGo(responseSignature *types.Ed25519Signature) (iotago.Signature, error)
Types ¶
type ExternalAddressSigner ¶
type ExternalAddressSigner struct {
// contains filtered or unexported fields
}
type ExternalWallet ¶
type ExternalWallet struct { Bech32Hrp string CoinType types.CoinType // contains filtered or unexported fields }
func NewExternalWallet ¶
func NewExternalWallet(secretManager *walletsdk.SecretManager, addressIndex uint32, bech32Hrp string, coinType types.CoinType) *ExternalWallet
func (*ExternalWallet) Address ¶
func (l *ExternalWallet) Address() *iotago.Ed25519Address
func (*ExternalWallet) AddressIndex ¶
func (l *ExternalWallet) AddressIndex() uint32
func (*ExternalWallet) AddressKeysForEd25519Address ¶
func (l *ExternalWallet) AddressKeysForEd25519Address(addr *iotago.Ed25519Address) iotago.AddressKeys
func (*ExternalWallet) AsAddressSigner ¶
func (l *ExternalWallet) AsAddressSigner() iotago.AddressSigner
func (*ExternalWallet) GetPublicKey ¶
func (l *ExternalWallet) GetPublicKey() *cryptolib.PublicKey
func (*ExternalWallet) IsNil ¶
func (l *ExternalWallet) IsNil() bool
func (*ExternalWallet) SignBytes ¶
func (l *ExternalWallet) SignBytes(payload []byte) []byte
type Wallet ¶
type Wallet interface { cryptolib.VariantKeyPair AddressIndex() uint32 }
Click to show internal directories.
Click to hide internal directories.