From 04abb22ceeec9824325e1b256575f63b193ee4f3 Mon Sep 17 00:00:00 2001 From: hackyminer Date: Wed, 26 Sep 2018 19:13:16 +0900 Subject: [PATCH] restore Ethersocial Network(ESN) node * add a missing Ledger support --- app/scripts/globalFuncs.js | 2 ++ app/scripts/nodes.js | 13 +++++++++++++ 2 files changed, 15 insertions(+) diff --git a/app/scripts/globalFuncs.js b/app/scripts/globalFuncs.js index 34d7572deb..cea7367d53 100644 --- a/app/scripts/globalFuncs.js +++ b/app/scripts/globalFuncs.js @@ -443,6 +443,8 @@ globalFuncs.getWalletPath = function( return globalFuncs.HDWallet.hwPirlPath; case nodes.nodeTypes.AKA: return globalFuncs.HDWallet.hwAkromaPath; + case nodes.nodeTypes.ESN: + return globalFuncs.HDWallet.hwESNetworkPath; default: return globalFuncs.HDWallet.ledgerPath; } diff --git a/app/scripts/nodes.js b/app/scripts/nodes.js index a6f4d637a2..7c32f2657f 100644 --- a/app/scripts/nodes.js +++ b/app/scripts/nodes.js @@ -386,6 +386,19 @@ nodes.nodeList = { service: "ellaism.org", lib: new nodes.customNode("https://jsonrpc.ellaism.org", "") }, + esn: { + name: "ESN", + blockExplorerTX: "https://ethersocial.net/tx/[[txHash]]", + blockExplorerAddr: "https://ethersocial.net/addr/[[address]]", + type: nodes.nodeTypes.ESN, + eip155: true, + chainId: 31102, + tokenList: require("./tokens/esnTokens.json"), + abiList: require("./abiDefinitions/esnAbi.json"), + estimateGas: true, + service: "ethersocial.org", + lib: new nodes.customNode("https://api.esn.gonspool.com", "") + }, aka: { name: "AKA", blockExplorerTX: "https://akroma.io/explorer/transaction/[[txHash]]",