Litcoin Miner 标志

Litcoin Miner

组织热门
BankrBot
litcoin-miner

通过 Bankr 全流程挖矿、质押、领取并管理 LITCOIN。通过 @bankrbot 托管挖矿:发送“start a research miner for me”即可部署服务端 Sentinel;它会将 Bankr 密钥用作 LLM 密钥,连接 llm.bankr.bot,因此无需其他 AI 服务提供商。可在四个等级(Spark、Circuit、Conduit、Architect)中选择质押,领取累积奖励,将 LITCOIN 委托给六个 Nen 原型增益池之一,加入矿工增益计划,开启金库,铸造 LITCREDIT,管理挖矿公会,查看或注资计算托管账户,成为 LITCOIN X 计算服务提供商,或在 Base 上使用 LITCOIN DeFi 协议。

Add to TypingMind

概览

发布者BankrBot
代码仓库skills
技能名称litcoin-miner
星标数
1.2K
复刻数
643
附带文件
3
许可协议MIT-0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 BankrBot 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Litcoin Miner AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/BankrBot/skills/tree/main/litcoin
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/BankrBot/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/litcoin .claude/skills/litcoin-miner
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Litcoin Miner,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Litcoin Miner。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Litcoin Miner 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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

python
# 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.

python
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.

python
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:

python
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:

DomainEndpoints
Claims/v1/bankr/claim-with-key
Stakingstake unstake early-unstake upgrade-tier add-to-stake stake/info
Vaultsvault/open vault/add-collateral vault/mint vault/repay vault/withdraw vault/close vault/details
Delegationdelegate undelegate boost/opt-in boost/opt-out
Guildsguild/join guild/leave guild/unstake
Hosted miningmine/start mine/stop mine/status
Computeescrow/deposit compute/status compute/balance compute/become-provider
Readbalance
BuyBankr'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) and returns a structured next-steps payload pointing at litcoin.app/x. The desktop app does the real registration on first launch. POST /v1/bankr/compute/status returns live provider metrics once the desktop app is running.

Staking (Mining Boost)

Staking increases your mining rewards:

TierNameStakeLockBoost
1Spark1M7d1.10x
2Circuit5M30d1.25x
3Core50M90d1.50x
4Architect500M180d2.00x
python
agent.stake(tier=2)              # Stake into Circuit
agent.stake_info()               # Check tier and lock status
agent.unstake()                  # After lock expires
agent.early_unstake(confirm=False)  # Preview penalty
agent.early_unstake(confirm=True)   # Execute with penalty

Vaults and LITCREDIT

Open vaults with LITCOIN or USDC collateral, mint LITCREDIT (compute-pegged stablecoin: 1 LITCREDIT = 1,000 output tokens of frontier AI). LITCOIN vaults: tier-based ratios (150-250%), 0.5% minting fee. USDC vaults: fixed 105% ratio, 0.25% minting fee, 500K LITCREDIT ceiling. No staking needed.

python
agent.open_vault(10_000_000)             # LITCOIN vault (V1)
agent.open_vault_v2("usdc", 1000)        # USDC vault — $1,000 at 105%
agent.open_vault_v2("litcoin", 10_000_000)  # LITCOIN vault (V2)
vaults = agent.vault_ids()
token = agent.get_vault_token(vaults[0]) # Returns token address
agent.mint_litcredit(vaults[0], 500)     # Mint 500 LITCREDIT
agent.repay_debt(vaults[0], 500)         # Repay debt
agent.add_collateral(vaults[0], 5_000_000)  # Strengthen vault
agent.close_vault(vaults[0])             # Close vault
agent.vault_health(vaults[0])            # Check collateral ratio

Guilds

Pool resources with other miners for shared staking boost:

python
agent.join_guild(guild_id=1, amount=5_000_000)
agent.guild_membership()
agent.leave_guild()
agent.stake_guild(tier=2)        # Leader only
agent.unstake_guild()            # Leader only

Compute Marketplace

Spend LITCREDIT on AI inference served by relay miners:

python
agent.deposit_escrow(100)
result = agent.compute("Explain proof of research")
print(result['response'])

TCG Intelligence

Query the card catalog across Pokemon, Magic, Yu-Gi-Oh, One Piece, and Greed Island. 800K+ cards indexed with live pricing and community sentiment.

python
# Catalog stats
stats = agent.tcg_stats()

# Search by game, rarity, sort by price
holos = agent.tcg_search(game="pokemon", rarity="Holo Rare", sort="price-desc", limit=10)

# Single card details + latest price
card = agent.tcg_card("pokemon", "base1", "4")  # Base set Charizard

# 90-day price history for one card
history = agent.tcg_price_history("pokemon", "base1", "4", days=90)

# Currently trending cards
trending = agent.tcg_trending(game="mtg", days=7, limit=20)

# Live prices for top-value cards (refreshed every 30 minutes)
live = agent.tcg_prices_live()

Full Flywheel Example

python
from litcoin import Agent

