@sodax/dapp-kit 0.0.1-rc.28 → 0.0.1-rc.29
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 +23 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -68,6 +68,17 @@ pnpm install @sodax/dapp-kit @tanstack/react-query @sodax/wallet-sdk-react
|
|
|
68
68
|
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
69
69
|
import { SodaxWalletProvider } from '@sodax/wallet-sdk-react';
|
|
70
70
|
import { SodaxProvider } from '@sodax/dapp-kit';
|
|
71
|
+
import {
|
|
72
|
+
ARBITRUM_MAINNET_CHAIN_ID,
|
|
73
|
+
AVALANCHE_MAINNET_CHAIN_ID,
|
|
74
|
+
BASE_MAINNET_CHAIN_ID,
|
|
75
|
+
BSC_MAINNET_CHAIN_ID,
|
|
76
|
+
OPTIMISM_MAINNET_CHAIN_ID,
|
|
77
|
+
POLYGON_MAINNET_CHAIN_ID,
|
|
78
|
+
SONIC_MAINNET_CHAIN_ID,
|
|
79
|
+
HYPEREVM_MAINNET_CHAIN_ID,
|
|
80
|
+
LIGHTLINK_MAINNET_CHAIN_ID,
|
|
81
|
+
} from '@sodax/types';
|
|
71
82
|
|
|
72
83
|
const queryClient = new QueryClient();
|
|
73
84
|
|
|
@@ -82,7 +93,18 @@ function App() {
|
|
|
82
93
|
<SodaxWalletProvider
|
|
83
94
|
config={{
|
|
84
95
|
EVM: {
|
|
85
|
-
|
|
96
|
+
// Add all the EVM chains you want to support
|
|
97
|
+
chains: [
|
|
98
|
+
ARBITRUM_MAINNET_CHAIN_ID,
|
|
99
|
+
AVALANCHE_MAINNET_CHAIN_ID,
|
|
100
|
+
BASE_MAINNET_CHAIN_ID,
|
|
101
|
+
BSC_MAINNET_CHAIN_ID,
|
|
102
|
+
OPTIMISM_MAINNET_CHAIN_ID,
|
|
103
|
+
POLYGON_MAINNET_CHAIN_ID,
|
|
104
|
+
SONIC_MAINNET_CHAIN_ID,
|
|
105
|
+
HYPEREVM_MAINNET_CHAIN_ID,
|
|
106
|
+
LIGHTLINK_MAINNET_CHAIN_ID,
|
|
107
|
+
],
|
|
86
108
|
},
|
|
87
109
|
SUI: {
|
|
88
110
|
isMainnet: true,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sodax/dapp-kit",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "0.0.1-rc.
|
|
4
|
+
"version": "0.0.1-rc.29",
|
|
5
5
|
"description": "dapp-kit of New World",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"viem": "2.29.2",
|
|
19
|
-
"@sodax/
|
|
20
|
-
"@sodax/
|
|
19
|
+
"@sodax/sdk": "0.0.1-rc.42",
|
|
20
|
+
"@sodax/types": "0.0.1-rc.17"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/react": "18.3.1",
|