@sodax/sdk 0.0.1-rc.17 → 0.0.1-rc.18

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 CHANGED
@@ -4,7 +4,7 @@ The Sodax SDK provides a comprehensive interface for interacting with the Sodax
4
4
 
5
5
  ## Features
6
6
 
7
- ### Swaps (Solver / Intents)
7
+ ### Swaps (Solver / Intents) [📖](./docs/SOLVER.md)
8
8
  - EVM (Arbitrum, Avalanche, Base, BSC, Optimism, Polygon, Sonic) ✅
9
9
  - Sui ✅
10
10
  - Stellar ✅
@@ -12,7 +12,7 @@ The Sodax SDK provides a comprehensive interface for interacting with the Sodax
12
12
  - Solana ✅
13
13
  - Injective ✅
14
14
 
15
- ### Lend and Borrow (Money Market)
15
+ ### Lend and Borrow (Money Market) [📖](./docs/MONEY_MARKET.md)
16
16
  - EVM (Arbitrum, Avalanche, Base, BSC, Optimism, Polygon, Sonic) ✅
17
17
  - Sui ✅
18
18
  - Stellar ✅
@@ -20,6 +20,7 @@ The Sodax SDK provides a comprehensive interface for interacting with the Sodax
20
20
  - Solana ✅
21
21
  - Injective ✅
22
22
 
23
+ ### Migration [📖](./docs/MIGRATION.md)
23
24
 
24
25
  ## Installation
25
26
 
@@ -216,7 +217,7 @@ const supportedMoneyMarketTokens: readonly Token[] = getSupportedMoneyMarketToke
216
217
 
217
218
  Sodax SDK does not force the usage of a specific wallet or library, but requires client to provide implementation of `IWalletProvider` interfaces (e.g. for EVM chains `IEvmWalletProvider` has to be implemented).
218
219
 
219
- As part of Sodax suite, xWagmi SDK is also going to be provided as one example wallet provider implementation. You are free to choose between using our xWagmi SDK or implementing your own wallet connectivity for each chain.
220
+ As part of Sodax suite, Wallet SDK is also going to be provided as one example wallet provider implementation. You are free to choose between using our Wallet SDK or implementing your own wallet connectivity for each chain.
220
221
 
221
222
  - Supported Wallet Provider Interface (`IWalletProvider`)
222
223
  - `IEvmWalletProvider`: EVM (Arbitrum, Avalanche, Base, BSC, Optimism, Polygon) ✅
@@ -239,12 +240,12 @@ EVM Provider example:
239
240
  ```typescript
240
241
  import { EvmProvider, EvmHubProvider, EvmSpokeProvider, AVALANCHE_MAINNET_CHAIN_ID, SONIC_MAINNET_CHAIN_ID } from "@sodax/sdk"
241
242
 
242
- const evmWalletProvider: IEvmWalletProvider = // injected by xWagmi SDK or your own implementation
243
+ const evmWalletProvider: IEvmWalletProvider = // injected by Wallet SDK or your own implementation
243
244
 
244
245
  // spoke provider represents connection to a specific chain, should be instantiated for each supported chain when user connects wallet
245
246
  const bscSpokeProvider: EvmSpokeProvider = new EvmSpokeProvider(
246
247
  evmWalletProvider, // user connected wallet
247
- spokeChainConfig[BSC_MAINNET_CHAIN_ID] as EvmSpokeChainConfig, // connected chain config
248
+ spokeChainConfig[BSC_MAINNET_CHAIN_ID], // connected chain config
248
249
  );
249
250
  ```
250
251