bittensor-sdk
Complete Bittensor SDK reference — Subtensor, AsyncSubtensor, Metagraph, Axon, Dendrite, Synapse, chain_data models, extrinsics (sync + async), extras…
Skill by taoli
Chalk Labs
Need help deploying bittensor-sdk?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jiayaoqijia-bittensor-sdk
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: finance
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/bittensor-sdk
What's inside
- Skill name
bittensor-sdk- Description
- Complete Bittensor SDK reference — Subtensor, AsyncSubtensor, Metagraph, Axon, Dendrite, Synapse, chain_data models, extrinsics (sync + async), extras (subtensor_api, dev_framework, timelock), and utils (balance, btlogging, weight_utils, registration, liquidity, networking, version). Use for any bittensor operation: wallet management, staking, subnet ops, neuron registration, metagraph queries, emissions tracking, liquidity management, MEV protection, proxy delegation, coldkey swaps, crowdloans, weight setting, and more.
- License
- MIT
- Compatibility
- Requires Python 3.8+, bittensor>=8.0.0, network access to Bittensor network endpoints
- Metadata
- author: taoli · github: taoleeh · twitter: taoleeh · version: 2.0.0 · website: bittensor.quest
- Instructions
- 619 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- body: 619 lines (spec recommends under 500)
Files (139)
- SKILL.md
- SOURCE.md
- TRUST.auto.yaml
- _meta.json
- API_REFERENCE.md · references/
- index.md · references/autoapi/core/async_subtensor/
- index.md · references/autoapi/core/axon/
- index.md · references/autoapi/core/chain_data/axon_info/
- index.md · references/autoapi/core/chain_data/chain_identity/
- index.md · references/autoapi/core/chain_data/coldkey_swap/
- index.md · references/autoapi/core/chain_data/crowdloan_info/
- index.md · references/autoapi/core/chain_data/delegate_info/
- index.md · references/autoapi/core/chain_data/delegate_info_lite/
- index.md · references/autoapi/core/chain_data/dynamic_info/
- index.md · references/autoapi/core/chain_data/
- index.md · references/autoapi/core/chain_data/info_base/
- index.md · references/autoapi/core/chain_data/ip_info/
- index.md · references/autoapi/core/chain_data/metagraph_info/
- index.md · references/autoapi/core/chain_data/neuron_info/
- index.md · references/autoapi/core/chain_data/neuron_info_lite/
- index.md · references/autoapi/core/chain_data/prometheus_info/
- index.md · references/autoapi/core/chain_data/proposal_vote_data/
- index.md · references/autoapi/core/chain_data/proxy/
- index.md · references/autoapi/core/chain_data/root_claim/
- index.md · references/autoapi/core/chain_data/scheduled_coldkey_swap_info/
- index.md · references/autoapi/core/chain_data/sim_swap/
- index.md · references/autoapi/core/chain_data/stake_info/
- index.md · references/autoapi/core/chain_data/subnet_hyperparameters/
- index.md · references/autoapi/core/chain_data/subnet_identity/
- index.md · references/autoapi/core/chain_data/subnet_info/
- index.md · references/autoapi/core/chain_data/subnet_state/
- index.md · references/autoapi/core/chain_data/utils/
- index.md · references/autoapi/core/chain_data/weight_commit_info/
- index.md · references/autoapi/core/config/
- index.md · references/autoapi/core/dendrite/
- index.md · references/autoapi/core/errors/
- index.md · references/autoapi/core/extrinsics/asyncex/children/
- index.md · references/autoapi/core/extrinsics/asyncex/coldkey_swap/
- index.md · references/autoapi/core/extrinsics/asyncex/crowdloan/
- index.md · references/autoapi/core/extrinsics/asyncex/
- index.md · references/autoapi/core/extrinsics/asyncex/liquidity/
- index.md · references/autoapi/core/extrinsics/asyncex/mev_shield/
- index.md · references/autoapi/core/extrinsics/asyncex/move_stake/
- index.md · references/autoapi/core/extrinsics/asyncex/proxy/
- index.md · references/autoapi/core/extrinsics/asyncex/registration/
- index.md · references/autoapi/core/extrinsics/asyncex/root/
- index.md · references/autoapi/core/extrinsics/asyncex/serving/
- index.md · references/autoapi/core/extrinsics/asyncex/staking/
- index.md · references/autoapi/core/extrinsics/asyncex/start_call/
- index.md · references/autoapi/core/extrinsics/asyncex/sudo/
- index.md · references/autoapi/core/extrinsics/asyncex/take/
- index.md · references/autoapi/core/extrinsics/asyncex/transfer/
- index.md · references/autoapi/core/extrinsics/asyncex/unstaking/
- index.md · references/autoapi/core/extrinsics/asyncex/utils/
- index.md · references/autoapi/core/extrinsics/asyncex/weights/
- index.md · references/autoapi/core/extrinsics/children/
- index.md · references/autoapi/core/extrinsics/coldkey_swap/
- index.md · references/autoapi/core/extrinsics/crowdloan/
- index.md · references/autoapi/core/extrinsics/
- index.md · references/autoapi/core/extrinsics/liquidity/
- …and 79 more
SKILL.md (first lines)
# Bittensor SDK — Complete API Reference
Comprehensive reference for the Bittensor Python SDK. Based on the full autoapi documentation.
## Package Structure
```
bittensor/
├── core/
│ ├── subtensor — Synchronous blockchain interface (main class)
│ ├── async_subtensor — Asynchronous blockchain interface
│ ├── metagraph — Subnet state representation (sync/async/torch/nontorch)
│ ├── axon — Server-side neuron endpoint (FastAPI)
│ ├── dendrite — Client-side network request sender
│ ├── synapse — Communication schema between neurons (Pydantic)
│ ├── stream — Streaming response model
│ ├── tensor — Tensor serialization utilities
│ ├── threadpool — Priority thread pool for Axon
│ ├── config — Configuration management
│ ├── settings — Default settings
│ ├── types — Shared type aliases and mixins
│ ├── errors — Exception hierarchy
│ ├── chain_data/ — 26 data models for chain state
│ └── extrinsics/ — Sync + async extrinsic operations + pallet definitions
├── extras/
│ ├── subtensor_api/ — High-level SubtensorApi wrapper with 14 sub-APIs
│ ├── dev_framework/ — Test framework with ~184 namedtuple call blueprints
│ └── timelock/ — Drand-based time-lock encryption
└── utils/
├── balance — Balance type (TAO/Rao conversion)
├── btlogging/ — Custom logging subsystem (6 modules)
├── weight_utils — Weight normalization/conversion (12 functions)
├── registration/ — Registration utilities + torch compat
├── liquidity — Uniswap V3-style liquidity math
├── networking — IP/port utilities
├── formatting — Human-readable number formatting
├── subnets — Community SubnetsAPI base class
├── version — PyPI version checker
├── axon_utils — Nonce window calculations
└── easy_imports — Centralized import hub
```
## Quick Start
```python
import bittensor as bt
# Connect to network
subtensor = bt.Subtensor(network="finney")
# or async:
# subtensor = bt.AsyncSubtensor(network="finney")
# Wallet
wallet = bt.Wallet(name="my_wallet", hotkey="my_hotkey")
# Metagraph
metagraph = subtensor.metagraph(netuid=1)
# Stake
from bittensor import Balance
subtensor.add_stake(wallet, netuid=1, hotkey_ss58=wallet.hotkey.ss58_address,
amount=Balance.from_tao(10.0))
# Set weights
import numpy as np
subtensor.set_weights(wallet, netuid=1, uids=np.array([0,1,2]),
weights=np.array([0.3, 0.4, 0.3]))
```
## Core Modules
### bittensor.core.subtensor — Subtensor (Synchronous)
```python
Subtensor(network=None, config=None, log_verbose=False, fallback_endpoints=None,
retry_forever=False, archive_endpoints=None, mock=False)
```
**Staking & Liquidity:**
- `add_stake(wallet, netuid, hotkey_ss58, amount, safe_staking=False, allow_partial_stake=False, rate_tolerance=0.005, ...)` — Stake TAO
- `add_stake_burn(wallet, netuid, hotkey_ss58, amount, limit_price=None, ...)` — Subnet buyback
- `add_stake_multiple(wallet, netuids, hotkey_ss58s, amounts, ...)` — Bulk stake
- `add_liquidity(wallet, netuid, liquidity, price_low, price_high, hotkey_ss58=None, ...)` — Add liquidity
- `remove_liquidity(wallet, netuid, position_id, hotkey_ss58=None, ...)` — Remove liquidity
- `modify_liquidity(wallet, netuid, position_id, liquidity_delta, hotkey_ss58=None, ...)` — Modify position
- `move_stake(wallet, origin_netuid, origin_hotkey, dest_netuid, dest_hotkey, amount, ...)` — Move stake between subnets
- `swap_stake(wallet, origin_netuid, dest_netuid, hotkey_ss58, amount, limit_price=None, ...)` — Swap Alpha between subnets
- `transfer_stake(wallet, origin_netuid, dest_netuid, dest_coldkey, hotkey_ss58, amount, ...)` — Transfer stake to new owner
- `unstake(wallet, netuid, hotkey_ss58, amount, ...)` — Unstake partial
- `unstake_all(wallet, hotkey_ss58, ...)` — Unstake all
- `unstake_multiple(wallet, netuids, hotkey_ss58s, amounts, ...)` — Bulk unstake
**Registration:**
- `register(wallet, netuid, ...)` — POW registration
- `burned_register(wallet, netuid, ...)` — Burn registration (recycle TAO)
- `register_limit(wallet, netuid, limit_price, ...)` — Registration with price cap
- `root_register(wallet, ...)` — Root network registration
**Weights:**
- `set_weights(wallet, netuid, uids, weights, version_key=..., ...)` — Direct weight setting
- `commit_weights(wallet, netuid, salt, uids, weights, mechid=0, ...)` — Commit-reveal step 1
- `reveal_weights(wallet, netuid, uids, weights, salt, ...)` — Commit-reveal step 2
- `commit_reveal_enabled(netuid, block=None)` — Check if commit-reveal is active
**Serving:**
- `serve_axon(wallet, netuid, ip, port, protocol, version, ...)` — Register axon endpoint
- `serve_axon_tls(wallet, netuid, ip, port, protocol, version, certificate, ...)` — Register TLS axon
- `serve_prometheus(wallet, netuid, ip, port, version, ...)` — Register Prometheus endpoint
**Proxy & Delegation:**
- `add_proxy(wallet, delegate_ss58, proxy_type, delay, ...)` — Add proxy relationship
- `remove_proxy(wallet, delegate_ss58, proxy_type, delay, ...)` — Remove proxy
- `remove_proxies(wallet, ...)` — Remove all proxies
- `announce_proxy(wallet, real_account_ss58, call_hash, ...)` — Announce proxy call
- `proxy(wallet, real_account_ss58, call, ...)` — Execute via proxy
**Coldkey Swaps:**
- `announce_coldkey_swap(wallet, new_coldkey_ss58, ...)` — Announce swap intent
- `swap_coldkey_announced(wallet, new_coldkey_ss58, ...)` — Execute announced swapFrom jiayaoqijia/cryptoskill, MIT.
More from jiayaoqijia/cryptoskill
- 0.635score
coinpilot-hyperliquid-copy-trade
jiayaoqijia
Automate copy trading on Hyperliquid via Coinpilot to discover, investigate, and mirror top on-chain traders in real time with low execution latency.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
agent-wallet
jiayaoqijia
Give the AI agent its own EVM wallet with admin-controlled policies the agent CANNOT bypass even under prompt injection.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
bridge
jiayaoqijia
Cross-chain bridging via the ChainGPT plugin.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
tron
jiayaoqijia
Tron (TVM) support via the ChainGPT plugin — at parity with the EVM + Solana surfaces.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
update
jiayaoqijia
Check for and apply updates to the ChainGPT skill.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
playground
jiayaoqijia
Interactively test any ChainGPT API endpoint.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
dashboard
jiayaoqijia
Open the ChainGPT marketplace dashboard — a localhost web UI with six read-only panels (Overview, Wallet, Skills, Activity, Health, About).
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
debug
jiayaoqijia
Troubleshoot ChainGPT API errors and issues.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
defi
jiayaoqijia
Interact with DeFi protocols on MAINNET via the ChainGPT plugin.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
deploy
jiayaoqijia
Deploy Solidity contracts to MAINNET (or testnet) safely via the ChainGPT plugin.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
drift
jiayaoqijia
Read live Drift Protocol mainnet data — Solana's largest non-custodial perps DEX.
SkillBFreshness: B★ 75Claude Code +9 - 0.626score
hackathon
jiayaoqijia
Scaffold a complete hackathon project using ChainGPT APIs in 60 seconds.
SkillBFreshness: B★ 75Claude Code +9
Signals
- Stars
- 75
- Forks
- 17
- Open issues
- 34
- Last commit (this folder)
- Sep 10, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 2.0.0
- License
- MIT
- Repository
- github.com/jiayaoqijia/cryptoskill
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get bittensor-sdk running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
bittensor-sdk skill. Agent Mart. https://agentmart.dev/skills/jiayaoqijia-bittensor-sdk (last updated 2026-10-24)