Browse Source

Merge pull request #516 from gre/legacy-ripple-derivation

add a legacy derivation for ripple
master
Gaëtan Renaudeau 7 years ago
committed by GitHub
parent
commit
be9c82ac7f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/helpers/derivations.js

3
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 }) => {

Loading…
Cancel
Save