ElectrumV2Segwit class

Implementation of Electrum V2 for the segwit type wallet.

Inheritance

Constructors

ElectrumV2Segwit(Bip32Slip10Secp256k1 bip32)
ElectrumV2Segwit.fromSeed(List<int> seedBytes)
Factory method to create an instance from a seed.
factory

Properties

bip32 → Bip32Slip10Secp256k1
finalinherited
bip32Account → Bip32Base<Bip32Base>
final
hashCode → int
The hash code for this object.
no setterinherited
isPublicOnly → bool
no setterinherited
masterPrivateKey → Bip32PrivateKey
Get the master private key.
no setterinherited
masterPublicKey → Bip32PublicKey
Get the master public key.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAddress(int changeIndex, int addressIndex) → String
Get the P2WPKH (pay-to-witness-pub-key-hash) address for a specific change and address index.
override
getPrivateKey(int changeIndex, int addressIndex) → Bip32PrivateKey
Get a specific private key based on change and address indexes.
override
getPublicKey(int changeIndex, int addressIndex) → Bip32PublicKey
Get a specific public key based on change and address indexes.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited