subnet.tech

Connect to all Avalanche subnets

subnet.tech is an aggregator of Avalanche subnets, projects, validators, and educational resources around Avalanche subnets.

Step-by-step tutorial

Subnets information

The ability to create subnets and custom blockchain networks is one of the key features of Avalanche.

Custom networks are very flexible and customizables. From being a one of the keys to scalability, you can tune a network to your needs as a network creator. For example, you can make a network private and have the transactions not visible to the nodes on the primary network, or you make it meet different compliance requirements like geographical bounds and KYC/AML checks.

The official documentation defines subnets as:

“...A subnet, or subnetwork, is a dynamic set of validators working together to achieve consensus on the state of a set of blockchains. Each blockchain is validated by exactly one subnet. A subnet can validate many blockchains. A node may be a member of many subnets.”

To extend on that:

  • A subnet is not a blockchain, it is a set of validator nodes, although the number can be zero.
  • When a subnet contains no validators, its state becomes not validated and any blockchain on it stops functioning.
  • One validator node can be a part of multiple subnets.
  • Subnets can be assigned to many blockchains.
  • One blockchain can only be validated by one subnet.

About customized blockchain

Avalanche features 3 built-in blockchains: Exchange Chain (X-Chain), Platform Chain (P-Chain), and Contract Chain (C-Chain). All 3 blockchains are validated and secured by the Primary Network. The Primary Network is a special subnet, and all members of all custom subnets must also be a member of the Primary Network by staking at least 2,000 AVAX.

Every Avalanche blockchain is an instance of a Virtual Machine. For example, X-Chain is an instance of AVM, C-Chain is Subnet EVM's instance, P-Chain is an Avalanche's metadata blockchain with Snowman consensus protocol.

Avalanche enables you to create a subnet which validate blockchain with default, configured or custom Virtual Machine.

Virtual Machine can be fully customized to provide any custom business logic.

Developers can create their own blockchain by implementing ChainVM interface for compatibility with AvalancheGo.

Blockchain can be “hidden” from other non-relevant nodes by configuring every node in the subnet.