agent = Agent(bankr_key="bk_...", ai_key="sk-...")

agent.mine(rounds=20)                    # Comprehension mine
agent.research_loop(rounds=10)           # Research mine
agent.claim()                            # Claim on-chain
agent.stake(2)                           # Circuit tier (1.25x boost)
agent.open_vault(10_000_000)             # LITCOIN vault with 10M collateral
agent.open_vault_v2("usdc", 1000)        # Or USDC vault with $1,000
vaults = agent.vault_ids()
agent.mint_litcredit(vaults[0], 500)     # Mint 500 LITCREDIT
agent.deposit_escrow(100)                # Fund compute
result = agent.compute("Summarize this document")
print(result['response'])

Full SDK Reference

Mining

  • mine(rounds=None) — Comprehension mine (None = infinite loop)
  • claim() — Claim rewards on-chain
  • status() — Check earnings and claimable balance
  • faucet() — Bootstrap 5M LITCOIN (one-time)
  • balance() — LITCOIN + LITCREDIT balances

Research Mining

  • research_mine(task_type, task_id) — Single research cycle
  • research_loop(task_type, task_id, rounds, delay) — Iterate on one task
  • research_tasks(task_type) — List active tasks
  • research_leaderboard(task_id) — Top researchers
  • research_stats() — Global stats
  • research_history(task_id) — Your submissions

Staking

  • stake(tier) — Stake tier 1-4 (auto-approves)
  • unstake() — Unstake after lock expires
  • early_unstake(confirm) — Preview/execute early unstake with penalty
  • upgrade_tier(new_tier) — Upgrade to higher tier
  • stake_info() — Tier, amount, lock status
  • time_until_unlock() — Seconds until lock expires

Vaults

  • open_vault(collateral) — Open vault with LITCOIN (V1)
  • open_vault_v2(token, amount) — Open vault with LITCOIN or USDC (V2)
  • get_vault_token(vault_id) — Get collateral type for a vault
  • mint_litcredit(vault_id, amount) — Mint LITCREDIT (0.5% LITCOIN / 0.25% USDC fee)
  • repay_debt(vault_id, amount) — Repay debt
  • add_collateral(vault_id, amount) — Add collateral (auto-detects token type)
  • close_vault(vault_id) — Close vault
  • vault_ids() — List your vaults
  • vault_health(vault_id) — Collateral ratio

Compute

  • deposit_escrow(amount) - Deposit LITCREDIT
  • compute(prompt) - AI inference via relay network

TCG Intelligence

  • tcg_stats() - Catalog stats across all five games
  • tcg_search(game, query, set_code, rarity, sort, limit, offset) - Search cards (sort: name, number, rarity, price-desc, price-asc, recent)
  • tcg_card(game, set_code, card_number) - Full card details + latest price
  • tcg_price_history(game, set_code, card_number, days) - Daily price history (up to 365 days)
  • tcg_trending(game, days, limit) - Trending cards by price momentum + sentiment
  • tcg_prices_live() - Live prices for top-value cards across all games

Guilds

  • create_guild(name) — Create guild
  • join_guild(guild_id, amount) — Join with deposit
  • leave_guild() — Leave guild
  • stake_guild(tier) — Stake pool (leader)
  • unstake_guild() — Unstake pool (leader)
  • guild_membership() — Your guild info

Delegation (Liquidity → Production)

Direct your already-staked LITCOIN at one of six research archetypes (Enhancer, Transmuter, Conjurer, Specialist, Manipulator, Emitter). Backed miners get a boost; you earn commission on what they produce. Funds never move — your principal stays in the staking contract. Tier-weighted power: Spark 1x, Circuit 2x, Core 4x, Architect 8x.

Pool IDs: 0=Enhancer 1=Transmuter 2=Conjurer 3=Specialist 4=Manipulator 5=Emitter

  • delegate(allocations) — Sign + record delegation. Allocations is a list of {poolId, bps} (basis points of stake, 0-10000, total ≤ 10000). Example: agent.delegate([{"poolId": 4, "bps": 10000}]) (100% to Manipulator) Split: agent.delegate([{"poolId": 0, "bps": 6000}, {"poolId": 3, "bps": 4000}])
  • undelegate(pool_ids) — Start the 7-day cooldown for one or more pools
  • list_delegations() — Your active positions
  • delegation_pools() — All six pool aggregates
  • delegation_pool(pool_id) — One pool's stats and backers
  • delegation_history(limit=25) — Your recent delegation actions
  • commission_status() — Claimable commission for your wallet
  • claim_commission() — Coordinator-signed commission claim ready to submit
  • pending_delegations() — Bankr-routed delegations in their 24h safety window
  • confirm_delegation(pending_id) — Activate a pending delegation immediately
  • revoke_delegation(pending_id) — Cancel a pending delegation before activation
  • delegation_lock_status() — 7-day commitment lock countdown for your positions
  • emergency_exit() — Break the 7-day commitment. Penalty: 14 days of staking yield, routed to research mining pool. Principal untouched.
  • backed_miners() — Pools you back, miners opted in, recent commission earnings

