mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-28 13:20:41 +00:00
Add bitcoin regtest params
This commit is contained in:
@@ -2099,6 +2099,15 @@
|
||||
setHdCoin(0);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "BTC - Bitcoin RegTest",
|
||||
onSelect: function() {
|
||||
network = bitcoinjs.bitcoin.networks.regtest;
|
||||
// Using hd coin value 1 based on bip44_coin_type
|
||||
// https://github.com/chaintope/bitcoinrb/blob/f1014406f6b8f9b4edcecedc18df70c80df06f11/lib/bitcoin/chainparams/regtest.yml
|
||||
setHdCoin(1);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "BTC - Bitcoin Testnet",
|
||||
onSelect: function() {
|
||||
|
||||
Reference in New Issue
Block a user