MCPcopy Index your code
hub / github.com/Chia-Network/chia-blockchain

github.com/Chia-Network/chia-blockchain @2.7.1

repository ↗ · DeepWiki ↗ · release 2.7.1 ↗ · + Follow
10,926 symbols 72,131 edges 947 files 1,336 documented · 12%
README

chia-blockchain

Chia Network logo

Releases Repo Stats Socials
Latest Release

Latest RC

Latest Beta | Coverage

Downloads

Commits

Contributors | Discord

YouTube

Reddit

Twitter |

Chia is a modern cryptocurrency built from scratch, designed to be efficient, decentralized, and secure. Here are some of the features and benefits:

  • Proof of space and time based consensus which allows anyone to farm with commodity hardware
  • Very easy to use full node and farmer GUI and cli (thousands of nodes active on mainnet)
  • Chia seeder, which maintains a list of reliable nodes within the Chia network via a built-in DNS server.
  • Simplified UTXO based transaction model, with small on-chain state
  • Lisp-style Turing-complete functional programming language for money related use cases
  • BLS keys and aggregate signatures (only one signature per block)
  • Pooling protocol that allows farmers to have control of making blocks
  • Support for light clients with fast, objective syncing
  • A growing community of farmers and developers around the world

Please check out the Chia website, the Intro to Chia, and FAQ for information on this project.

Python 3.10+ is required. Make sure your default python version is >=3.10 by typing python3.

If you are behind a NAT, it can be difficult for peers outside your subnet to reach you when they start up. You can enable UPnP on your router or add a NAT (for IPv4 but not IPv6) and firewall rules to allow TCP port 8444 access to your peer. These methods tend to be router make/model specific.

Most users should only install harvesters, farmers, plotter, full nodes, and wallets. Setting up a seeder is best left to more advanced users. Building Timelords and VDFs is for sophisticated users, in most environments. Chia Network and additional volunteers are running sufficient Timelords for consensus.

Installing

Install instructions are available in the Installation Details section of the Chia Docs.

Running

Once installed, an Intro to Chia guide is available in the Chia Docs.

Core symbols most depended-on inside this repo

append
called by 1481
chia/util/lru_cache.py
name
called by 1236
chia/wallet/trading/offer.py
time_out_assert
called by 631
chia/_tests/util/time_out_assert.py
get_tree_hash
called by 586
chia/types/blockchain_format/program.py
get_consecutive_blocks
called by 468
chia/_tests/wallet/wallet_block_tools.py
new_action_scope
called by 448
chia/wallet/wallet_state_manager.py
fromhex
called by 409
chia/types/blockchain_format/program.py
get
called by 391
chia/plotting/cache.py

Shape

Method 4,984
Function 4,257
Class 1,566
Route 119

Languages

Python100%

Modules by API surface

chia/wallet/wallet_request_types.py304 symbols
chia/wallet/conditions.py158 symbols
chia/_tests/core/mempool/test_mempool.py151 symbols
chia/wallet/wallet_rpc_api.py134 symbols
chia/_tests/blockchain/test_blockchain.py130 symbols
chia/_tests/core/util/test_streamable.py123 symbols
chia/wallet/wallet_rpc_client.py122 symbols
chia/_tests/core/mempool/test_mempool_manager.py118 symbols
chia/_tests/core/full_node/test_full_node.py118 symbols
chia/data_layer/data_layer_util.py111 symbols
chia/_tests/conftest.py108 symbols
chia/wallet/wallet_state_manager.py103 symbols

Dependencies from manifests, versioned

dmg-license1.0.11 · 1×
electron-builder26.7.0 · 1×
poetry2.2.1 · 1×

For agents

$ claude mcp add chia-blockchain \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact