@thirdweb-dev/wallets
Version:
<p align="center"> <br /> <a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a> <br /> </p> <h1 align="center">thirdweb Wallet SDK</h1> <p align="center"> <a h
12 lines • 700 B
TypeScript
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 {@link 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, chainId: number): ERC4337EthersProvider;
//# sourceMappingURL=provider-utils.d.ts.map