Delegation safety system. Bankr-routed delegations land in a 24-hour safety window before activating. During the window you can confirm to activate immediately, or revoke to cancel. After 24h with no action, the delegation auto-activates. Telegram notifications fire if you've bound a chat. Rate limit: max 3 Bankr-routed delegation changes per wallet per 24h. Amount cap: a single change cannot move more than 50% of stake-power. The safety system applies ONLY to Bankr-routed paths. Direct wallet (MetaMask) and agent SDK delegations activate immediately.

Lock + emergency exit. When a delegation signature lands, every position is locked for 7 days. You cannot re-delegate elsewhere until the lock expires. Emergency exit costs 14 days of current staking yield, debited from claimable balance and routed to the research pool. Principal stays in the staking contract throughout — emergency exit only clears the delegation state, not your stake.

Boost program (miner-side)

Miners can opt INTO a pool's boost program to earn the boost share that delegators direct to that pool. Higher commitment = more share weight, but harder penalty if pool quality slips below threshold. Threshold = avg quality ≥6/10 AND ≥5 verified subs/day.

  • opt_in_to_boost(pool_id, commitment_tier=1) — Commit this miner to a pool. Tiers: 1=Conservative (1× weight, 10% miss penalty), 2=Aggressive (2×, 20%), 3=All-In (3×, 35%).
  • opt_out_of_boost(pool_id) — End the commitment. Future settlements will skip this miner in this pool.
  • boost_optin_status() — Active opt-ins for your wallet across all six pools.

The boost share is sourced from a 2.5% carve-out of the daily research pool plus recycled forfeits (failed pools' pending yield, unused boost, miner penalties, and emergency-exit penalties all flow back into the research mining pool, which then refeeds the carve-out). Unbacked miners are unaffected.

Auto-enrollment (added 2026-05-04). Miners who consistently produce in one archetype get auto-enrolled into that pool at Conservative tier with a 14-day risk-free preview. During preview, the boost upside fires on qualifying days but the haircut clause is suspended even on missed-threshold days. The eligibility filter requires ≥10 verified subs in the last 7 days, average quality ≥6/10, and one archetype representing ≥60% of submission volume. Generalists are excluded (they would miss threshold and lose money). After preview matures, normal rules apply automatically. Operator can opt out anytime during preview, zero penalty. Check status with GET /v1/boost/preview-status?wallet=... or via the dashboard banner.

Read State

  • balance() — LITCOIN + LITCREDIT
  • oracle_prices() — CPI and LITCOIN prices
  • snapshot() — Full protocol state

Error Handling

The SDK raises exceptions with clear messages:

ErrorFix
Insufficient balanceUse faucet() or buy more LITCOIN
Stake lockedUse early_unstake() or wait for lock to expire
Not stakedCall stake(tier) first
Daily cap reachedWait, mining rewards reset daily
Max mintable exceededReduce mint amount
Vault has debtCall repay_debt() before closing
Rate limitedWait 30 seconds between DeFi operations

Key Info

  • Chain: Base mainnet (8453)
  • Token: 0x316ffb9c875f900AdCF04889E415cC86b564EBa3
  • SDK: v4.15.1 on PyPI
  • Emission: 1.0% APR of treasury (soft-landing)
  • 1 LITCREDIT = 1,000 output tokens of frontier AI
  • 24 research adapters producing verified code and structured data (incl. RuneScape vertical Phases 1-4)
  • TCG intelligence across Pokemon, Magic, Yu-Gi-Oh, One Piece, Greed Island
  • Docs: https://litcoin.app/docs
  • Cards: https://litcoin.app/cards
  • Source: https://litcoin.app

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Litcoin Miner AI 技能有什么作用?

通过 Bankr 全流程挖矿、质押、领取并管理 LITCOIN。通过 @bankrbot 托管挖矿:发送“start a research miner for me”即可部署服务端 Sentinel;它会将 Bankr 密钥用作 LLM 密钥,连接 llm.bankr.bot,因此无需其他 AI 服务提供商。可在四个等级(Spark、Circuit、Conduit、Architect)中选择质押,领取累积奖励,将 LITCOIN 委托给六个 Nen 原型增益池之一,加入矿工增益计划,开启金库,铸造 LITCREDIT,管理挖矿公会,查看或注资计算托管账户,成为 LITCOIN X 计算服务提供商,或在 Base 上使用 LITCOIN DeFi 协议。

为什么在 TypingMind 中使用 Litcoin Miner?

因为您只需安装一次,就能搭配任何模型使用。Litcoin Miner 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Litcoin Miner?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/BankrBot/skills/tree/main/litcoin。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Litcoin Miner?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Litcoin Miner 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Litcoin Miner 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Litcoin Miner AI 技能免费吗?

是的。BankrBot 已在 GitHub 上根据 MIT-0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