BlueWallet/class/hd-segwit-bech32-wallet.js

32 lines
595 B
JavaScript
Raw Normal View History

2019-12-23 23:11:00 +00:00
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
*/
2019-12-23 23:11:00 +00:00
export class HDSegwitBech32Wallet extends AbstractHDElectrumWallet {
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-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;
}
allowHodlHodlTrading() {
return true;
}
allowRBF() {
return true;
}
}