opstack-kit-chains
Version:
Support your OP-Stack network with 'opstack-kit'
10 lines • 439 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.generatePrivateKey = void 0;
const secp256k1_1 = require("@noble/curves/secp256k1");
const toHex_js_1 = require("../utils/encoding/toHex.js");
function generatePrivateKey() {
return (0, toHex_js_1.toHex)(secp256k1_1.secp256k1.utils.randomPrivateKey());
}
exports.generatePrivateKey = generatePrivateKey;
//# sourceMappingURL=generatePrivateKey.js.map
;