Add bitcoin regtest params

This commit is contained in:
Ian Coleman
2019-12-18 09:51:00 +11:00
parent 244c76022a
commit f12242014d
4 changed files with 81 additions and 0 deletions
+9
View File
@@ -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() {