@trezor/connect
Version:
High-level javascript interface for Trezor hardware wallet.
210 lines (209 loc) • 3.69 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.CARDANO_DERIVATIONS = exports.ACCOUNT_TYPES = void 0;
const constants_1 = require("../../constants");
exports.ACCOUNT_TYPES = [{
symbol: 'btc',
type: 'normal',
path: "m/84'/0'/i'"
}, {
symbol: 'btc',
type: 'taproot',
path: "m/86'/0'/i'"
}, {
symbol: 'btc',
type: 'segwit',
path: "m/49'/0'/i'"
}, {
symbol: 'btc',
type: 'legacy',
path: "m/44'/0'/i'"
}, {
symbol: 'test',
type: 'normal',
path: "m/84'/1'/i'"
}, {
symbol: 'test',
type: 'taproot',
path: "m/86'/1'/i'"
}, {
symbol: 'test',
type: 'segwit',
path: "m/49'/1'/i'"
}, {
symbol: 'test',
type: 'legacy',
path: "m/44'/1'/i'"
}, {
symbol: 'regtest',
type: 'normal',
path: "m/84'/1'/i'"
}, {
symbol: 'regtest',
type: 'taproot',
path: "m/86'/1'/i'"
}, {
symbol: 'regtest',
type: 'segwit',
path: "m/49'/1'/i'"
}, {
symbol: 'regtest',
type: 'legacy',
path: "m/44'/1'/i'"
}, {
symbol: 'eth',
type: 'normal',
path: "m/44'/60'/0'/0/i"
}, {
symbol: 'eth',
type: 'ledger',
path: "m/44'/60'/i'/0/0"
}, {
symbol: 'eth',
type: 'legacy',
path: "m/44'/60'/0'/i"
}, {
symbol: 'tsep',
type: 'normal',
path: "m/44'/1'/0'/0/i"
}, {
symbol: 'thod',
type: 'normal',
path: "m/44'/1'/0'/0/i"
}, {
symbol: 'pol',
type: 'normal',
path: "m/44'/60'/0'/0/i"
}, {
symbol: 'pol',
type: 'ledger',
path: "m/44'/60'/i'/0/0"
}, {
symbol: 'bsc',
type: 'normal',
path: "m/44'/60'/0'/0/i"
}, {
symbol: 'bsc',
type: 'ledger',
path: "m/44'/60'/i'/0/0"
}, {
symbol: 'arb',
type: 'normal',
path: "m/44'/60'/0'/0/i"
}, {
symbol: 'arb',
type: 'ledger',
path: "m/44'/60'/i'/0/0"
}, {
symbol: 'base',
type: 'normal',
path: "m/44'/60'/0'/0/i"
}, {
symbol: 'base',
type: 'ledger',
path: "m/44'/60'/i'/0/0"
}, {
symbol: 'op',
type: 'normal',
path: "m/44'/60'/0'/0/i"
}, {
symbol: 'op',
type: 'ledger',
path: "m/44'/60'/i'/0/0"
}, {
symbol: 'avax',
type: 'normal',
path: "m/44'/60'/0'/0/i"
}, {
symbol: 'avax',
type: 'ledger',
path: "m/44'/60'/i'/0/0"
}, {
symbol: 'sol',
type: 'normal',
path: "m/44'/501'/i'/0'"
}, {
symbol: 'sol',
type: 'ledger',
path: "m/44'/501'/i'"
}, {
symbol: 'dsol',
type: 'normal',
path: "m/44'/501'/i'/0'"
}, {
symbol: 'ada',
type: 'normal',
path: "m/1852'/1815'/i'"
}, {
symbol: 'ada',
type: 'legacy',
path: "m/1852'/1815'/i'"
}, {
symbol: 'ada',
type: 'ledger',
path: "m/1852'/1815'/i'"
}, {
symbol: 'tada',
type: 'normal',
path: "m/1852'/1815'/i'"
}, {
symbol: 'tada',
type: 'legacy',
path: "m/1852'/1815'/i'"
}, {
symbol: 'tada',
type: 'ledger',
path: "m/1852'/1815'/i'"
}, {
symbol: 'etc',
type: 'normal',
path: "m/44'/61'/0'/0/i"
}, {
symbol: 'xrp',
type: 'normal',
path: "m/44'/144'/i'/0/0"
}, {
symbol: 'txrp',
type: 'normal',
path: "m/44'/144'/i'/0/0"
}, {
symbol: 'ltc',
type: 'normal',
path: "m/84'/2'/i'"
}, {
symbol: 'ltc',
type: 'segwit',
path: "m/49'/2'/i'"
}, {
symbol: 'ltc',
type: 'legacy',
path: "m/44'/2'/i'"
}, {
symbol: 'bch',
type: 'normal',
path: "m/44'/145'/i'"
}, {
symbol: 'doge',
type: 'normal',
path: "m/44'/3'/i'"
}, {
symbol: 'zec',
type: 'normal',
path: "m/44'/133'/i'"
}, {
symbol: 'xlm',
type: 'normal',
path: "m/44'/148'/i'"
}, {
symbol: 'txlm',
type: 'normal',
path: "m/44'/148'/i'"
}];
exports.CARDANO_DERIVATIONS = {
normal: constants_1.PROTO.CardanoDerivationType.ICARUS,
legacy: constants_1.PROTO.CardanoDerivationType.ICARUS_TREZOR,
ledger: constants_1.PROTO.CardanoDerivationType.LEDGER
};
//# sourceMappingURL=discoverAccounts.js.map