@lit-protocol/vincent-scaffold-sdk
Version:
Shared build configuration and utilities for Vincent abilities and policies
11 lines • 583 B
TypeScript
import { ethers } from "ethers";
/**
* Fund a PKP if it has zero balance
* @param pkpAddress The PKP's Ethereum address
* @param isNewPKP Whether this is a newly minted PKP
* @param funderWallet The ethers wallet to fund from
* @param provider The ethers provider to check balance
* @param fundAmount Amount to fund (default: 0.01 ETH)
*/
export declare function fundPKPIfNeeded(pkpAddress: string, isNewPKP: boolean, funderWallet: ethers.Wallet, provider: ethers.providers.JsonRpcProvider, fundAmount?: ethers.BigNumber): Promise<void>;
//# sourceMappingURL=fund-pkp.d.ts.map