@initia/interwovenkit-react 2.0.0-rc.5 → 2.0.0-rc.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -3
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3061 -2569
- package/dist/styles.css +1 -1
- package/dist/styles.js +1 -1
- package/package.json +25 -25
package/README.md
CHANGED
|
@@ -1,8 +1,47 @@
|
|
|
1
1
|
# @initia/interwovenkit-react
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
InterwovenKit is a React library that provides components and hooks to connect dApps to Initia and Interwoven Rollups.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Table of Contents
|
|
6
|
+
|
|
7
|
+
- [Features](#features)
|
|
8
|
+
- [Getting Started](#getting-started)
|
|
9
|
+
- [Installation](#installation)
|
|
10
|
+
- [Configure Providers](#configure-providers)
|
|
11
|
+
- [Basic Example](#basic-example)
|
|
12
|
+
- [Usage on Testnet](#usage-on-testnet)
|
|
13
|
+
- [Migrating From v1](#migrating-from-v1)
|
|
14
|
+
|
|
15
|
+
## Features
|
|
16
|
+
|
|
17
|
+
### Connect
|
|
18
|
+
|
|
19
|
+
Connect to external wallets. Supports multiple wallet providers including MetaMask and Keplr.
|
|
20
|
+
|
|
21
|
+
### Wallet
|
|
22
|
+
|
|
23
|
+
Wallet interface for managing assets across Interwoven rollups:
|
|
24
|
+
|
|
25
|
+
- View fungible tokens
|
|
26
|
+
- Browse NFT items
|
|
27
|
+
- Track transaction history
|
|
28
|
+
|
|
29
|
+
### Bridge
|
|
30
|
+
|
|
31
|
+
Cross-chain bridge and swap functionality:
|
|
32
|
+
|
|
33
|
+
- Transfer assets between Initia and Interwoven rollups
|
|
34
|
+
- Swap tokens within and across chains
|
|
35
|
+
- Automatic route optimization for best rates
|
|
36
|
+
- Support for OP Bridge withdrawals
|
|
37
|
+
|
|
38
|
+
### Transaction Signing
|
|
39
|
+
|
|
40
|
+
Transaction handling with detailed preview:
|
|
41
|
+
|
|
42
|
+
- Fee estimation with multiple fee token options
|
|
43
|
+
- Transaction simulation before signing
|
|
44
|
+
- Detailed message breakdown
|
|
6
45
|
|
|
7
46
|
## Getting Started
|
|
8
47
|
|
|
@@ -49,7 +88,7 @@ export default function Providers({ children }: PropsWithChildren) {
|
|
|
49
88
|
return (
|
|
50
89
|
<QueryClientProvider client={queryClient}>
|
|
51
90
|
<WagmiProvider config={wagmiConfig}>
|
|
52
|
-
<InterwovenKitProvider defaultChainId="
|
|
91
|
+
<InterwovenKitProvider defaultChainId="YOUR_CHAIN_ID">{children}</InterwovenKitProvider>
|
|
53
92
|
</WagmiProvider>
|
|
54
93
|
</QueryClientProvider>
|
|
55
94
|
)
|