UNPKG

@jovijovi/ether-keystore

Version:

A keystore toolkit for Ethereum ecosystem

21 lines 539 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CombinationKey = exports.Remove0xPrefix = void 0; // Remove '0x' prefix function Remove0xPrefix(s) { if (!s) { return ''; } const index = s.indexOf('0x'); if (index < 0) { return s; } return s.substring(index + 2); } exports.Remove0xPrefix = Remove0xPrefix; // Combination key function CombinationKey(keys) { return keys.toString(); } exports.CombinationKey = CombinationKey; //# sourceMappingURL=ksutil.js.map