简介
Gated Alpha
原始描述
Discover, filter, and purchase structured crypto alpha calls from Gated Alpha. Supports push delivery via webhooks (recommended) or direct polling. Pay-per-c...
通过你的 Agent 添加
安装目录:gated-alpha/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: gated-alpha
description: Discover, filter, and purchase structured crypto alpha calls from Gated Alpha via x402 pay-per-call on Base. Owner payouts are automatic — funds land within seconds of each purchase.
homepage: https://www.gatedalpha.xyz
version: 2.0.0
metadata: {"provider":"Gated Alpha","protocols":["x402"],"chains":["base"],"currency":"USDC","payTo":"0x93BFdb89EEbbDfE8162bdfBE238f37CCEEd7800C"}
Gated Alpha Skill
Gated Alpha is a pay-per-call alpha marketplace. Crypto signal groups publish calls. Agents (or humans) pay 1 USDC per call to unlock the full payload. Group owners are paid out automatically onchain within seconds of each purchase.
Live API base URL: https://www.gatedalpha.xyz
How It Works (End-to-End)
1. GET /alpha/latest -> free previews (no wallet needed)
2. Pick an alpha you want -> filter by group_score, chain, risk_level
3. GET /alpha/{id} -> returns HTTP 402 with payment-required header
4. Pay via x402 -> sign ERC-3009 transferWithAuthorization, resend with X-Payment header
5. GET /alpha/{id} (paid) -> returns 200 with full alpha JSON + payment-response header
6. Owner payout fires onchain -> automatic, within seconds, verifiable on Basescan
Free Endpoints (No Payment)
List groups
GET /groups
1. GET /alpha/latest -> free previews (no wallet needed)
2. Pick an alpha you want -> filter by group_score, chain, risk_level
3. GET /alpha/{id} -> returns HTTP 402 with payment-required header
4. Pay via x402 -> sign ERC-3009 transferWithAuthorization, resend with X-Payment header
5. GET /alpha/{id} (paid) -> returns 200 with full alpha JSON + payment-response header
6. Owner payout fires onchain -> automatic, within seconds, verifiable on Basescan
List groups
GET /groups
Returns all active groups with pricing and reputation scores.
Leaderboard
GET /leaderboard
GET /leaderboard
Groups ranked by group_score (higher = better track record).
Alpha previews
GET /alpha/latest?limit=20&chain=base
GET /alpha/latest?limit=20&chain=base
Returns preview metadata for recent alpha calls. Key fields:
id- use this to fetch the full paid payloadgroup_score- quality signal (0-100), always filter by this firstrisk_level- "low" / "medium" / "high" / nullconfidence- float 0-1 or nullchain- "base", "solana", etc.category- "memecoin", "defi", etc.mcap_range- "<100K", "100K-1M", etc.price_usdc- cost to unlock full payload (typically 1 USDC)
Paid Endpoint - Full Alpha Payload
Step 1: Hit the endpoint
GET /alpha/{id}
-> HTTP 402
Header: payment-required: <base64-encoded JSON>
Decode the header to get payment requirements:
{
"x402Version": 2,
"accepts": [{
"scheme": "exact",
"network": "eip155:8453",
"amount": "1000000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"payTo": "0x93BFdb89EEbbDfE8162bdfBE238f37CCEEd7800C",
"maxTimeoutSeconds": 300,
"extra": { "name": "USD Coin", "version": "2" }
}]
}
- Network: Base mainnet (eip155:8453)
- Token: USDC on Base (
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) - Amount: 1,000,000 micro-USDC = 1 USDC
- payTo: Platform settlement wallet (15% fee kept, 85% auto-paid to group owner immediately)
Step 2: Pay using @x402/fetch (recommended for agents)
import { x402Client } from '@x402/core/client';
import { ExactEvmScheme } from '@x402/evm';
import { wrapFetchWithPayment } from '@x402/fetch';
import { createPublicClient, createWalletClient, http, publicActions } from 'viem';
import { base } from 'viem/chains';
import { privateKeyToAccount } from 'viem/accounts';
const account = privateKeyToAccount('0x<your-private-key>');
const publicClient = createPublicClient({ chain: base, transport: http('https://base-rpc.publicnode.com') });
const walletClient = createWalletClient({ account, chain: base, transport: http('https://base-rpc.publicnode.com') }).extend(publicActions);
// Must build clientSigner manually - walletClient.address is undefined when account is set via walletClient constructor
const clientSigner = {
address: account.address,
signTypedData: (msg) => walletClient.signTypedData({ account, ...msg }),
readContract: (args) => publicClient.readContract(args)
};
const coreClient = new x402Client().register('eip155:*', new ExactEvmScheme(clientSigner));
const paidFetch = wrapFetchWithPayment(fetch, coreClient);
// Handles 402 -> sign ERC-3009 -> retry automatically
const res = await paidFetch('https://www.gatedalpha.xyz/alpha/{id}');
const alpha = await res.json();
import { x402Client } from '@x402/core/client';
import { ExactEvmScheme } from '@x402/evm';
import { wrapFetchWithPayment } from '@x402/fetch';
import { createPublicClient, createWalletClient, http, publicActions } from 'viem';
import { base } from 'viem/chains';
import { privateKeyToAccount } from 'viem/accounts';
const account = privateKeyToAccount('0x<your-private-key>');
const publicClient = createPublicClient({ chain: base, transport: http('https://base-rpc.publicnode.com') });
const walletClient = createWalletClient({ account, chain: base, transport: http('https://base-rpc.publicnode.com') }).extend(publicActions);
// Must build clientSigner manually - walletClient.address is undefined when account is set via walletClient constructor
const clientSigner = {
address: account.address,
signTypedData: (msg) => walletClient.signTypedData({ account, ...msg }),
readContract: (args) => publicClient.readContract(args)
};
const coreClient = new x402Client().register('eip155:*', new ExactEvmScheme(clientSigner));
const paidFetch = wrapFetchWithPayment(fetch, coreClient);
// Handles 402 -> sign ERC-3009 -> retry automatically
const res = await paidFetch('https://www.gatedalpha.xyz/alpha/{id}');
const alpha = await res.json();
Important: Run this script from a directory that has @x402/core, @x402/evm, @x402/fetch, and viem in its node_modules. These are installed in /Users/zich-agent/.openclaw/agents/zeki/alpha-claw/.
Step 3: Read the payment-response header
After a successful purchase, the response includes:
Header: payment-response: <base64-encoded JSON>
Decoded:
{
"success": true,
"transaction": "0x866cc7ac521885578762929906...",
"network": "eip155:8453",
"payer": "0x<buyer-wallet>"
}
The transaction value is a Basescan-verifiable onchain tx hash:
https://basescan.org/tx/0x<transaction>
Step 4: Full alpha payload structure (200 response)
{
"id": "alpha_01kj457g0nzqdhacwd8jn25ykq",
"group": {
"group_id": "grp_...",
"display_name": "Group Name",
"group_score": 9,
"price_usdc": 1
},
"token": {
"name": "TokenName",
"symbol": "TKN",
"chain": "base",
"contract_address": "0x...",
"pair_address": "0x..."
},
"market": {
"mcap_at_call": 50200,
"liquidity_usd": 55893,
"age_hours": 24.7
},
"alpha": {
"thesis": "Raw call text from the group",
"catalyst": "source_telegram_message",
"category": "memecoin",
"confidence": 0.85,
"risk_level": "low",
"target_mcap": 15000000
}
}
Owner Payout Flow (Fully Automatic)
{
"id": "alpha_01kj457g0nzqdhacwd8jn25ykq",
"group": {
"group_id": "grp_...",
"display_name": "Group Name",
"group_score": 9,
"price_usdc": 1
},
"token": {
"name": "TokenName",
"symbol": "TKN",
"chain": "base",
"contract_address": "0x...",
"pair_address": "0x..."
},
"market": {
"mcap_at_call": 50200,
"liquidity_usd": 55893,
"age_hours": 24.7
},
"alpha": {
"thesis": "Raw call text from the group",
"catalyst": "source_telegram_message",
"category": "memecoin",
"confidence": 0.85,
"risk_level": "low",
"target_mcap": 15000000
}
}
Every purchase immediately triggers a real onchain USDC transfer:
- Platform keeps 15% (1500 BPS)
- Group owner receives 85% to their registered Base wallet
- Transfer is ERC-20 USDC on Base - verifiable on Basescan
- No cron, no manual trigger, no waiting
This is wired directly into the purchase handler. Payment confirmed = payout fires.
Agent Buying Defaults
Filter by these defaults unless instructed otherwise:
min_group_score=40(skip low-quality groups)chains=baselimit=20- Skip calls where both
confidenceANDrisk_levelarenull(unscored)
Decision Logic
if group_score < 40 -> skip (unproven group)
if risk_level == "high" AND confidence < 0.7 -> skip
if mcap_at_call > 5_000_000 -> skip (likely too late)
else -> candidate for purchase
Group Owner Onboarding
if group_score < 40 -> skip (unproven group)
if risk_level == "high" AND confidence < 0.7 -> skip
if mcap_at_call > 5_000_000 -> skip (likely too late)
else -> candidate for purchase
To onboard a group, provide:
- Telegram group name
- Telegram chat ID (negative integer, e.g.
-100123456789) - Price per alpha in USDC (e.g.
1) - Owner's Base wallet address (for automatic payouts)
Contact @ZekiAgent or @SatoshiWolf to register.
Key Constants
- Live URL: https://www.gatedalpha.xyz
- Platform wallet (payTo):
0x93BFdb89EEbbDfE8162bdfBE238f37CCEEd7800C
- USDC on Base:
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
- Network: Base mainnet (eip155:8453, chainId 8453)
- Platform fee: 15% (1500 BPS)
- Owner cut: 85%
- Repo:
agitechgroup/alpha-claw (auto-deploys on push to main)
0x93BFdb89EEbbDfE8162bdfBE238f37CCEEd7800C0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913agitechgroup/alpha-claw (auto-deploys on push to main)正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。