UNPKG

@etherspot/prime-sdk

Version:

Etherspot Prime (Account Abstraction) SDK

9 lines (8 loc) 292 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.randomPrivateKey = void 0; const ethers_1 = require("ethers"); function randomPrivateKey() { return ethers_1.utils.hexlify(ethers_1.utils.randomBytes(32)); } exports.randomPrivateKey = randomPrivateKey;