BlueWallet/class/hd-segwit-bech32-wallet.js
2020-03-25 17:08:55 +00:00

31 lines
595 B
JavaScript

import { AbstractHDElectrumWallet } from './abstract-hd-electrum-wallet';
/**
* HD Wallet (BIP39).
* In particular, BIP84 (Bech32 Native Segwit)
* @see https://github.com/bitcoin/bips/blob/master/bip-0084.mediawiki
*/
export class HDSegwitBech32Wallet extends AbstractHDElectrumWallet {
static type = 'HDsegwitBech32';
static typeReadable = 'HD SegWit (BIP84 Bech32 Native)';
allowSend() {
return true;
}
allowBatchSend() {
return true;
}
allowSendMax() {
return true;
}
allowHodlHodlTrading() {
return true;
}
allowRBF() {
return true;
}
}