solana-agent-kit-plugin-madeonsol 1.12.0 → 1.12.1

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
@@ -137,9 +137,12 @@ Server-side rules that fire signals when a watched source wallet trades. Deliver
137
137
  ```ts
138
138
  await agent.methods.copyTradeList(agent);
139
139
  await agent.methods.copyTradeCreate(agent, {
140
- name: "Track Whale",
141
- source_wallet: "WALLET",
142
- delivery: "webhook",
140
+ name: "Track Whales",
141
+ source_wallets: ["WALLET_A", "WALLET_B"], // 1-50 wallets
142
+ sizing_mode: "fixed",
143
+ sizing_amount: 0.5, // required
144
+ only_action: "buy",
145
+ delivery_mode: "webhook",
143
146
  webhook_url: "https://you.com/hook",
144
147
  });
145
148
  await agent.methods.copyTradeSignals(agent, { limit: 50 }); // up to 7 days
@@ -193,12 +193,18 @@ export declare function tokenBatch(agent: Agent, params: {
193
193
  }): Promise<any>;
194
194
  export declare function copyTradeList(agent: Agent): Promise<any>;
195
195
  export declare function copyTradeCreate(agent: Agent, params: {
196
- name: string;
197
- source_wallet: string;
198
- is_active?: boolean;
196
+ /** 1-50 wallets to copy trades from. */
197
+ source_wallets: string[];
198
+ /** Required. Fixed SOL amount, proportional multiplier, or percent of source — per sizing_mode. */
199
+ sizing_amount: number;
200
+ name?: string;
201
+ min_trade_sol?: number;
202
+ only_action?: "buy" | "sell" | "both";
203
+ sizing_mode?: "fixed" | "proportional" | "percent_source";
204
+ delivery_mode?: "webhook" | "websocket" | "both";
199
205
  webhook_url?: string;
200
- delivery?: "webhook" | "websocket" | "both";
201
- filters?: Record<string, unknown>;
206
+ min_mc_usd?: number | null;
207
+ max_mc_usd?: number | null;
202
208
  }): Promise<any>;
203
209
  export declare function copyTradeGet(agent: Agent, params: {
204
210
  rule_id: string;
@@ -293,19 +293,19 @@ export async function tokenBatch(agent, params) {
293
293
  }
294
294
  // ── Copy-Trade Rules (PRO/ULTRA) ──
295
295
  export async function copyTradeList(agent) {
296
- return restQuery(agent, "GET", "/copy-trade/rules");
296
+ return restQuery(agent, "GET", "/copytrade/subscriptions");
297
297
  }
298
298
  export async function copyTradeCreate(agent, params) {
299
- return restQuery(agent, "POST", "/copy-trade/rules", params);
299
+ return restQuery(agent, "POST", "/copytrade/subscriptions", params);
300
300
  }
301
301
  export async function copyTradeGet(agent, params) {
302
- return restQuery(agent, "GET", `/copy-trade/rules/${encodeURIComponent(params.rule_id)}`);
302
+ return restQuery(agent, "GET", `/copytrade/subscriptions/${encodeURIComponent(params.rule_id)}`);
303
303
  }
304
304
  export async function copyTradeUpdate(agent, params) {
305
- return restQuery(agent, "PATCH", `/copy-trade/rules/${encodeURIComponent(params.rule_id)}`, params.updates);
305
+ return restQuery(agent, "PATCH", `/copytrade/subscriptions/${encodeURIComponent(params.rule_id)}`, params.updates);
306
306
  }
307
307
  export async function copyTradeDelete(agent, params) {
308
- return restQuery(agent, "DELETE", `/copy-trade/rules/${encodeURIComponent(params.rule_id)}`);
308
+ return restQuery(agent, "DELETE", `/copytrade/subscriptions/${encodeURIComponent(params.rule_id)}`);
309
309
  }
310
310
  // ── Coordination Alerts (PRO/ULTRA, v1.1) ──
311
311
  export async function coordinationAlertsList(agent) {
@@ -378,7 +378,7 @@ export async function copyTradeSignals(agent, params = {}) {
378
378
  qs.set(k, String(v));
379
379
  }
380
380
  const query = qs.toString() ? `?${qs.toString()}` : "";
381
- return restQuery(agent, "GET", `/copy-trade/signals${query}`);
381
+ return restQuery(agent, "GET", `/copytrade/signals${query}`);
382
382
  }
383
383
  // ── Price Alerts (PRO/ULTRA, v1.9) ──
384
384
  export async function priceAlertsList(agent) {
package/package.json CHANGED
@@ -1,54 +1,54 @@
1
- {
2
- "name": "solana-agent-kit-plugin-madeonsol",
3
- "version": "1.12.0",
4
- "description": "Solana Agent Kit plugin for MadeOnSol — KOL intelligence and deployer analytics via x402 micropayments",
5
- "type": "module",
6
- "main": "dist/index.js",
7
- "types": "dist/index.d.ts",
8
- "files": [
9
- "dist",
10
- "README.md"
11
- ],
12
- "scripts": {
13
- "build": "tsc",
14
- "preflight": "bash ../../scripts/preflight-publish.sh",
15
- "prepublishOnly": "npm run preflight && npm run build"
16
- },
17
- "keywords": [
18
- "solana",
19
- "agent-kit",
20
- "solana-agent-kit",
21
- "sendaifun",
22
- "plugin",
23
- "ai-agent",
24
- "x402",
25
- "kol",
26
- "kol-tracker",
27
- "trading",
28
- "memecoin",
29
- "memecoin-tracker",
30
- "pumpfun",
31
- "deployer-hunter",
32
- "alpha",
33
- "alpha-bot",
34
- "smart-money",
35
- "copy-trading",
36
- "madeonsol"
37
- ],
38
- "license": "MIT",
39
- "repository": {
40
- "type": "git",
41
- "url": "https://github.com/LamboPoewert/solana-agent-kit-plugin-madeonsol"
42
- },
43
- "peerDependencies": {
44
- "solana-agent-kit": ">=2.0.0",
45
- "@x402/fetch": ">=0.1.0",
46
- "@x402/core": ">=0.1.0",
47
- "@x402/svm": ">=0.1.0",
48
- "@solana/kit": ">=2.0.0",
49
- "@scure/base": ">=1.0.0"
50
- },
51
- "dependencies": {
52
- "zod": "^3.24.0"
53
- }
54
- }
1
+ {
2
+ "name": "solana-agent-kit-plugin-madeonsol",
3
+ "version": "1.12.1",
4
+ "description": "Solana Agent Kit plugin for MadeOnSol — KOL intelligence and deployer analytics via x402 micropayments",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "files": [
9
+ "dist",
10
+ "README.md"
11
+ ],
12
+ "scripts": {
13
+ "build": "tsc",
14
+ "preflight": "bash ../../scripts/preflight-publish.sh",
15
+ "prepublishOnly": "npm run preflight && npm run build"
16
+ },
17
+ "keywords": [
18
+ "solana",
19
+ "agent-kit",
20
+ "solana-agent-kit",
21
+ "sendaifun",
22
+ "plugin",
23
+ "ai-agent",
24
+ "x402",
25
+ "kol",
26
+ "kol-tracker",
27
+ "trading",
28
+ "memecoin",
29
+ "memecoin-tracker",
30
+ "pumpfun",
31
+ "deployer-hunter",
32
+ "alpha",
33
+ "alpha-bot",
34
+ "smart-money",
35
+ "copy-trading",
36
+ "madeonsol"
37
+ ],
38
+ "license": "MIT",
39
+ "repository": {
40
+ "type": "git",
41
+ "url": "https://github.com/LamboPoewert/solana-agent-kit-plugin-madeonsol"
42
+ },
43
+ "peerDependencies": {
44
+ "solana-agent-kit": ">=2.0.0",
45
+ "@x402/fetch": ">=0.1.0",
46
+ "@x402/core": ">=0.1.0",
47
+ "@x402/svm": ">=0.1.0",
48
+ "@solana/kit": ">=2.0.0",
49
+ "@scure/base": ">=1.0.0"
50
+ },
51
+ "dependencies": {
52
+ "zod": "^3.24.0"
53
+ }
54
+ }