diff options
author | Martín Raúl Villalba <martin@martinvillalba.com> | 2020-09-25 12:27:50 -0300 |
---|---|---|
committer | Martín Raúl Villalba <martin@martinvillalba.com> | 2020-09-25 12:27:50 -0300 |
commit | 995bc58791ddbb59e9b3d0d75c11c1c058e24071 (patch) | |
tree | 438b03c3ee44200ece5272b1f3ab4ca4199874af /src | |
parent | 920f7aa0785f3d2fb7b08667ea371f349eb4bced (diff) | |
download | BIP39-995bc58791ddbb59e9b3d0d75c11c1c058e24071.tar.gz BIP39-995bc58791ddbb59e9b3d0d75c11c1c058e24071.tar.zst BIP39-995bc58791ddbb59e9b3d0d75c11c1c058e24071.zip |
Add Binance Smart Chain (BSC) support
Diffstat (limited to 'src')
-rw-r--r-- | src/js/index.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/js/index.js b/src/js/index.js index 252eec1..cd3f769 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -1887,6 +1887,7 @@ | |||
1887 | || (name == "ESN - Ethersocial Network") | 1887 | || (name == "ESN - Ethersocial Network") |
1888 | || (name == "VET - VeChain") | 1888 | || (name == "VET - VeChain") |
1889 | || (name == "ERE - EtherCore") | 1889 | || (name == "ERE - EtherCore") |
1890 | || (name == "BSC - Binance Smart Chain") | ||
1890 | } | 1891 | } |
1891 | 1892 | ||
1892 | function networkIsRsk() { | 1893 | function networkIsRsk() { |
@@ -2233,6 +2234,13 @@ | |||
2233 | }, | 2234 | }, |
2234 | }, | 2235 | }, |
2235 | { | 2236 | { |
2237 | name: "BSC - Binance Smart Chain", | ||
2238 | onSelect: function() { | ||
2239 | network = libs.bitcoin.networks.bitcoin; | ||
2240 | setHdCoin(60); | ||
2241 | }, | ||
2242 | }, | ||
2243 | { | ||
2236 | name: "BSV - BitcoinSV", | 2244 | name: "BSV - BitcoinSV", |
2237 | onSelect: function() { | 2245 | onSelect: function() { |
2238 | network = libs.bitcoin.networks.bitcoinsv; | 2246 | network = libs.bitcoin.networks.bitcoinsv; |