@sodax/sdk 1.5.7-beta → 2.0.0-rc.10
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 +39 -7
- package/dist/index.cjs +32330 -31587
- package/dist/index.d.cts +8542 -7090
- package/dist/index.d.ts +8542 -7090
- package/dist/index.mjs +32208 -31505
- package/package.json +32 -24
- package/dist/index.cjs.map +0 -1
- package/dist/index.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -40,41 +40,55 @@ How to setup local development
|
|
|
40
40
|
|
|
41
41
|
<a href="https://docs.sodax.com/developers/packages/sdk/swaps" class="button secondary" data-icon="rotate">Swaps (Solver)</a> - Cross-chain intent-based swaps
|
|
42
42
|
|
|
43
|
-
* EVM (Arbitrum, Avalanche, Base, BSC, Optimism, Polygon,
|
|
43
|
+
* EVM (Sonic, Ethereum, Arbitrum, Avalanche, Base, BSC, Optimism, Polygon, HyperEVM, Lightlink, Redbelly, Kaia) ✅
|
|
44
44
|
* Sui ✅
|
|
45
45
|
* Stellar ✅
|
|
46
46
|
* ICON ✅
|
|
47
47
|
* Solana ✅
|
|
48
48
|
* Injective ✅
|
|
49
|
+
* NEAR ✅
|
|
50
|
+
* Stacks ✅
|
|
51
|
+
* Bitcoin ✅
|
|
49
52
|
|
|
50
53
|
<a href="https://docs.sodax.com/developers/packages/sdk/money_market" class="button secondary" data-icon="sack-dollar">Lend / Borrow (Money Market)</a>- Cross-chain lending and borrowing
|
|
51
54
|
|
|
52
|
-
* EVM (Arbitrum, Avalanche, Base, BSC, Optimism, Polygon,
|
|
55
|
+
* EVM (Sonic, Ethereum, Arbitrum, Avalanche, Base, BSC, Optimism, Polygon, HyperEVM, Lightlink, Redbelly, Kaia) ✅
|
|
53
56
|
* Sui ✅
|
|
54
57
|
* Stellar ✅
|
|
55
|
-
* ICON ✅
|
|
58
|
+
* ICON ✅ (bnUSD only)
|
|
56
59
|
* Solana ✅
|
|
57
60
|
* Injective ✅
|
|
61
|
+
* NEAR ✅
|
|
62
|
+
* Stacks ✅
|
|
63
|
+
* Bitcoin ✅ (BTC only)
|
|
58
64
|
|
|
59
65
|
<a href="https://docs.sodax.com/developers/packages/sdk/bridge" class="button secondary" data-icon="bridge-suspension">Bridge</a>- Cross-chain token bridging
|
|
60
66
|
|
|
61
|
-
* EVM (Arbitrum, Avalanche, Base, BSC, Optimism, Polygon,
|
|
67
|
+
* EVM (Sonic, Ethereum, Arbitrum, Avalanche, Base, BSC, Optimism, Polygon, HyperEVM, Lightlink, Redbelly, Kaia) ✅
|
|
62
68
|
* Sui ✅
|
|
63
69
|
* Stellar ✅
|
|
64
70
|
* ICON ✅
|
|
65
71
|
* Solana ✅
|
|
66
72
|
* Injective ✅
|
|
73
|
+
* NEAR ✅
|
|
74
|
+
* Stacks ✅
|
|
75
|
+
* Bitcoin ✅
|
|
67
76
|
|
|
68
77
|
<a href="https://docs.sodax.com/developers/packages/sdk/migration" class="button secondary" data-icon="truck">Migration</a>- Token migration (ICX, bnUSD, BALN)
|
|
69
78
|
|
|
79
|
+
* ICX / wICX → SODA: source chain ICON only
|
|
80
|
+
* BALN → SODA: source chain ICON only
|
|
81
|
+
* bnUSD: between legacy chains (ICON, Sui, Stellar) and the new bnUSD on any other supported chain
|
|
82
|
+
|
|
70
83
|
<a href="https://docs.sodax.com/developers/packages/sdk/staking" class="button secondary" data-icon="seedling">Staking</a>- SODA token staking
|
|
71
84
|
|
|
72
|
-
* EVM (Arbitrum, Avalanche, Base, BSC, Optimism, Polygon,
|
|
85
|
+
* EVM (Sonic, Ethereum, Arbitrum, Avalanche, Base, BSC, Optimism, Polygon, HyperEVM, Lightlink, Redbelly, Kaia) ✅
|
|
73
86
|
* Sui ✅
|
|
74
87
|
* Stellar ✅
|
|
75
|
-
* ICON ✅
|
|
76
88
|
* Solana ✅
|
|
77
89
|
* Injective ✅
|
|
90
|
+
* NEAR ✅
|
|
91
|
+
* Stacks ✅
|
|
78
92
|
|
|
79
93
|
### Tooling Modules inside the SDK
|
|
80
94
|
|
|
@@ -82,6 +96,24 @@ How to setup local development
|
|
|
82
96
|
|
|
83
97
|
<a href="https://docs.sodax.com/developers/packages/sdk/intent_relay_api" class="button secondary" data-icon="envelope">Intent Relay API</a>- Relayer API endpoint documentation
|
|
84
98
|
|
|
99
|
+
## AI agent docs
|
|
100
|
+
|
|
101
|
+
AI-readable docs for `@sodax/sdk` (and the other `@sodax/*` packages) are shipped via [`@sodax/skills`](https://github.com/icon-project/sodax-sdks/tree/main/packages/skills) — a separate npm package bundling Claude-Code SKILL.md files and a long-form knowledge tree.
|
|
102
|
+
|
|
103
|
+
**Recommended: [`skills` CLI](https://github.com/vercel-labs/skills)** — from your project root:
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
npx skills@latest add icon-project/sodax-sdks/packages/skills
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
**npm + `AGENTS.md` pointer** (fallback for web chats, or when you prefer a devDependency over the CLI):
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
pnpm add -D @sodax/skills
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
Then point your agent at `node_modules/@sodax/skills/AGENTS.md`. See [docs/ai-integration-guide.md](https://github.com/icon-project/sodax-sdks/blob/main/docs/ai-integration-guide.md) for all install modes and per-tool wiring.
|
|
116
|
+
|
|
85
117
|
***
|
|
86
118
|
|
|
87
119
|
## Contributing
|
|
@@ -122,5 +154,5 @@ pnpm lint
|
|
|
122
154
|
|
|
123
155
|
## Support
|
|
124
156
|
|
|
125
|
-
* [GitHub Issues](https://github.com/icon-project/sodax-
|
|
157
|
+
* [GitHub Issues](https://github.com/icon-project/sodax-sdks/issues)
|
|
126
158
|
* [Discord Community](https://discord.gg/xM2Nh4S6vN)
|