From 8f2f0f9fe6cd1d98eb3bb0e324d6cde480caca9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Tue, 12 Jun 2018 14:19:27 +0200 Subject: [PATCH] add a legacy derivation for ripple --- src/helpers/derivations.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/helpers/derivations.js b/src/helpers/derivations.js index a5832b83..0ff30c3c 100644 --- a/src/helpers/derivations.js +++ b/src/helpers/derivations.js @@ -11,9 +11,12 @@ const ethLegacyMEW: Derivation = ({ x }) => `44'/60'/0'/${x}` const etcLegacyMEW: Derivation = ({ x }) => `44'/60'/160720'/${x}` +const rippleLegacy: Derivation = ({ x }) => `44'/144'/0'/${x}'` + const legacyDerivations = { ethereum: [ethLegacyMEW], ethereum_classic: [etcLegacyMEW], + ripple: [rippleLegacy], } export const standardDerivation: Derivation = ({ currency, segwit, x }) => {