ed25519 w/ bip44 option (#436)

* ed25519 w/ bip44 option

* naming

* Rename Ledger option (no bip32-ed25519 compatible)
This commit is contained in:
Jaco Greeff
2021-01-28 15:10:03 +01:00
committed by GitHub
parent 82bd15b09c
commit 0f0bea2624
3 changed files with 16 additions and 2 deletions
@@ -28,3 +28,12 @@ export const CRYPTOS_ETH: Option[] = [
value: 'ethereum'
}
];
export const CRYPTOS_LEDGER: Option[] = [
...CRYPTOS,
{
info: 'ed25519-ledger',
text: 'Ledger (ed25519, BIP32 derivation)',
value: 'ed25519-ledger'
}
];
+2 -1
View File
@@ -3,7 +3,7 @@
import type { Option } from '../types';
import { CRYPTOS, CRYPTOS_ETH } from './crypto';
import { CRYPTOS, CRYPTOS_ETH, CRYPTOS_LEDGER } from './crypto';
import { ENDPOINT_DEFAULT, ENDPOINTS } from './endpoints';
import { LEDGER_CONN, LEDGER_CONN_DEFAULT } from './ledger';
import { PREFIX_DEFAULT, PREFIXES } from './ss58';
@@ -46,6 +46,7 @@ export {
CAMERA,
CRYPTOS,
CRYPTOS_ETH,
CRYPTOS_LEDGER,
ENDPOINT_DEFAULT,
ENDPOINTS,
ICON_DEFAULT,