ktrendz-skill
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
02 资源文件 8
- 参考文档_meta.json458 B
- 脚本index.js1.0 KB
- 参考文档package.json518 B
- 脚本scripts/buy.sh2.6 KB
- 脚本scripts/price.sh3.0 KB
- 脚本scripts/sell.sh2.6 KB
- 脚本scripts/setup.sh1.9 KB
- 脚本scripts/tokens.sh1.5 KB
03 SKILL.md 正文
K-Trendz Lightstick Trading
Trade K-pop artist lightstick tokens on the K-Trendz bonding curve market.
Capability Summary: Buy and sell K-pop fan tokens with real-time pricing, news signals, and bonding curve mechanics. Early buyers benefit from price appreciation as artist popularity grows. All transactions are gas-sponsored via Paymaster — no ETH needed.
Prerequisites
Run /ktrendz:setup first to configure your credentials:
- K-Trendz API Key (required): Contact K-Trendz team for provisioning
You can also set via environment variables:
KTRENDZ_API_KEY- Required for all trading operations
Quick Start
# Setup (one-time)
/ktrendz:setup
# List available tokens
/ktrendz:tokens
# Check token price
/ktrendz:price RIIZE
# Buy a token
/ktrendz:buy RIIZE
# Sell a token
/ktrendz:sell RIIZE
? Decision Tree
- "What tokens are available?" →
/ktrendz:tokens - "What's the price of X?" →
/ktrendz:price <artist> - "Should I buy X?" → Check price + news signals first
- "Buy X token" →
/ktrendz:buy <artist> - "Sell X token" →
/ktrendz:sell <artist>
Main Commands
/ktrendz:setup
Collects and validates API key, stores securely.
./scripts/setup.sh
/ktrendz:tokens
List all available tokens with current supply and trending scores.
./scripts/tokens.sh
Output includes:
- Token ID
- Artist name
- Total supply
- Trending score
/ktrendz:price
Get current price and trading signals for a token.
./scripts/price.sh RIIZE
Output includes:
- Current price (USDC)
- Buy cost / Sell refund
- 24h price change
- Trending score
- Recent news signals
Decision Factors:
| Signal | Meaning | Buy Signal |
|---|---|---|
trending_score rising |
On-platform engagement up | ✅ Bullish |
price_change_24h positive |
Recent momentum | ✅ Trend continuation |
total_supply low |
Few holders | ✅ Early opportunity |
has_recent_news true |
Media coverage | ✅ Potential catalyst |
/ktrendz:buy
Purchase 1 lightstick token.
./scripts/buy.sh RIIZE [slippage_percent]
Parameters:
artist_name: Artist name (e.g., RIIZE, IVE, BTS)slippage_percent: Maximum slippage tolerance (default: 5%)
Constraints:
- Maximum 1 token per transaction (bonding curve protection)
- $100/day limit per agent
- Same-block trades blocked (MEV protection)
- Gas fees are automatically sponsored (Paymaster)
/ktrendz:sell
Sell 1 lightstick token.
./scripts/sell.sh RIIZE [slippage_percent]
Parameters:
artist_name: Artist nameslippage_percent: Maximum slippage tolerance (default: 5%)
Architecture
V2 Contract
All bot trading is executed through FanzTokenBotV2 on Base Mainnet:
| Property | Value |
|---|---|
| Contract | 0x28bE702CC3A611A1EB875E277510a74fD20CDD9C |
| Network | Base Mainnet (Chain ID: 8453) |
| Standard | ERC-1155 |
| Currency | USDC (6 decimals) |
Agent Identification
Each registered agent receives a unique on-chain identifier. When the platform executes a trade on your behalf:
- The platform's Admin Wallet signs and submits the transaction
- Your unique agent address is passed as the
agentparameter - On-chain events (
Buy/Sell) log both the executor and your agent address - This enables per-agent DAU tracking on Dune Analytics
Gas Sponsorship
All transactions are gas-sponsored via Coinbase Paymaster:
- No ETH required — the platform covers gas fees
- Agents only need sufficient USDC balance for trading
- Gas sponsorship is included for all verified agents
Trading Strategy
This is a bonding curve market, not arbitrage:
- Buy when trending - Rising scores + news = growing demand
- Buy early - Lower supply = better curve position
- Monitor signals - News often precedes on-platform activity
- Hold during growth - Bonding curve rewards patient holders
Fee Structure
| Action | Fee | Distribution |
|---|---|---|
| Buy | 3% | 2% Artist Fund, 1% Platform |
| Sell | 2% | Platform |
Round-trip cost: 5%
Rate Limits
- Daily Volume: $100 USD per agent
- Transaction Frequency: Max 100 trades/day per agent
- Circuit Breaker: Pauses if price moves >20% in 10 blocks
Example Interactions
User: "What tokens can I trade?"
You:
- Run
./scripts/tokens.sh - Report: "There are 6 tokens available: RIIZE, IVE, BTS, Cortis, K-Trendz Supporters, All Day Project"
User: "What's RIIZE trading at?"
You:
- Run
./scripts/price.sh RIIZE - Report: "RIIZE is at $1.85 (+5.2% 24h). Trending score 1250 with 3 recent news articles. Buy cost: $1.91"
User: "Buy RIIZE for me"
You:
- Confirm: "Buy 1 RIIZE token for ~$1.91?"
- If yes, run
./scripts/buy.sh RIIZE - Report: "Purchased 1 RIIZE for $1.91. Tx: 0x..."
User: "Should I sell my IVE?"
You:
- Run
./scripts/price.sh IVE - Check signals (price trend, news, trending score)
- Advise based on data
API Reference
Base URL: https://k-trendz.com/api/bot/
| Endpoint | Method | Description |
|---|---|---|
/tokens |
GET | List all available tokens |
/token-price |
POST | Get price + signals |
/buy |
POST | Purchase 1 token |
/sell |
POST | Sell 1 token |
Request/Response Examples
GET /tokens
{
"success": true,
"data": {
"contract_address": "0x28bE702CC3A611A1EB875E277510a74fD20CDD9C",
"token_count": 6,
"tokens": [
{
"token_id": "7963681970480434413",
"artist_name": "RIIZE",
"total_supply": 42,
"trending_score": 1250,
"follower_count": 156
}
]
}
}
POST /token-price
// Request
{ "artist_name": "RIIZE" }
// Response
{
"success": true,
"data": {
"token_id": "7963681970480434413",
"artist_name": "RIIZE",
"current_price_usdc": 1.85,
"buy_cost_usdc": 1.91,
"sell_refund_usdc": 1.78,
"price_change_24h": "5.2",
"total_supply": 42,
"trending_score": 1250,
"external_signals": {
"article_count_24h": 3,
"has_recent_news": true,
"headlines": [...]
}
}
}
POST /buy
// Request
{
"artist_name": "RIIZE",
"max_slippage_percent": 5
}
// Response
{
"success": true,
"data": {
"transaction_id": "uuid",
"tx_hash": "0x...",
"token_id": "7963681970480434413",
"artist_name": "RIIZE",
"amount": 1,
"total_cost_usdc": 1.91,
"remaining_daily_limit": 98.09,
"gas_sponsored": true
}
}
POST /sell
// Request
{
"artist_name": "RIIZE",
"max_slippage_percent": 5
}
// Response
{
"success": true,
"data": {
"transaction_id": "uuid",
"tx_hash": "0x...",
"token_id": "7963681970480434413",
"artist_name": "RIIZE",
"amount": 1,
"net_refund_usdc": 1.78,
"fee_usdc": 0.04,
"gas_sponsored": true
}
}
Files
SKILL.md- This documentationpackage.json- Package metadatascripts/setup.sh- API key configurationscripts/tokens.sh- List available tokensscripts/price.sh- Get token pricescripts/buy.sh- Buy tokenscripts/sell.sh- Sell token
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.