litcoin-miner
БесплатноБез исполняемых скриптовНе проверенMine, stake, claim, and manage LITCOIN end-to-end through Bankr. Hosted mining via @bankrbot: 'start a research miner for me' deploys a server-side Sentinel…
от BankrBot★ 1 223 звезды на GitHubОб этом скилле
LITCOIN Miner
Mine $LITCOIN on Base (chain 8453) using the Python SDK. Two mining paths: comprehension mining (no LLM needed) and research mining (LLM generates optimized code, tested in sandbox, verified on-chain).
Requirements: Python 3.9+, a Bankr API key from bankr.bot/api-keys with agent write access enabled, and a small amount of ETH on Base for gas.
Install
# PyPI package: https://pypi.org/project/litcoin/
pip install litcoin
Quick Start — Comprehension Mining
No LLM or AI key needed. The SDK's deterministic solver parses documents without LLM calls.
from litcoin import Agent
agent = Agent(bankr_key="bk_YOUR_KEY")
# Bootstrap free tokens (one-time, 5M LITCOIN)
agent.faucet()
# Mine 10 rounds
agent.mine(rounds=10)
# Claim rewards on-chain
agent.claim()
Quick Start — Research Mining
Requires an AI API key. The LLM generates experiment code, the SDK tests it locally, and submits only if it beats the baseline. The coordinator verifies every submission by re-running the code in a sandbox.
agent = Agent(
bankr_key="bk_YOUR_KEY",
ai_key="sk-or-v1-YOUR_KEY", # OpenRouter recommended. Or use Bankr LLM (see below)
ai_url="https://openrouter.ai/api/v1",
model="google/gemini-2.5-flash",
)
# Single research cycle
result = agent.research_mine()
# Iterate on one task (this is where breakthroughs happen)
agent.research_loop(task_id="sort-benchmark-001", rounds=50, delay=30)
# List available tasks (24 adapters: code_optimization, algorithm, pattern_recognition, software_engineering,
# bioinformatics, mathematics, compression, security-audit, red-team, proof-of-verification,
# knowledge-synthesis, exploit-forensics, adversarial-robustness, agentic-trace,
# tcg-card-profile, tcg-sentiment, vault-comp, variant-pathogenicity,
# runescape-insight, runescape-ta, runescape-sentiment, runescape-update-impact, and more)
tasks = agent.research_tasks()
Using Bankr LLM (no extra API key)
Your Bankr key doubles as an LLM API key:
agent = Agent(
bankr_key="bk_YOUR_KEY",
ai_key="bk_YOUR_KEY",
ai_url="https://llm.bankr.bot/v1",
)
agent.research_mine()
Bankr X Bot (@bankrbot) Integration
Every Python SDK call above maps to a coordinator endpoint at https://api.litcoin.app/v1/bankr/*. Bankr's @bankrbot on X is wired into this surface, so a Bankr user can do the entire LITCOIN flywheel from X with plain-language requests like:
- "claim my litcoin rewards"
- "stake 5M litcoin into tier 2"
- "upgrade my stake to architect"
- "add 10M to my stake"
- "open a usdc vault with 1000"
- "mint 500 litcredit from vault 7"
- "delegate 100% of my stake to manipulator"
- "opt me into the conjurer boost pool"
- "join guild 1 with 5M"
- "deposit 100 litcredit into compute escrow"
Bankr resolves the user's wallet from their bk_ key, the coordinator builds the calldata, Bankr signs and submits the tx on Base. No private key ever touches the coordinator. The full Bankr surface today:
| Domain | Endpoints |
|---|---|
| Claims | /v1/bankr/claim-with-key |
| Staking | stake unstake early-unstake upgrade-tier add-to-stake stake/info |
| Vaults | vault/open vault/add-collateral vault/mint vault/repay vault/withdraw vault/close vault/details |
| Delegation | delegate undelegate boost/opt-in boost/opt-out |
| Guilds | guild/join guild/leave guild/unstake |
| Hosted mining | mine/start mine/stop mine/status |
| Compute | escrow/deposit compute/status compute/balance compute/become-provider |
| Read | balance |
| Buy | Bankr's native swap on Aerodrome handles this. DM @bankrbot "swap 100 usdc for litcoin" directly. No coordinator endpoint needed. |
All Bankr-routed delegation changes pass through a 24-hour safety window (rate-limited to 3 per wallet per 24h, max 50% of stake-power per change) before activating. All other Bankr calls execute immediately on-chain. Set BANKR_API_KEY once and every Agent method routes through Bankr automatically.
Hosted mining via Bankr (zero AI key required)
POST /v1/bankr/mine/start deploys a hosted Sentinel that runs server-side. The Bankr key doubles as the AI key against https://llm.bankr.bot/v1, so the user never needs an OpenRouter account or a Python install. Strategies accept human-friendly aliases (sentinel, architect, vanguard, research, audit, forensics, recipe) plus the canonical IDs. The underlying 5M LITCOIN balance check from /v1/agent/deploy still applies.
POST /v1/bankr/mine/start
{ "bankrKey": "bk_...", "strategy": "research" }
POST /v1/bankr/mine/status
{ "bankrKey": "bk_..." }
POST /v1/bankr/mine/stop
{ "bankrKey": "bk_..." }
Becoming a compute provider (via Bankr or otherwise)
Compute serving requires a long-lived WebSocket from the LITCOIN X desktop app. POST /v1/bankr/compute/become-provider checks 5M LITCOIN eligibility (staked or liquid) a
Установить litcoin-miner в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл litcoin-miner?
Mine, stake, claim, and manage LITCOIN end-to-end through Bankr. Hosted mining via @bankrbot: 'start a research miner for me' deploys a server-side Sentinel that uses the Bankr key as the LLM key against llm.bankr.bot, so no other AI provider is needed. Stake at one of four tiers (Spark, Circuit, Conduit, Architect), claim accumulated rewards, delegate LITCOIN to one of six Nen archetype boost pools, opt into the miner boost program, open vaults, mint LITCREDIT, manage mining guilds, check or fund the compute escrow, become a LITCOIN X compute provider, or interact with the LITCOIN DeFi protocol on Base.
Как установить скилл litcoin-miner?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл litcoin-miner запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic