eip1193bridge
v1.0.6
Published
Experimental [eip1193Bridge](https://github.com/ethers-io/ethers.js/blob/ethers-v5-beta/packages/experimental/src.ts/eip1193-bridge.ts) implementation with support for Ethers V6 and (maybe) V5. This package provides an adapter to help legacy Ethereum prov
Maintainers
Readme
eip1193-bridge
Experimental eip1193Bridge implementation with support for Ethers V6 and (maybe) V5. This package provides an adapter to help legacy Ethereum providers conform to the newer EIP-1193 standard.
Installation
yarn add eip1193bridgeor
npm install eip1193bridgeUsage
import { Eip1193Bridge } from 'eip1193bridge'
...
const provider = new BrowserProvider(window.ethereum)
const signer = await providerV6.getSigner()
const bridge = new Eip1193Bridge(signer, provider)Use Cases
- Modernizing legacy dApps
- Ensuring provider compatibility across different wallet implementations
- Building cross-version compatible Ethereum applications
- Standardizing provider interfaces in multi-wallet applications
