Subnets Are Ready for Mainnet

Two months after subnets alpha, code and documentation for subnets are ready for mainnet. In this post we’ll talk about what comes next.

Type
Product update
Topic(s)
Ecosystem
Stacks
Product
Published
July 12, 2023
Author(s)
Head of Engineering
Start building with subnets today.
Contents

Subnets Primer

Subnets are a scaling solution for Stacks designed to handle high throughput, low latency workloads. While the next major upgrade for Stacks, the Nakamoto release, will include faster block times and a faster experience on the Stacks mainchain, there is still a need for scaling infrastructure to meet the demands of onboarding the next million users to Bitcoin and a wide range of distinct use cases.

For a more detailed explanation on subnets, check out our earlier posts

The Story So Far

A timeline of subnets

We first began work on subnets in 2022 and made steady progress throughout the year, launching a subnets MVP on testnet in Q4 2022. Unfortunately, work on subnets then got delayed for several months as our blockchain team made several open source contributions to the ecosystem-wide 2.1 upgrade, which then quickly led to the 2.2, 2.3 and 2.4 upgrades. This was an all-hands-on-deck moment for engineers across many different entities in the Stacks ecosystem, and work on subnets took a backseat. But we’ve now arrived at the finish line.

The subnets alpha implementation we shared earlier this year included key features such as Stacks 2.1 compatibility, improved throughput and block confirmation times, and multi-miner support. We also shared a demo app to illustrate the full end-to-end experience for developers building and using a subnet.

Since April, we have made improvements to handling microblocks and better contract versioning and have squashed a number of bugs. We updated the microblock mining strategy on Subnets, resulting in a lower latency for transaction processing by maximizing our microblock creation time without having to modify the p2p network. 

This alpha implementation is LIVE on testnet, and you can view subnet activity here and access the API here: https://api.subnets.testnet.hiro.so/v2/info

What Happens Now?

With this week’s latest release v0.8.0, subnets are mainnet ready. If you’d like to get started with subnets, view the resources above as well as the subnets GitHub. We’re excited to see what you build with subnets! If you have any feature requests or encounter any issues or bug reports, please submit them on GitHub

Product updates & dev resources straight to your inbox
Your Email is in an invalid format
Checkbox is required.
Thanks for
subscribing.
Oops! Something went wrong while submitting the form.
Copy link
Mailbox
Hiro news & product updates straight to your inbox
Only relevant communications. We promise we won’t spam.

Related stories