Files
ui/packages/ui-settings/src/defaults/crypto.ts
T
Tarik Gul c5ab15118d Set headers for 2026 (#859)
* Set headers for 2026

* remaining headers
2026-03-13 15:56:35 +02:00

40 lines
776 B
TypeScript

// Copyright 2017-2026 @polkadot/ui-settings authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Option } from '../types.js';
export const CRYPTOS: Option[] = [
{
info: 'sr25519',
text: 'Schnorrkel (sr25519, recommended)',
value: 'sr25519'
},
{
info: 'ed25519',
text: 'Edwards (ed25519, alternative)',
value: 'ed25519'
},
{
info: 'ecdsa',
text: 'ECDSA (Non BTC/ETH compatible)',
value: 'ecdsa'
}
];
export const CRYPTOS_ETH: Option[] = [
{
info: 'ethereum',
text: 'ECDSA (ETH compatible)',
value: 'ethereum'
}
];
export const CRYPTOS_LEDGER: Option[] = [
...CRYPTOS,
{
info: 'ed25519-ledger',
text: 'Ledger (ed25519, BIP32 derivation)',
value: 'ed25519-ledger'
}
];