UNPKG

@safik/fk-plug-controller

Version:

Internet Computer Plug wallet's controller

11 lines (10 loc) 485 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HARDENED_OFFSET = exports.SUB_ACCOUNT_ZERO = exports.ACCOUNT_DOMAIN_SEPERATOR = exports.DERIVATION_PATH = void 0; // ED25519 key derivation path exports.DERIVATION_PATH = "m/44'/223'/0'/0"; // Dfinity Account separator exports.ACCOUNT_DOMAIN_SEPERATOR = '\x0Aaccount-id'; // Subaccounts are arbitrary 32-byte values. exports.SUB_ACCOUNT_ZERO = Buffer.alloc(32); exports.HARDENED_OFFSET = 0x80000000;