@impersonator/provider
v0.1.1
Published
Web3 Provider with the ability to impersonate as any Address
Downloads
5
Readme
@impersonator/provider
Web3 Provider with the ability to impersonate as any Address via read-only mode.
Note: This package is built to be used in Web applications.
Usage
import ImpersonatorProvider from "@impersonator/provider";
const rpc = "https://mainnet.infura.io/v3/<INFURA_ID>";
const provider = new ImpersonatorProvider(rpc);
await provider.init(); // Pops up Modal where the user can enter which address/ENS they want to impersonate