Qaynaq LABS · TOOLS

CRYPTO GLOSSARY

Subnet (Avalanche)

A subnet is a customizable, independent blockchain network within the Avalanche ecosystem that operates under its own rules and validators, enabling parallel processing and scalability.

Technical definition

In Avalanche, a subnet is a dynamic set of validators that work together to achieve consensus on one or more blockchains. Each subnet has its own validator set and can define its own execution logic, virtual machine (VM), and governance rules. Subnets can be permissioned (restricted to specific validators) or permissionless (open to any validator meeting staking requirements). They communicate with the Avalanche Primary Network (P-Chain) for coordination but operate independently, allowing for parallel transaction processing and reduced congestion on the main network.

An analogy

Think of a subnet like a specialized department in a large corporation. The main Avalanche network is the headquarters, while each subnet is a distinct department (e.g., finance, HR) with its own rules and employees (validators). Departments can operate independently but still report to headquarters when needed, allowing the entire company to function more efficiently without bottlenecks.

Why it matters

Subnets enable Avalanche to scale by distributing workloads across multiple independent blockchains, reducing congestion and improving transaction throughput. They also allow for customization, enabling developers to tailor blockchains to specific use cases (e.g., DeFi, gaming) without compromising the security or performance of the main network.

Where it came from

Subnets were introduced with the Avalanche consensus protocol in September 2020 as part of the Avalanche-X and Avalanche-Wool testnet phases. The feature became fully operational with the launch of the Avalanche Mainnet in September 2020, enabling developers to deploy custom blockchains as subnets.

Example in practice

A decentralized finance (DeFi) project deploys its own subnet to process transactions faster and at lower costs than the main Avalanche network. The subnet uses a custom virtual machine (VM) optimized for DeFi operations and restricts validators to trusted entities to enhance security.

Common misconceptions

  • Subnets are just sidechains → Correction: Subnets are not sidechains; they are independent blockchains with their own validator sets and consensus mechanisms, though they may interact with the Primary Network.
  • Subnets are only for permissioned blockchains → Correction: Subnets can be either permissioned or permissionless, depending on the rules set by their creators.

Risks & limitations

  • Security risks from smaller validator sets: Subnets with fewer validators may be more vulnerable to attacks like 51% attacks compared to the Primary Network.
  • Complexity and fragmentation: Managing multiple subnets increases operational complexity, and fragmentation of liquidity or users across subnets may reduce network effects.
  • Validator centralization: Permissioned subnets may rely on a small group of trusted validators, which could undermine decentralization.
  • Interoperability challenges: Subnets may struggle to communicate seamlessly with other blockchains or subnets, limiting composability.

Related terms

About "Subnet (Avalanche)" in crypto

Cryptocurrency vocabulary moves faster than any other technical field. New terms appear weekly, old terms quietly change meaning, and most "definitions" online were written by someone trying to sell you something. Qaynaq Labs' crypto glossary aims for the opposite: neutral, accurate, skeptical explainers that include the downside.

This entry covers the technical mechanics, a real-world analogy, where the concept came from, and what could go wrong. Pair it with the related terms to build a working mental model of how the pieces fit together.

Frequently asked

Can a subnet process transactions independently of the Avalanche Primary Network?

Yes, subnets operate independently and can process transactions without relying on the Primary Network, though they may need to coordinate with it for validator management or cross-subnet communication.

How do validators join a subnet?

Validators join a subnet by staking AVAX tokens and meeting the subnet's specific requirements (e.g., minimum stake, uptime, or permission criteria). The process is coordinated through the Primary Network's P-Chain.

Are subnets compatible with Ethereum?

Yes, Avalanche supports the Subnet-EVM, a virtual machine compatible with Ethereum's EVM, allowing Ethereum smart contracts to run on subnets with minimal modifications.

What happens if a subnet fails or is attacked?

If a subnet is attacked or fails, the impact is generally isolated to that subnet. The Primary Network and other subnets remain unaffected, though the subnet's validators may face penalties or removal from the validator set.