solana-agent-kit-plugin-madeonsol 1.16.1 → 1.16.2
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 +6 -0
- package/dist/actions/deployerHistory.d.ts +38 -0
- package/dist/actions/deployerHistory.js +23 -0
- package/dist/actions/tokenPools.d.ts +33 -0
- package/dist/actions/tokenPools.js +22 -0
- package/dist/index.d.ts +43 -3
- package/dist/index.js +9 -3
- package/dist/tools/index.d.ts +14 -0
- package/dist/tools/index.js +16 -1
- package/dist/version.d.ts +1 -0
- package/dist/version.js +2 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
|
|
12
12
|
> Real-time Solana trading intelligence: track 1,069 KOL wallets with <3s latency, score 23,000+ Pump.fun deployers, surface deshred deploy signals ~500ms before on-chain confirmation, detect multi-KOL coordination, and stream every DEX trade. Free tier: 200 requests/day, every endpoint — no signup payment. Get a key at [madeonsol.com/pricing](https://madeonsol.com/pricing).
|
|
13
13
|
|
|
14
|
+
> **New in 1.16.2** — **Per-venue liquidity map + deployer reputation history.** New tool `tokenPools()` + action `MADEONSOL_TOKEN_POOLS_ACTION` — every DEX pool a token trades in (live vs parked), with fragmentation and top-pool share. Returns a `pools[]` list (`pool_address`, `dex`, `quote_mint`, `liquidity_usd`, `last_price_sol`, `last_swap_at`, `amm_id`, `is_active`) and a `summary` (`pool_count`, `active_pool_count`, `dex_count`, `dexes`, `total_liquidity_usd`, `primary_pool`, `primary_dex`, `top_pool_share_pct`). New tool `deployerHistory()` + action `MADEONSOL_DEPLOYER_HISTORY_ACTION` — a deployer's daily reputation time-series to backtest "was this deployer elite when it launched token X?" without look-ahead bias. Returns `{ is_deployer, wallet, snapshots[] }` where each snapshot has `date`, `tier`, `is_tracked`, `total_deployed`, `total_bonded`, `bonding_rate`, `recent_bond_rate`, `avg_peak_mc`, `best_token_peak_mc` (`limit` = 1–365 days, default 90). Both PRO/ULTRA only.
|
|
15
|
+
>
|
|
14
16
|
> **New in 1.16.0** — **Bundle-cohort holdings.** New tool `tokenBundle()` + action `MADEONSOL_TOKEN_BUNDLE_ACTION` — which same-slot "bundle" wallets (≥3 buying in one slot) bought a token and how much of supply they STILL hold, from confirmed on-chain data. Returns a `bundle` summary (`wallet_count`, `bundle_kind` [`atomic_tx`/`same_slot`/`none`], `held_ratio`, **`held_pct_of_supply`** [the headline rug/insider signal], `fully_exited`, `buy_volume`, `tokens_held`) plus a `wallets[]` list (`rank`, `wallet`, `held_ratio`, `has_sold`, `atomic`, `is_kol`). BASIC get the `bundle` block only (`wallets: []`); PRO gets top-10 flags-only; ULTRA adds full holdings + wallet identity (`kol_name`, `win_rate`, `bot_confidence`, `tokens_held`). PRO/ULTRA only.
|
|
15
17
|
>
|
|
16
18
|
> **New in 1.15.0** — **Batch risk scoring + WebSocket session control.** New tool `tokenRiskBatch()` + action `MADEONSOL_TOKEN_RISK_BATCH_ACTION` — bulk 0–100 rug-risk/safety scoring for 1–50 mints in one call (`{ tokens, count }`, same per-mint shape as `tokenRisk()` plus an `as_of` ISO string; untracked mints come back as `{ mint, error: "not_tracked" }` without failing the batch; counts as one request). New tools `streamSessions()` / `streamSessionKill({ id })` + actions `MADEONSOL_STREAM_SESSIONS_ACTION` / `MADEONSOL_STREAM_SESSION_KILL_ACTION` — list your live ws-streaming/dex-stream sessions (`id`, `service`, `tier`, `channels[]`, `connected_at`, `remote_ip`, `messages_sent`) and evict one by id to free a connection slot. PRO/ULTRA only.
|
|
@@ -117,6 +119,8 @@ const events = await agent.methods.walletTrackerTrades(agent, { limit: 50 });
|
|
|
117
119
|
| `MADEONSOL_TOKEN_RISK_BATCH_ACTION` | **New 1.15** · "batch token risk", "bulk rug risk", "score many tokens" — rug-risk scoring for 1–50 mints in one call; untracked mints don't fail the batch (PRO+) |
|
|
118
120
|
| `MADEONSOL_STREAM_SESSIONS_ACTION` | **New 1.15** · "list stream sessions", "live websocket sessions", "active ws sessions" — your live ws-streaming/dex-stream sessions (PRO+) |
|
|
119
121
|
| `MADEONSOL_STREAM_SESSION_KILL_ACTION` | **New 1.15** · "kill stream session", "evict session", "free a connection slot" — evict a live streaming session by id (PRO+) |
|
|
122
|
+
| `MADEONSOL_TOKEN_POOLS_ACTION` | **New 1.16.2** · "token pools", "liquidity map", "which dex pools", "pool fragmentation" — per-venue liquidity map (live vs parked pools) + top-pool share (PRO+) |
|
|
123
|
+
| `MADEONSOL_DEPLOYER_HISTORY_ACTION` | **New 1.16.2** · "deployer history", "deployer reputation over time", "was this deployer elite" — a deployer's daily reputation time-series, backtest without look-ahead bias (PRO+) |
|
|
120
124
|
|
|
121
125
|
## Additional methods (v1.0+)
|
|
122
126
|
|
|
@@ -140,9 +144,11 @@ await agent.methods.tokenBuyerQuality(agent, { mint: "MINT" }); // 0–1
|
|
|
140
144
|
await agent.methods.tokenRisk(agent, { mint: "MINT" }); // PRO+ 0–100 rug-risk/safety score + band + factors
|
|
141
145
|
await agent.methods.tokenRiskBatch(agent, { mints: ["MINT_A", "MINT_B"] }); // PRO+ bulk rug-risk for 1–50 mints → { tokens, count }; one request
|
|
142
146
|
await agent.methods.tokenBundle(agent, { mint: "MINT" }); // PRO+ bundle-cohort holdings: held_pct_of_supply signal; ULTRA=+wallet identity
|
|
147
|
+
await agent.methods.tokenPools(agent, { mint: "MINT" }); // PRO+ per-venue liquidity map: live vs parked pools, fragmentation, top-pool share
|
|
143
148
|
await agent.methods.tokenCandles(agent, { mint: "MINT", tf: "1h" }); // PRO+ OHLCV candles (1m–1d); ULTRA=+net flow, liquidity, full history
|
|
144
149
|
await agent.methods.tokenFlow(agent, { mint: "MINT", window: "24h" }); // PRO+ net buy/sell flow (1h/24h): unique wallets, buy/sell/net SOL, trades-per-wallet
|
|
145
150
|
await agent.methods.almostBonded(agent, { min_progress: 90, sort: "eta_asc" }); // PRO+ pre-bond pump.fun tokens by velocity: progress, ETA, stalled, deployer tier
|
|
151
|
+
await agent.methods.deployerHistory(agent, { wallet: "WALLET", limit: 90 }); // PRO+ deployer daily reputation time-series (1–365d): tier, bonding_rate, peak MC — no look-ahead
|
|
146
152
|
```
|
|
147
153
|
|
|
148
154
|
> Deployer alerts (`MADEONSOL_DEPLOYER_ALERTS_ACTION` / `agent.methods.deployerAlerts()`) now include `deployer_sol_balance` — the deployer wallet's SOL balance at alert time (`null` for historical rows).
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const deployerHistoryAction: {
|
|
3
|
+
name: string;
|
|
4
|
+
similes: string[];
|
|
5
|
+
description: string;
|
|
6
|
+
examples: {
|
|
7
|
+
input: {
|
|
8
|
+
wallet: string;
|
|
9
|
+
limit: number;
|
|
10
|
+
};
|
|
11
|
+
output: {
|
|
12
|
+
status: string;
|
|
13
|
+
};
|
|
14
|
+
explanation: string;
|
|
15
|
+
}[][];
|
|
16
|
+
schema: z.ZodObject<{
|
|
17
|
+
wallet: z.ZodString;
|
|
18
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
limit: number;
|
|
21
|
+
wallet: string;
|
|
22
|
+
}, {
|
|
23
|
+
wallet: string;
|
|
24
|
+
limit?: number | undefined;
|
|
25
|
+
}>;
|
|
26
|
+
handler: (agent: unknown, input: {
|
|
27
|
+
wallet: string;
|
|
28
|
+
limit?: number;
|
|
29
|
+
}) => Promise<{
|
|
30
|
+
status: string;
|
|
31
|
+
result: any;
|
|
32
|
+
message?: undefined;
|
|
33
|
+
} | {
|
|
34
|
+
status: string;
|
|
35
|
+
message: string;
|
|
36
|
+
result?: undefined;
|
|
37
|
+
}>;
|
|
38
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { deployerHistory } from "../tools/index.js";
|
|
3
|
+
export const deployerHistoryAction = {
|
|
4
|
+
name: "MADEONSOL_DEPLOYER_HISTORY_ACTION",
|
|
5
|
+
similes: ["deployer history", "deployer reputation over time", "was this deployer elite", "deployer tier time-series", "backtest deployer reputation", "deployer daily snapshots"],
|
|
6
|
+
description: "Get a deployer's daily reputation time-series — backtest \"was this deployer elite when it launched token X?\" without look-ahead bias. Returns `{ is_deployer, wallet, snapshots[] }` where each snapshot has `date`, `tier`, `is_tracked`, `total_deployed`, `total_bonded`, `bonding_rate`, `recent_bond_rate`, `avg_peak_mc`, `best_token_peak_mc`. `limit` is the number of days of history (1–365, default 90). PRO/ULTRA only — BASIC receives HTTP 403.",
|
|
7
|
+
examples: [
|
|
8
|
+
[{ input: { wallet: "5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1", limit: 90 }, output: { status: "success" }, explanation: "What was this deployer's reputation tier over the last 90 days?" }],
|
|
9
|
+
],
|
|
10
|
+
schema: z.object({
|
|
11
|
+
wallet: z.string().describe("Deployer wallet address (base58)"),
|
|
12
|
+
limit: z.number().min(1).max(365).default(90).describe("Days of history to return (1–365)"),
|
|
13
|
+
}),
|
|
14
|
+
handler: async (agent, input) => {
|
|
15
|
+
try {
|
|
16
|
+
const data = await deployerHistory(agent, input);
|
|
17
|
+
return { status: "success", result: data };
|
|
18
|
+
}
|
|
19
|
+
catch (err) {
|
|
20
|
+
return { status: "error", message: err.message };
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const tokenPoolsAction: {
|
|
3
|
+
name: string;
|
|
4
|
+
similes: string[];
|
|
5
|
+
description: string;
|
|
6
|
+
examples: {
|
|
7
|
+
input: {
|
|
8
|
+
mint: string;
|
|
9
|
+
};
|
|
10
|
+
output: {
|
|
11
|
+
status: string;
|
|
12
|
+
};
|
|
13
|
+
explanation: string;
|
|
14
|
+
}[][];
|
|
15
|
+
schema: z.ZodObject<{
|
|
16
|
+
mint: z.ZodString;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
mint: string;
|
|
19
|
+
}, {
|
|
20
|
+
mint: string;
|
|
21
|
+
}>;
|
|
22
|
+
handler: (agent: unknown, input: {
|
|
23
|
+
mint: string;
|
|
24
|
+
}) => Promise<{
|
|
25
|
+
status: string;
|
|
26
|
+
result: any;
|
|
27
|
+
message?: undefined;
|
|
28
|
+
} | {
|
|
29
|
+
status: string;
|
|
30
|
+
message: string;
|
|
31
|
+
result?: undefined;
|
|
32
|
+
}>;
|
|
33
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { tokenPools } from "../tools/index.js";
|
|
3
|
+
export const tokenPoolsAction = {
|
|
4
|
+
name: "MADEONSOL_TOKEN_POOLS_ACTION",
|
|
5
|
+
similes: ["token pools", "liquidity map", "which dex pools", "pool fragmentation", "where does this token trade", "top pool share"],
|
|
6
|
+
description: "Get the per-venue liquidity map for a Solana token — every DEX pool the token trades in (live vs parked), plus how fragmented its liquidity is and what share sits in the top pool. Returns a `pools[]` list (`pool_address`, `dex`, `quote_mint`, `liquidity_usd`, `last_price_sol`, `last_swap_at`, `amm_id`, `is_active`) and a `summary` (`pool_count`, `active_pool_count`, `dex_count`, `dexes`, `total_liquidity_usd`, `primary_pool`, `primary_dex`, `top_pool_share_pct`). PRO/ULTRA only — BASIC receives HTTP 403.",
|
|
7
|
+
examples: [
|
|
8
|
+
[{ input: { mint: "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU" }, output: { status: "success" }, explanation: "Which DEX pools does this token trade in, and how fragmented is its liquidity?" }],
|
|
9
|
+
],
|
|
10
|
+
schema: z.object({
|
|
11
|
+
mint: z.string().describe("Token mint address (base58)"),
|
|
12
|
+
}),
|
|
13
|
+
handler: async (agent, input) => {
|
|
14
|
+
try {
|
|
15
|
+
const data = await tokenPools(agent, input);
|
|
16
|
+
return { status: "success", result: data };
|
|
17
|
+
}
|
|
18
|
+
catch (err) {
|
|
19
|
+
return { status: "error", message: err.message };
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -14,11 +14,13 @@ import { tokensListAction } from "./actions/tokensList.js";
|
|
|
14
14
|
import { almostBondedAction } from "./actions/almostBonded.js";
|
|
15
15
|
import { tokenRiskAction } from "./actions/tokenRisk.js";
|
|
16
16
|
import { tokenBundleAction } from "./actions/tokenBundle.js";
|
|
17
|
+
import { tokenPoolsAction } from "./actions/tokenPools.js";
|
|
18
|
+
import { deployerHistoryAction } from "./actions/deployerHistory.js";
|
|
17
19
|
import { tokenCandlesAction } from "./actions/tokenCandles.js";
|
|
18
20
|
import { tokenFlowAction } from "./actions/tokenFlow.js";
|
|
19
21
|
import { tokenRiskBatchAction } from "./actions/tokenRiskBatch.js";
|
|
20
22
|
import { streamSessionsAction, streamSessionKillAction } from "./actions/streamSessions.js";
|
|
21
|
-
import { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenCandles, tokenFlow, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletTrades, me, tokensList, almostBonded } from "./tools/index.js";
|
|
23
|
+
import { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenPools, tokenCandles, tokenFlow, deployerHistory, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletTrades, me, tokensList, almostBonded } from "./tools/index.js";
|
|
22
24
|
import { walletStatsAction, walletPnlAction, walletPositionsAction, walletTradesAction } from "./actions/wallet.js";
|
|
23
25
|
declare const MadeOnSolPlugin: {
|
|
24
26
|
name: string;
|
|
@@ -52,8 +54,10 @@ declare const MadeOnSolPlugin: {
|
|
|
52
54
|
tokenRisk: typeof tokenRisk;
|
|
53
55
|
tokenRiskBatch: typeof tokenRiskBatch;
|
|
54
56
|
tokenBundle: typeof tokenBundle;
|
|
57
|
+
tokenPools: typeof tokenPools;
|
|
55
58
|
tokenCandles: typeof tokenCandles;
|
|
56
59
|
tokenFlow: typeof tokenFlow;
|
|
60
|
+
deployerHistory: typeof deployerHistory;
|
|
57
61
|
copyTradeList: typeof copyTradeList;
|
|
58
62
|
copyTradeCreate: typeof copyTradeCreate;
|
|
59
63
|
copyTradeGet: typeof copyTradeGet;
|
|
@@ -886,6 +890,42 @@ declare const MadeOnSolPlugin: {
|
|
|
886
890
|
message: string;
|
|
887
891
|
result?: undefined;
|
|
888
892
|
}>;
|
|
893
|
+
} | {
|
|
894
|
+
name: string;
|
|
895
|
+
similes: string[];
|
|
896
|
+
description: string;
|
|
897
|
+
examples: {
|
|
898
|
+
input: {
|
|
899
|
+
wallet: string;
|
|
900
|
+
limit: number;
|
|
901
|
+
};
|
|
902
|
+
output: {
|
|
903
|
+
status: string;
|
|
904
|
+
};
|
|
905
|
+
explanation: string;
|
|
906
|
+
}[][];
|
|
907
|
+
schema: import("zod").ZodObject<{
|
|
908
|
+
wallet: import("zod").ZodString;
|
|
909
|
+
limit: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
910
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
911
|
+
limit: number;
|
|
912
|
+
wallet: string;
|
|
913
|
+
}, {
|
|
914
|
+
wallet: string;
|
|
915
|
+
limit?: number | undefined;
|
|
916
|
+
}>;
|
|
917
|
+
handler: (agent: unknown, input: {
|
|
918
|
+
wallet: string;
|
|
919
|
+
limit?: number;
|
|
920
|
+
}) => Promise<{
|
|
921
|
+
status: string;
|
|
922
|
+
result: any;
|
|
923
|
+
message?: undefined;
|
|
924
|
+
} | {
|
|
925
|
+
status: string;
|
|
926
|
+
message: string;
|
|
927
|
+
result?: undefined;
|
|
928
|
+
}>;
|
|
889
929
|
} | {
|
|
890
930
|
name: string;
|
|
891
931
|
similes: string[];
|
|
@@ -1124,8 +1164,8 @@ declare const MadeOnSolPlugin: {
|
|
|
1124
1164
|
initialize(_agent: unknown): void;
|
|
1125
1165
|
};
|
|
1126
1166
|
export default MadeOnSolPlugin;
|
|
1127
|
-
export { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenCandles, tokenFlow, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletTrades, me, tokensList, almostBonded, };
|
|
1167
|
+
export { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenPools, tokenCandles, tokenFlow, deployerHistory, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletTrades, me, tokensList, almostBonded, };
|
|
1128
1168
|
export { kolFeedAction, kolCoordinationAction, kolLeaderboardAction, deployerAlertsAction, kolPnlAction, kolTrendingTokensAction, kolTokenEntryOrderAction, kolCompareAction, kolAlertsRecentAction, kolFirstTouchesAction };
|
|
1129
1169
|
export { walletTrackerWatchlistAction, walletTrackerAddAction, walletTrackerRemoveAction, walletTrackerTradesAction, walletTrackerSummaryAction };
|
|
1130
1170
|
export { walletStatsAction, walletPnlAction, walletPositionsAction, walletTradesAction };
|
|
1131
|
-
export { meAction, tokensListAction, almostBondedAction, tokenRiskAction, tokenRiskBatchAction, tokenBundleAction, tokenCandlesAction, tokenFlowAction, streamSessionsAction, streamSessionKillAction };
|
|
1171
|
+
export { meAction, tokensListAction, almostBondedAction, tokenRiskAction, tokenRiskBatchAction, tokenBundleAction, tokenPoolsAction, deployerHistoryAction, tokenCandlesAction, tokenFlowAction, streamSessionsAction, streamSessionKillAction };
|
package/dist/index.js
CHANGED
|
@@ -14,11 +14,13 @@ import { tokensListAction } from "./actions/tokensList.js";
|
|
|
14
14
|
import { almostBondedAction } from "./actions/almostBonded.js";
|
|
15
15
|
import { tokenRiskAction } from "./actions/tokenRisk.js";
|
|
16
16
|
import { tokenBundleAction } from "./actions/tokenBundle.js";
|
|
17
|
+
import { tokenPoolsAction } from "./actions/tokenPools.js";
|
|
18
|
+
import { deployerHistoryAction } from "./actions/deployerHistory.js";
|
|
17
19
|
import { tokenCandlesAction } from "./actions/tokenCandles.js";
|
|
18
20
|
import { tokenFlowAction } from "./actions/tokenFlow.js";
|
|
19
21
|
import { tokenRiskBatchAction } from "./actions/tokenRiskBatch.js";
|
|
20
22
|
import { streamSessionsAction, streamSessionKillAction } from "./actions/streamSessions.js";
|
|
21
|
-
import { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenCandles, tokenFlow, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletTrades, me, tokensList, almostBonded, } from "./tools/index.js";
|
|
23
|
+
import { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenPools, tokenCandles, tokenFlow, deployerHistory, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletTrades, me, tokensList, almostBonded, } from "./tools/index.js";
|
|
22
24
|
import { walletStatsAction, walletPnlAction, walletPositionsAction, walletTradesAction } from "./actions/wallet.js";
|
|
23
25
|
const MadeOnSolPlugin = {
|
|
24
26
|
name: "madeonsol",
|
|
@@ -52,8 +54,10 @@ const MadeOnSolPlugin = {
|
|
|
52
54
|
tokenRisk,
|
|
53
55
|
tokenRiskBatch,
|
|
54
56
|
tokenBundle,
|
|
57
|
+
tokenPools,
|
|
55
58
|
tokenCandles,
|
|
56
59
|
tokenFlow,
|
|
60
|
+
deployerHistory,
|
|
57
61
|
copyTradeList,
|
|
58
62
|
copyTradeCreate,
|
|
59
63
|
copyTradeGet,
|
|
@@ -111,6 +115,8 @@ const MadeOnSolPlugin = {
|
|
|
111
115
|
tokenRiskAction,
|
|
112
116
|
tokenRiskBatchAction,
|
|
113
117
|
tokenBundleAction,
|
|
118
|
+
tokenPoolsAction,
|
|
119
|
+
deployerHistoryAction,
|
|
114
120
|
tokenCandlesAction,
|
|
115
121
|
tokenFlowAction,
|
|
116
122
|
streamSessionsAction,
|
|
@@ -125,8 +131,8 @@ const MadeOnSolPlugin = {
|
|
|
125
131
|
},
|
|
126
132
|
};
|
|
127
133
|
export default MadeOnSolPlugin;
|
|
128
|
-
export { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenCandles, tokenFlow, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletTrades, me, tokensList, almostBonded, };
|
|
134
|
+
export { kolFeed, kolCoordination, kolLeaderboard, deployerAlerts, kolPnl, kolTrendingTokens, kolTokenEntryOrder, kolCompare, kolAlertsRecent, createWebhook, listWebhooks, deleteWebhook, testWebhook, getStreamToken, streamSessions, streamSessionKill, walletTrackerWatchlist, walletTrackerAdd, walletTrackerRemove, walletTrackerTrades, walletTrackerSummary, alphaLeaderboard, alphaWallet, alphaLinked, tokenCapTable, tokenBuyerQuality, tokenRisk, tokenRiskBatch, tokenBundle, tokenPools, tokenCandles, tokenFlow, deployerHistory, copyTradeList, copyTradeCreate, copyTradeGet, copyTradeUpdate, copyTradeDelete, copyTradeSignals, coordinationAlertsList, coordinationAlertsCreate, coordinationAlertsGet, coordinationAlertsUpdate, coordinationAlertsDelete, kolFirstTouches, firstTouchSubscriptionsList, firstTouchSubscriptionsCreate, firstTouchSubscriptionsGet, firstTouchSubscriptionsUpdate, firstTouchSubscriptionsDelete, priceAlertsList, priceAlertsCreate, priceAlertsGet, priceAlertsUpdate, priceAlertsDelete, priceAlertsEvents, scoutLeaderboard, coordinationHistory, kolConsensus, peakHistory, walletStats, walletPnl, walletPositions, walletTrades, me, tokensList, almostBonded, };
|
|
129
135
|
export { kolFeedAction, kolCoordinationAction, kolLeaderboardAction, deployerAlertsAction, kolPnlAction, kolTrendingTokensAction, kolTokenEntryOrderAction, kolCompareAction, kolAlertsRecentAction, kolFirstTouchesAction };
|
|
130
136
|
export { walletTrackerWatchlistAction, walletTrackerAddAction, walletTrackerRemoveAction, walletTrackerTradesAction, walletTrackerSummaryAction };
|
|
131
137
|
export { walletStatsAction, walletPnlAction, walletPositionsAction, walletTradesAction };
|
|
132
|
-
export { meAction, tokensListAction, almostBondedAction, tokenRiskAction, tokenRiskBatchAction, tokenBundleAction, tokenCandlesAction, tokenFlowAction, streamSessionsAction, streamSessionKillAction };
|
|
138
|
+
export { meAction, tokensListAction, almostBondedAction, tokenRiskAction, tokenRiskBatchAction, tokenBundleAction, tokenPoolsAction, deployerHistoryAction, tokenCandlesAction, tokenFlowAction, streamSessionsAction, streamSessionKillAction };
|
package/dist/tools/index.d.ts
CHANGED
|
@@ -100,6 +100,16 @@ export declare function kolTiming(agent: Agent, params: {
|
|
|
100
100
|
export declare function deployerTrajectory(agent: Agent, params: {
|
|
101
101
|
wallet: string;
|
|
102
102
|
}): Promise<any>;
|
|
103
|
+
/**
|
|
104
|
+
* A deployer's daily reputation time-series — backtest "was this deployer elite when it launched token X?"
|
|
105
|
+
* without look-ahead bias. Returns `{ is_deployer, wallet, snapshots[] }` where each snapshot has
|
|
106
|
+
* `date`, `tier`, `is_tracked`, `total_deployed`, `total_bonded`, `bonding_rate`, `recent_bond_rate`,
|
|
107
|
+
* `avg_peak_mc`, `best_token_peak_mc`. `limit` is days of history (1..365, default 90). PRO/ULTRA only.
|
|
108
|
+
*/
|
|
109
|
+
export declare function deployerHistory(agent: Agent, params: {
|
|
110
|
+
wallet: string;
|
|
111
|
+
limit?: number;
|
|
112
|
+
}): Promise<any>;
|
|
103
113
|
export declare function createWebhook(agent: Agent, params: {
|
|
104
114
|
url: string;
|
|
105
115
|
events: string[];
|
|
@@ -188,6 +198,10 @@ export declare function tokenRisk(agent: Agent, params: {
|
|
|
188
198
|
export declare function tokenBundle(agent: Agent, params: {
|
|
189
199
|
mint: string;
|
|
190
200
|
}): Promise<any>;
|
|
201
|
+
/** Per-venue liquidity map: every DEX pool a token trades in (live vs parked), plus fragmentation + top-pool share. Returns `pools[]` ({ pool_address, dex, quote_mint, liquidity_usd, last_price_sol, last_swap_at, amm_id, is_active }) and a `summary` ({ pool_count, active_pool_count, dex_count, dexes, total_liquidity_usd, primary_pool, primary_dex, top_pool_share_pct }). PRO/ULTRA only. */
|
|
202
|
+
export declare function tokenPools(agent: Agent, params: {
|
|
203
|
+
mint: string;
|
|
204
|
+
}): Promise<any>;
|
|
191
205
|
/** Historical OHLCV candles (1m/5m/15m/1h/4h/1d) aggregated from the trade firehose. PRO=OHLCV 30d; ULTRA=+net flow, liquidity delta, full history. PRO/ULTRA only. */
|
|
192
206
|
export declare function tokenCandles(agent: Agent, params: {
|
|
193
207
|
mint: string;
|
package/dist/tools/index.js
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* (MadeOnSol RapidAPI marketplace was retired 2026-04-19).
|
|
7
7
|
* Get a free `msk_` key at https://madeonsol.com/pricing.
|
|
8
8
|
*/
|
|
9
|
+
import { VERSION } from "../version.js";
|
|
9
10
|
const BASE_URL = "https://madeonsol.com";
|
|
10
11
|
let _authMode = null;
|
|
11
12
|
let _authHeaders = {};
|
|
@@ -30,7 +31,7 @@ export async function initAuth(agent) {
|
|
|
30
31
|
const privateKey = getConfig(agent, "SVM_PRIVATE_KEY");
|
|
31
32
|
if (apiKey) {
|
|
32
33
|
_authMode = "madeonsol";
|
|
33
|
-
_authHeaders = { Authorization: `Bearer ${apiKey}`, "User-Agent":
|
|
34
|
+
_authHeaders = { Authorization: `Bearer ${apiKey}`, "User-Agent": `solana-agent-kit-plugin-madeonsol/${VERSION}` };
|
|
34
35
|
_paidFetch = fetch;
|
|
35
36
|
console.log("[madeonsol] Using MadeOnSol API key (Bearer auth)");
|
|
36
37
|
}
|
|
@@ -146,6 +147,16 @@ export async function kolTiming(agent, params) {
|
|
|
146
147
|
export async function deployerTrajectory(agent, params) {
|
|
147
148
|
return restQuery(agent, "GET", `/deployer-hunter/${params.wallet}/trajectory`);
|
|
148
149
|
}
|
|
150
|
+
/**
|
|
151
|
+
* A deployer's daily reputation time-series — backtest "was this deployer elite when it launched token X?"
|
|
152
|
+
* without look-ahead bias. Returns `{ is_deployer, wallet, snapshots[] }` where each snapshot has
|
|
153
|
+
* `date`, `tier`, `is_tracked`, `total_deployed`, `total_bonded`, `bonding_rate`, `recent_bond_rate`,
|
|
154
|
+
* `avg_peak_mc`, `best_token_peak_mc`. `limit` is days of history (1..365, default 90). PRO/ULTRA only.
|
|
155
|
+
*/
|
|
156
|
+
export async function deployerHistory(agent, params) {
|
|
157
|
+
const qs = params.limit !== undefined ? `?limit=${params.limit}` : "";
|
|
158
|
+
return restQuery(agent, "GET", `/deployer-hunter/${encodeURIComponent(params.wallet)}/history${qs}`);
|
|
159
|
+
}
|
|
149
160
|
// ── REST helper (webhooks, streaming, alpha, copy-trade, wallet-tracker) ──
|
|
150
161
|
async function restQuery(agent, method, path, body) {
|
|
151
162
|
await initAuth(agent);
|
|
@@ -283,6 +294,10 @@ export async function tokenRisk(agent, params) {
|
|
|
283
294
|
export async function tokenBundle(agent, params) {
|
|
284
295
|
return restQuery(agent, "GET", `/tokens/${encodeURIComponent(params.mint)}/bundle`);
|
|
285
296
|
}
|
|
297
|
+
/** Per-venue liquidity map: every DEX pool a token trades in (live vs parked), plus fragmentation + top-pool share. Returns `pools[]` ({ pool_address, dex, quote_mint, liquidity_usd, last_price_sol, last_swap_at, amm_id, is_active }) and a `summary` ({ pool_count, active_pool_count, dex_count, dexes, total_liquidity_usd, primary_pool, primary_dex, top_pool_share_pct }). PRO/ULTRA only. */
|
|
298
|
+
export async function tokenPools(agent, params) {
|
|
299
|
+
return restQuery(agent, "GET", `/tokens/${encodeURIComponent(params.mint)}/pools`);
|
|
300
|
+
}
|
|
286
301
|
/** Historical OHLCV candles (1m/5m/15m/1h/4h/1d) aggregated from the trade firehose. PRO=OHLCV 30d; ULTRA=+net flow, liquidity delta, full history. PRO/ULTRA only. */
|
|
287
302
|
export async function tokenCandles(agent, params) {
|
|
288
303
|
const qs = new URLSearchParams();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const VERSION = "1.16.2";
|
package/dist/version.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "solana-agent-kit-plugin-madeonsol",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.2",
|
|
4
4
|
"description": "Solana Agent Kit plugin for MadeOnSol — KOL intelligence and deployer analytics via x402 micropayments",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"README.md"
|
|
11
11
|
],
|
|
12
12
|
"scripts": {
|
|
13
|
+
"prebuild": "node ../gen-version.mjs",
|
|
13
14
|
"build": "tsc",
|
|
14
15
|
"preflight": "bash ../../scripts/preflight-publish.sh",
|
|
15
16
|
"prepublishOnly": "npm run preflight && npm run build"
|