1.0.6 • Published 8 months ago
eip1193bridge v1.0.6
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 eip1193bridge
or
npm install eip1193bridge
Usage
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