UNPKG

@thirdweb-dev/wallets

Version:

<p align="center"> <br /> <a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a> <br /> </p> <h1 align="center">thirdweb Wallet SDK</h1> <p align="center"> <a href="ht

12 lines 678 B
import { AccountAPI } from "./account"; import { providers } from "ethers"; import { ERC4337EthersProvider } from "./erc4337-provider"; import { ProviderConfig } from "../types"; /** * wrap an existing provider to tunnel requests through Account Abstraction. * @param originalProvider the normal provider * @param config see ClientConfig for more info * @param originalSigner use this signer as the owner. of this wallet. By default, use the provider's signer */ export declare function create4337Provider(config: ProviderConfig, accountApi: AccountAPI, originalProvider: providers.BaseProvider): Promise<ERC4337EthersProvider>; //# sourceMappingURL=provider-utils.d.ts.map