@impersonator/provider
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

@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

Readme

Keywords

Package Sidebar

Install

npm i @impersonator/provider

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

16.6 MB

Total Files

14

Last publish

Collaborators

  • apoorvlathey