claude-sdk 0.1.4 → 0.1.5

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