solana-agent-kit-plugin-madeonsol 1.0.0 → 1.0.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 +15 -1
- package/dist/tools/index.js +3 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,6 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
> Real-time Solana trading intelligence: track 1,000+ KOL wallets with <3s latency, score 6,700+ Pump.fun deployers by reputation, detect multi-KOL coordination signals, monitor any Solana wallet for swaps and transfers, and stream every DEX trade. Free tier: 200 requests/day at [madeonsol.com/developer](https://madeonsol.com/developer) — no credit card required.
|
|
6
6
|
|
|
7
|
+
## Quick start (10 seconds)
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install solana-agent-kit-plugin-madeonsol
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
import { SolanaAgentKit } from "solana-agent-kit";
|
|
15
|
+
import MadeOnSolPlugin from "solana-agent-kit-plugin-madeonsol";
|
|
16
|
+
const agent = new SolanaAgentKit(privateKey, rpcUrl, { MADEONSOL_API_KEY: "msk_..." }); // free key: https://madeonsol.com/developer
|
|
17
|
+
agent.use(MadeOnSolPlugin);
|
|
18
|
+
const trades = await agent.methods.kolFeed(agent, { limit: 5, action: "buy" });
|
|
19
|
+
```
|
|
20
|
+
|
|
7
21
|
## Authentication
|
|
8
22
|
|
|
9
23
|
Two options (in priority order):
|
|
@@ -115,7 +129,7 @@ console.log(lastRateLimit); // { limit: "10000", remaining: "9999", reset: "..."
|
|
|
115
129
|
|------|-------|-----------------|--------------|
|
|
116
130
|
| BASIC | Free | 10 | 200 |
|
|
117
131
|
| PRO | $49/mo | 50 | 10,000 |
|
|
118
|
-
| ULTRA | $
|
|
132
|
+
| ULTRA | $149/mo | 100 + WS events | 100,000 |
|
|
119
133
|
|
|
120
134
|
Get a key at [madeonsol.com/developer](https://madeonsol.com/developer).
|
|
121
135
|
|
package/dist/tools/index.js
CHANGED
|
@@ -50,7 +50,9 @@ export async function initAuth(agent) {
|
|
|
50
50
|
else {
|
|
51
51
|
_authMode = "none";
|
|
52
52
|
_paidFetch = fetch;
|
|
53
|
-
console.warn("[madeonsol] No auth configured
|
|
53
|
+
console.warn("\n[madeonsol] No auth configured — every API call will fail.\n" +
|
|
54
|
+
" → Get a free MADEONSOL_API_KEY (200 req/day, no card) at https://madeonsol.com/developer\n" +
|
|
55
|
+
" → Or set SVM_PRIVATE_KEY for x402 micropayments.\n");
|
|
54
56
|
}
|
|
55
57
|
}
|
|
56
58
|
/** @deprecated Use initAuth instead */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "solana-agent-kit-plugin-madeonsol",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
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",
|
|
@@ -37,4 +37,4 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"zod": "^3.24.0"
|
|
39
39
|
}
|
|
40
|
-
}
|
|
40
|
+
}
|