claude-sdk 0.1.4 → 0.1.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
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="./assets/bannerclaudesdk.png" alt="ClaudeSDK banner" width="100%" />
|
|
3
|
+
</p>
|
|
1
4
|
# Claude SDK
|
|
2
5
|
|
|
3
6
|
SDK for managing Solana wallets with an AI agent (Claude).
|
|
@@ -70,6 +73,29 @@ Recommended safety checks in your app:
|
|
|
70
73
|
- max lamports per tx
|
|
71
74
|
- require manual confirmation for transfers
|
|
72
75
|
- run on devnet while testing
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## Memecoin trading
|
|
79
|
+
|
|
80
|
+
ClaudeSDK is designed to let Claude act as an AI trading agent on Solana, including memecoins.
|
|
81
|
+
|
|
82
|
+
How it works (high-level):
|
|
83
|
+
- The agent analyzes your instruction (e.g. “buy BONK for 0.1 SOL”).
|
|
84
|
+
- The agent returns a structured plan (token to buy/sell, amount, slippage, route).
|
|
85
|
+
- Your app validates the plan (limits, allowlists, confirmations).
|
|
86
|
+
- ClaudeSDK executes the swap via a DEX / aggregator integration (planned), then returns the transaction signature.
|
|
87
|
+
|
|
88
|
+
Important notes:
|
|
89
|
+
- Trading is risky. Memecoins are highly volatile.
|
|
90
|
+
- ClaudeSDK does NOT provide financial advice.
|
|
91
|
+
- You should use strict guardrails: max trade size, allowlist tokens, slippage caps, and manual confirmation.
|
|
92
|
+
|
|
93
|
+
Recommended guardrails for trading:
|
|
94
|
+
- Allowlist tokens (mints) that can be traded
|
|
95
|
+
- Max SOL per trade / max daily limit
|
|
96
|
+
- Max slippage (e.g. 0.5%–2%)
|
|
97
|
+
- Simulate transaction before sending
|
|
98
|
+
- Require manual confirmation for every swap (default)
|
|
73
99
|
|
|
74
100
|
---
|
|
75
101
|
|
|
@@ -97,6 +123,10 @@ Planned:
|
|
|
97
123
|
- SPL token helpers (balances, transfers)
|
|
98
124
|
- transaction simulation before signing
|
|
99
125
|
- optional integrations (Phantom/Ledger) — no raw secret keys
|
|
126
|
+
- Swap module (Jupiter / DEX aggregator integration)
|
|
127
|
+
- Token discovery + validation (mint allowlist, decimals, freeze authority checks)
|
|
128
|
+
- Price/quote step before swap (expected out, price impact)
|
|
129
|
+
- Post-trade reporting (tx link, received amount, fees)
|
|
100
130
|
|
|
101
131
|
---
|
|
102
132
|
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Claude SDK: manage Solana wallets with an AI agent",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"files": [
|
|
18
18
|
"dist",
|
|
19
19
|
"README.md",
|
|
20
|
-
"LICENSE"
|
|
20
|
+
"LICENSE",
|
|
21
|
+
"assets"
|
|
21
22
|
],
|
|
22
23
|
"sideEffects": false,
|
|
23
24
|
"scripts": {
|