aboutsummaryrefslogtreecommitdiff
path: root/src/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/index.js')
-rw-r--r--src/js/index.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/js/index.js b/src/js/index.js
index c9e7b44..d169ed2 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -2100,6 +2100,15 @@
2100 }, 2100 },
2101 }, 2101 },
2102 { 2102 {
2103 name: "BTC - Bitcoin RegTest",
2104 onSelect: function() {
2105 network = bitcoinjs.bitcoin.networks.regtest;
2106 // Using hd coin value 1 based on bip44_coin_type
2107 // https://github.com/chaintope/bitcoinrb/blob/f1014406f6b8f9b4edcecedc18df70c80df06f11/lib/bitcoin/chainparams/regtest.yml
2108 setHdCoin(1);
2109 },
2110 },
2111 {
2103 name: "BTC - Bitcoin Testnet", 2112 name: "BTC - Bitcoin Testnet",
2104 onSelect: function() { 2113 onSelect: function() {
2105 network = bitcoinjs.bitcoin.networks.testnet; 2114 network = bitcoinjs.bitcoin.networks.testnet;