aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhackyminer <hackyminer@gmail.com>2019-04-26 01:33:59 +0900
committerhackyminer <hackyminer@gmail.com>2019-04-26 01:33:59 +0900
commit2885ddd5f7d6dbe6211fd699e58ce0da6ac6295c (patch)
tree6abbb26a056fc1501f136fd9add1f768161b1338 /src
parentc4a09d67eb944be6536702f7a511f2601ec3e27e (diff)
downloadBIP39-2885ddd5f7d6dbe6211fd699e58ce0da6ac6295c.tar.gz
BIP39-2885ddd5f7d6dbe6211fd699e58ce0da6ac6295c.tar.zst
BIP39-2885ddd5f7d6dbe6211fd699e58ce0da6ac6295c.zip
add Ellaism(ELLA) suppport
Diffstat (limited to 'src')
-rw-r--r--src/js/index.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/js/index.js b/src/js/index.js
index 8262947..6428aa7 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -918,7 +918,9 @@
918 || (networks[DOM.network.val()].name == "POA - Poa") 918 || (networks[DOM.network.val()].name == "POA - Poa")
919 || (networks[DOM.network.val()].name == "EXP - Expanse") 919 || (networks[DOM.network.val()].name == "EXP - Expanse")
920 || (networks[DOM.network.val()].name == "CLO - Callisto") 920 || (networks[DOM.network.val()].name == "CLO - Callisto")
921 || (networks[DOM.network.val()].name == "DXN - DEXON")) { 921 || (networks[DOM.network.val()].name == "DXN - DEXON")
922 || (networks[DOM.network.val()].name == "ELLA - Ellaism")
923 ) {
922 var privKeyBuffer = keyPair.d.toBuffer(32); 924 var privKeyBuffer = keyPair.d.toBuffer(32);
923 privkey = privKeyBuffer.toString('hex'); 925 privkey = privKeyBuffer.toString('hex');
924 var addressBuffer = ethUtil.privateToAddress(privKeyBuffer); 926 var addressBuffer = ethUtil.privateToAddress(privKeyBuffer);
@@ -1978,6 +1980,14 @@
1978 }, 1980 },
1979 }, 1981 },
1980 { 1982 {
1983 name: "ELLA - Ellaism",
1984 segwitAvailable: false,
1985 onSelect: function() {
1986 network = bitcoinjs.bitcoin.networks.bitcoin;
1987 setHdCoin(163);
1988 },
1989 },
1990 {
1981 name: "EMC2 - Einsteinium", 1991 name: "EMC2 - Einsteinium",
1982 onSelect: function() { 1992 onSelect: function() {
1983 network = bitcoinjs.bitcoin.networks.einsteinium; 1993 network = bitcoinjs.bitcoin.networks.einsteinium;