@madeonsol/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 +13 -1
- package/dist/client.js +4 -1
- package/dist/index.js +3 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,6 +4,18 @@ ElizaOS plugin for [MadeOnSol](https://madeonsol.com) — Solana KOL trading int
|
|
|
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 @madeonsol/plugin-madeonsol
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
import { madeOnSolPlugin } from "@madeonsol/plugin-madeonsol";
|
|
15
|
+
const agent = { plugins: [madeOnSolPlugin], settings: { MADEONSOL_API_KEY: "msk_..." } }; // free key: https://madeonsol.com/developer
|
|
16
|
+
// Then ask the agent: "What are KOLs buying right now?"
|
|
17
|
+
```
|
|
18
|
+
|
|
7
19
|
## Authentication
|
|
8
20
|
|
|
9
21
|
Three options (in priority order):
|
|
@@ -65,7 +77,7 @@ Your agent can then respond to queries like:
|
|
|
65
77
|
|------|-------|-----------------|--------------|
|
|
66
78
|
| BASIC | Free | 10 | 200 |
|
|
67
79
|
| PRO | $49/mo | 50 | 10,000 |
|
|
68
|
-
| ULTRA | $
|
|
80
|
+
| ULTRA | $149/mo | 100 + WS events | 100,000 |
|
|
69
81
|
|
|
70
82
|
Get a key at [madeonsol.com/developer](https://madeonsol.com/developer).
|
|
71
83
|
|
package/dist/client.js
CHANGED
|
@@ -26,6 +26,9 @@ export class MadeOnSolClient {
|
|
|
26
26
|
}
|
|
27
27
|
else {
|
|
28
28
|
this.authMode = "none";
|
|
29
|
+
console.warn("\n[madeonsol] MadeOnSolClient constructed without apiKey or fetchFn — every request will fail.\n" +
|
|
30
|
+
" → Get a free key (200 req/day, no card) at https://madeonsol.com/developer\n" +
|
|
31
|
+
" → Then: new MadeOnSolClient({ apiKey: process.env.MADEONSOL_API_KEY })\n");
|
|
29
32
|
}
|
|
30
33
|
}
|
|
31
34
|
captureRateLimit(res) {
|
|
@@ -110,7 +113,7 @@ export class MadeOnSolClient {
|
|
|
110
113
|
// ── REST helper (used by webhooks, streaming, alpha, copy-trade, wallet-tracker) ──
|
|
111
114
|
async restRequest(method, path, body) {
|
|
112
115
|
if (this.authMode !== "madeonsol") {
|
|
113
|
-
return { error: "MadeOnSol API key required for this endpoint. Get a free `msk_` key at madeonsol.com/developer", status: 401 };
|
|
116
|
+
return { error: "MadeOnSol API key required for this endpoint. Get a free `msk_` key at https://madeonsol.com/developer", status: 401 };
|
|
114
117
|
}
|
|
115
118
|
const res = await this.fetchFn(`${this.baseUrl}/api/v1${path}`, {
|
|
116
119
|
method,
|
package/dist/index.js
CHANGED
|
@@ -57,7 +57,9 @@ export const madeOnSolPlugin = {
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
else {
|
|
60
|
-
console.
|
|
60
|
+
console.warn("[madeonsol] No auth configured — every API call will fail.\n" +
|
|
61
|
+
" → Get a free MADEONSOL_API_KEY (200 req/day, no card) at https://madeonsol.com/developer\n" +
|
|
62
|
+
" → Or set SVM_PRIVATE_KEY for x402 micropayments.");
|
|
61
63
|
}
|
|
62
64
|
const madeOnSolClient = new MadeOnSolClient({ baseUrl, apiKey, fetchFn });
|
|
63
65
|
runtime[MADEONSOL_CLIENT_KEY] = madeOnSolClient;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@madeonsol/plugin-madeonsol",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "ElizaOS plugin for MadeOnSol — Solana KOL intelligence and deployer analytics via x402 micropayments",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -51,4 +51,4 @@
|
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@elizaos/core": "^2.0.0-alpha.77"
|
|
53
53
|
}
|
|
54
|
-
}
|
|
54
|
+
}
|