litcoin/SKILL.md
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.
npx skillsauth add bankrbot/openclaw-skills litcoin-minerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
# PyPI package: https://pypi.org/project/litcoin/
pip install litcoin
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()
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()
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()
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:
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.
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_..." }
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 increases your mining rewards:
| Tier | Name | Stake | Lock | Boost | |------|------|-------|------|-------| | 1 | Spark | 1M | 7d | 1.10x | | 2 | Circuit | 5M | 30d | 1.25x | | 3 | Core | 50M | 90d | 1.50x | | 4 | Architect | 500M | 180d | 2.00x |
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
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.
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
Pool resources with other miners for shared staking boost:
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
Spend LITCREDIT on AI inference served by relay miners:
agent.deposit_escrow(100)
result = agent.compute("Explain proof of research")
print(result['response'])
Query the card catalog across Pokemon, Magic, Yu-Gi-Oh, One Piece, and Greed Island. 800K+ cards indexed with live pricing and community sentiment.
# 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()
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'])
mine(rounds=None) — Comprehension mine (None = infinite loop)claim() — Claim rewards on-chainstatus() — Check earnings and claimable balancefaucet() — Bootstrap 5M LITCOIN (one-time)balance() — LITCOIN + LITCREDIT balancesresearch_mine(task_type, task_id) — Single research cycleresearch_loop(task_type, task_id, rounds, delay) — Iterate on one taskresearch_tasks(task_type) — List active tasksresearch_leaderboard(task_id) — Top researchersresearch_stats() — Global statsresearch_history(task_id) — Your submissionsstake(tier) — Stake tier 1-4 (auto-approves)unstake() — Unstake after lock expiresearly_unstake(confirm) — Preview/execute early unstake with penaltyupgrade_tier(new_tier) — Upgrade to higher tierstake_info() — Tier, amount, lock statustime_until_unlock() — Seconds until lock expiresopen_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 vaultmint_litcredit(vault_id, amount) — Mint LITCREDIT (0.5% LITCOIN / 0.25% USDC fee)repay_debt(vault_id, amount) — Repay debtadd_collateral(vault_id, amount) — Add collateral (auto-detects token type)close_vault(vault_id) — Close vaultvault_ids() — List your vaultsvault_health(vault_id) — Collateral ratiodeposit_escrow(amount) - Deposit LITCREDITcompute(prompt) - AI inference via relay networktcg_stats() - Catalog stats across all five gamestcg_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 pricetcg_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 + sentimenttcg_prices_live() - Live prices for top-value cards across all gamescreate_guild(name) — Create guildjoin_guild(guild_id, amount) — Join with depositleave_guild() — Leave guildstake_guild(tier) — Stake pool (leader)unstake_guild() — Unstake pool (leader)guild_membership() — Your guild infoDirect 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 poolslist_delegations() — Your active positionsdelegation_pools() — All six pool aggregatesdelegation_pool(pool_id) — One pool's stats and backersdelegation_history(limit=25) — Your recent delegation actionscommission_status() — Claimable commission for your walletclaim_commission() — Coordinator-signed commission claim ready to submitpending_delegations() — Bankr-routed delegations in their 24h safety windowconfirm_delegation(pending_id) — Activate a pending delegation immediatelyrevoke_delegation(pending_id) — Cancel a pending delegation before activationdelegation_lock_status() — 7-day commitment lock countdown for your positionsemergency_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 earningsDelegation 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.
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.
balance() — LITCOIN + LITCREDIToracle_prices() — CPI and LITCOIN pricessnapshot() — Full protocol stateThe SDK raises exceptions with clear messages:
| Error | Fix |
|-------|-----|
| Insufficient balance | Use faucet() or buy more LITCOIN |
| Stake locked | Use early_unstake() or wait for lock to expire |
| Not staked | Call stake(tier) first |
| Daily cap reached | Wait, mining rewards reset daily |
| Max mintable exceeded | Reduce mint amount |
| Vault has debt | Call repay_debt() before closing |
| Rate limited | Wait 30 seconds between DeFi operations |
0x316ffb9c875f900AdCF04889E415cC86b564EBa3data-ai
Discover, bet on, track, and settle Hunch prediction markets in natural language. Trigger when a user wants to bet, take a position, or get odds on a crypto outcome — token market-cap milestones and flips, launchpad races (Bankr vs pump.fun volume / #1-days / launches over a cap), token head-to-head outperformance, mcap strike-ladders, and up/down price rounds. Also trigger on "what can I bet on about $TOKEN", "odds on …", "take YES/NO on …", "show my Hunch bets", "did my market resolve". Settles in USDC on Base via x402 (≤ $10 / bet); every bet returns an on-chain proof.
tools
HSM-backed secret management for AI agents. Store API keys (including Bankr `bk_` keys), passwords, and credentials in an encrypted vault; retrieve them at runtime via MCP without keeping secrets in chat context. Bankr Dynamic Key Vending issues short-lived scoped `bk_usr_` keys from a partner key (`bk_ptr_`) without manual rotation. Policy-based access control, secret rotation, sharing, EVM transaction intents (sign/simulate/broadcast), multi-chain signing keys, treasury multisig proposals, OIDC federation for external service auth, built-in prompt injection detection, and optional Shroud TEE LLM proxy. Use when the agent needs secure credential storage, just-in-time secret access, guarded on-chain signing, or security scanning — not for Bankr trading prompts, portfolio checks, or x402 calls (use the bankr skill instead).
development
Give your Bankr agent its own brain and a wallet-signed line to every other agent — on any framework, with no API key. SIGNA is the keyless agent layer on Base: resolve any identity to a messageable wallet, send and read wallet-signed DMs, invoke capabilities on the network, and run a brain that reasons on decentralized inference and acts through those capabilities. The Bankr wallet is the only credential. Triggers: "message that agent", "DM this wallet/handle", "reach the agent behind @x", "what is the base market", "resolve @handle to a wallet", "ask the network", "let my agent think and report".
development
AI-powered crypto trading agent, wallet API, and LLM gateway via natural language. Use when the user wants to trade crypto, check portfolio balances (with PnL and NFTs), view token prices, search tokens, transfer crypto, manage NFTs, use leverage (Hyperliquid or Avantis), bet on Polymarket, deploy tokens, set up automated trading, sign and submit raw transactions, call or deploy x402 paid API endpoints, browse the web, or access LLM models through the Bankr LLM gateway funded by your Bankr wallet. Supports Base, Ethereum, Polygon, Solana, Unichain, World Chain, Arbitrum, and BNB Chain.