- Add GETTING_STARTED.md with quick start guide and development modes - Add INSTALL.sh automated installation script - Add INSTALLATION_CHECKLIST.md, INSTALLATION_SUCCESS.md, and INSTALLATION_SUMMARY.md - Add QUICK_REFERENCE.md for common commands - Add SETUP_GUIDE.md with detailed setup instructions - Update README.md with improved project overview - Add did-wallet app dependencies and node_modules
16 lines
444 B
JavaScript
16 lines
444 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.decodeHex = exports.remove0x = void 0;
|
|
var utils_1 = require("@noble/ciphers/utils");
|
|
function remove0x(hex) {
|
|
if (hex.startsWith("0x") || hex.startsWith("0X")) {
|
|
return hex.slice(2);
|
|
}
|
|
return hex;
|
|
}
|
|
exports.remove0x = remove0x;
|
|
function decodeHex(hex) {
|
|
return (0, utils_1.hexToBytes)(remove0x(hex));
|
|
}
|
|
exports.decodeHex = decodeHex;
|