getAddress method
Get the P2WPKH (pay-to-witness-pub-key-hash) address for a specific change and address index.
Implementation
@override
String getAddress(int changeIndex, int addressIndex) {
return P2WPKHAddrEncoder()
.encodeKey(getPublicKey(changeIndex, addressIndex).compressed, {
"hrp": CoinsConf.bitcoinMainNet.params.p2wpkhHrp!,
});
}