Skip to content

Commit 8dbcdb7

Browse files
committed
feat: Add comprehensive EIP1193 adapters with conversion and provider support
1 parent a7dc471 commit 8dbcdb7

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.changeset/eleven-chicken-smile.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,14 @@
22
"thirdweb": minor
33
---
44

5-
Adds EIP1193 adapters
5+
Adds EIP1193 adapters that allow conversion between Thirdweb wallets and EIP-1193 providers:
6+
7+
- `EIP1193.fromProvider()`: Creates a Thirdweb wallet from any EIP-1193 compatible provider (like MetaMask, WalletConnect)
8+
- `EIP1193.toProvider()`: Converts a Thirdweb wallet into an EIP-1193 provider that can be used with any web3 library
9+
10+
Key features:
11+
- Full EIP-1193 compliance for seamless integration
12+
- Handles account management (connect, disconnect, chain switching)
13+
- Supports all standard Ethereum JSON-RPC methods
14+
- Comprehensive event system for state changes
15+
- Type-safe interfaces with full TypeScript support

0 commit comments

Comments
 (0)