import { Wallet } from "ethers";
export function provisionEthWallet() {
    const wallet = Wallet.createRandom();
    const mnemonic = wallet.mnemonic?.phrase;
    if (!mnemonic) {
        throw new Error("Failed to generate wallet mnemonic");
    }
    return {
        address: wallet.address,
        privateKey: wallet.privateKey,
        mnemonic,
    };
}
//# sourceMappingURL=provision-eth-wallet.js.map