2019-12-23 23:11:00 +00:00
|
|
|
import { AbstractHDElectrumWallet } from './abstract-hd-electrum-wallet';
|
2019-05-05 23:17:31 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* HD Wallet (BIP39).
|
|
|
|
* In particular, BIP84 (Bech32 Native Segwit)
|
|
|
|
* @see https://github.com/bitcoin/bips/blob/master/bip-0084.mediawiki
|
|
|
|
*/
|
2019-12-23 23:11:00 +00:00
|
|
|
export class HDSegwitBech32Wallet extends AbstractHDElectrumWallet {
|
2019-05-05 23:17:31 +01:00
|
|
|
static type = 'HDsegwitBech32';
|
|
|
|
static typeReadable = 'HD SegWit (BIP84 Bech32 Native)';
|
2019-05-23 17:22:23 +01:00
|
|
|
|
2019-12-23 23:11:00 +00:00
|
|
|
allowSend() {
|
|
|
|
return true;
|
2019-05-05 23:17:31 +01:00
|
|
|
}
|
|
|
|
|
2019-06-08 00:06:21 +01:00
|
|
|
allowBatchSend() {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2019-12-23 23:11:00 +00:00
|
|
|
allowSendMax() {
|
2019-08-04 20:33:15 +01:00
|
|
|
return true;
|
|
|
|
}
|
2020-03-11 19:16:51 +00:00
|
|
|
|
2020-03-23 16:32:51 +00:00
|
|
|
allowHodlHodlTrading() {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2020-03-11 19:16:51 +00:00
|
|
|
allowRBF() {
|
|
|
|
return true;
|
|
|
|
}
|
2019-05-05 23:17:31 +01:00
|
|
|
}
|