@sodax/sdk 0.0.1-rc.10 → 0.0.1-rc.11
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 +9 -9
- package/dist/index.cjs +969 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +267 -4
- package/dist/index.d.ts +267 -4
- package/dist/index.mjs +968 -19
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,21 +5,21 @@ The Sodax SDK provides a comprehensive interface for interacting with the Sodax
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
7
7
|
### Swaps (Solver / Intents)
|
|
8
|
-
- EVM (Arbitrum, Avalanche, Base, BSC, Optimism, Polygon) ✅
|
|
8
|
+
- EVM (Arbitrum, Avalanche, Base, BSC, Optimism, Polygon, Sonic) ✅
|
|
9
9
|
- Sui ✅
|
|
10
10
|
- Stellar ✅
|
|
11
11
|
- ICON ✅
|
|
12
|
-
- Solana
|
|
13
|
-
- Injective
|
|
12
|
+
- Solana ✅
|
|
13
|
+
- Injective ✅
|
|
14
14
|
- Havah ❌ Coming soon
|
|
15
15
|
|
|
16
16
|
### Lend and Borrow (Money Market)
|
|
17
|
-
- EVM (Arbitrum, Avalanche, Base, BSC, Optimism, Polygon) ✅
|
|
17
|
+
- EVM (Arbitrum, Avalanche, Base, BSC, Optimism, Polygon, Sonic) ✅
|
|
18
18
|
- Sui ✅
|
|
19
19
|
- Stellar ✅
|
|
20
20
|
- ICON ✅
|
|
21
|
-
- Solana
|
|
22
|
-
- Injective
|
|
21
|
+
- Solana ✅
|
|
22
|
+
- Injective ✅
|
|
23
23
|
- Havah ❌ Coming soon
|
|
24
24
|
|
|
25
25
|
|
|
@@ -62,8 +62,8 @@ How to setup local development
|
|
|
62
62
|
## Intent Solver Endpoints
|
|
63
63
|
|
|
64
64
|
Current Intent Solver API endpoints:
|
|
65
|
-
- **Production (mainnet)**: "
|
|
66
|
-
- **Staging** (mainnet): "https://
|
|
65
|
+
- **Production (mainnet)**: "https://sodax-solver.iconblockchain.xyz"
|
|
66
|
+
- **Staging** (mainnet): "https://sodax-solver-staging.iconblockchain.xyz"
|
|
67
67
|
|
|
68
68
|
**Note** Staging endpoint contains features to be potentially released and is subject to frequent change!
|
|
69
69
|
|
|
@@ -135,7 +135,7 @@ const partnerFeeAmount = {
|
|
|
135
135
|
// example of custom solver config
|
|
136
136
|
const customSolverConfig = {
|
|
137
137
|
intentsContract: '0x6382D6ccD780758C5e8A6123c33ee8F4472F96ef',
|
|
138
|
-
solverApiEndpoint: 'https://
|
|
138
|
+
solverApiEndpoint: 'https://sodax-solver.iconblockchain.xyz',
|
|
139
139
|
partnerFee: partnerFeePercentage, // or partnerFeeAmount
|
|
140
140
|
} satisfies SolverConfigParams;
|
|
141
141
|
|