stacks-core: the image defaults to mainnet, the manifest version lags the tag, and two dependencies are pinned to commit hashes
The Stacks blockchain implementation
At a glance
- What is it?
- The Rust reference implementation of a layer-2 blockchain whose container image starts a mainnet node when given no arguments, whose workspace version sits one patch behind the newest tag, whose release image is built with two feature flags the documented build does not enable, and whose module file pins two dependencies to commit hashes outside any registry.
- Who is it for?
- stacks-core suits someone who wants to read or run the reference implementation of a layer-2 whose security is anchored to another chain, because the readme is short and points at seven documents rather than pretending to be complete. Verify five things first.
- Can I use it commercially?
- Yes, with conditions. GPL-3.0 is a copyleft licence: if you distribute software that includes it, you must release that software's source code under the same licence. Running it internally without distributing it does not trigger that obligation.
- Is it still maintained?
- Yes. The repository last received commits 1 day ago.
- What is it written in?
- Mainly Rust, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.
Star history
- stacks-network/stacks-core3,065 ★ · +3
| Repository | 2026-09-24 | 2026-11-22 |
|---|---|---|
| stacks-network/stacks-core | 3.1k | 3.1k |
3 Stars in the last 59 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
The image's default command starts a node against the live network
The container definition is two stages and the second one is nine lines.
FROM debian:bookworm-slim
COPY --from=build /out/stacks-node /out/stacks-signer /out/stacks-inspect /bin/
CMD ["stacks-node", "mainnet"]Three binaries are copied into a slim image and the default command runs the node against mainnet. That is a deliberate choice for a blockchain node image, and it is also the opposite of what somebody trying the project locally would expect, since the readme's own local instructions run a start subcommand with one of the sample configuration files, which is a test network. So the image and the documentation point at two different networks, and running the image with no arguments joins the real one, which is worth knowing before you type the command the readme gave you. The build stage also declares three build arguments for the version, the branch and the commit, each defaulting to a placeholder string, and none of them appears in any build step.
The release image is built with two features the documented build omits
The readme's build section gives two commands, a full release build and a lighter one, and neither passes any feature flags. The container build passes two.
# Fully optimized release build
cargo build --release
# Faster but less optimized build. Necessary if < 16 GB RAM
cargo build --profile release-liteThe image compiles with a metrics exporter and structured log output enabled, which the documented build does not. So the binary you produce from the readme and the binary you pull as a published image are not the same build, and a difference in metrics endpoints or log format between them is explained by this line rather than by a bug. The lighter profile exists for a specific constraint, since the readme says it is necessary below sixteen gigabytes of memory, which tells you the fully optimised build is memory hungry enough to need a documented escape hatch, and that the project expects people to build it on modest machines.
The manifest version sits one patch behind the newest tag
The workspace declares a single version for the whole project and carries a comment above it saying to update it when a new release is created. It says four point zero three. The newest release is four point zero four. So the default branch's manifest is one patch behind the newest tag, which is the ordinary state of a repository between releases rather than an error, but it does mean the version a build reports and the version someone installed are not necessarily the same number. The same comment records a constraint worth knowing: the node and the signer are released together and share one version, so there is no way to be on a newer signer than your node, which removes a class of version skew problem and creates a class of upgrade lockstep requirement instead.
Two dependencies are pinned to commit hashes on other people's repositories
Most of the shared dependency list is version numbers. Two entries are not. One comes from a repository in the same organisation and is pinned to a specific commit, with a version comment beside it naming the release it corresponds to. The other comes from a different organisation entirely, also pinned to a specific commit. Neither is resolved from a package registry, so both are fetched from a git host at exactly those commits, which is the most reproducible dependency mechanism available and also the one that cannot receive a patch without a manifest change. One of them is a memory allocation library and the other is a task-scheduling library, so both sit close to the runtime rather than at the edge. If you are auditing what a build of this repository fetches, those two lines are the ones to look at, because a version-number dependency is checked by the registry and a commit dependency is not checked at all.
Tests need serialising, and Windows support is explicitly partial
There are two test commands and they take opposite approaches. The test network suite is run with a flag forcing a single thread, which is what a state machine test wants. The unit tests are run in parallel using a separate test runner rather than the built-in one, with a warning that this takes a few minutes. Then there is the sentence that tells you how well it works on one platform: on Windows many tests will fail, mainly due to parallelism, and the mitigation offered is to run them individually. So the project supports Windows well enough to build on it and explicitly does not support running its test suite there in parallel. The readme notes that Windows builders should follow the toolchain installer's own instructions, which is the one place the build documentation branches by platform.
Two licences, a copyright attributed to a domain, and seven documents instead of a manual
The licensing section makes three separate statements. The code is under the GNU General Public License version three, which is also the licence in the metadata and the one the badge advertises. The documentation is under a Creative Commons licence, which is a different and much more permissive set of terms for the same repository. And the copyright for both is attributed to a web domain rather than to a person or a company. Separately, the readme is a build guide and a set of pointers, not a manual: seven documents are linked for the release process, the test network, improvement proposals, mining, profiling, the remote procedure call endpoints and the event dispatcher. Two technical papers are offered as further reading, and both are dated 2020, six years before the current release line.
Eighteen workspace members, one excluded tool, four contributor binaries
The workspace member list is the clearest description of the architecture. The language has its own crate and its own type crate. There is a database crate, a serialisation crate, a genesis crate, a stacker database library, a signing library, a separate signer binary, the node itself, a profiler and its proc macro crate, and a locking crate for the mining mechanism. Alongside those, four binaries live in a contribution directory: an inspection tool, a language command line tool, a main command line tool, and a database compaction tool. And one path under the same directory is explicitly excluded from the workspace, which is the kind of thing that tells you a tool is present in the repository but deliberately not part of the build. The root also carries a changelog fragments directory, so the changelog is assembled from per-change files rather than edited by hand, and two instruction files for coding agents sit beside a directory of configuration for them.
Editorial conclusion
stacks-core suits someone who wants to read or run the reference implementation of a layer-2 whose security is anchored to another chain, because the readme is short and points at seven documents rather than pretending to be complete. Verify five things first. The container image's default command starts a node against the live network, so treat the image as a mainnet tool rather than a demo. The manifest version is one patch behind the newest tag, which means a checkout of the default branch is not the released build. The release image is compiled with two feature flags the documented build command omits, so your binary and the shipped binary differ. Two dependencies come from git repositories pinned to commit hashes, so a build is reproducible but updating one means editing the manifest. And the technical papers the readme sends you to are from 2020, while the current version is a four point four release from this year.
Frequently asked questions
What is stacks-core?
The reference implementation of the Stacks blockchain, written in Rust. Stacks is described as a layer-2 that uses Bitcoin as its base layer for security, enables smart contracts in a language called Clarity, and uses a mining mechanism that anchors to Bitcoin, with leader election happening on the Bitcoin chain while miners write blocks on the Stacks chain.
How do I build stacks-core?
Install the Rust toolchain with the official installer, clone the repository at depth one, then run a release build. A lighter release profile is provided and the readme says it is necessary on machines with under sixteen gigabytes of memory. Tuning for the native processor can be set with an environment variable or by uncommenting the build section of the cargo configuration file.
How do I run the Stacks test network locally?
Run the node binary with the start subcommand and one of the sample configuration files that ship in the repository. The readme links further test network documentation both in the repository and on the project site. Note that the container image does the opposite and starts a node against the live network by default.
How do I run the stacks-core tests?
Two ways. The test network suite is run with a single thread. The unit tests are run in parallel with a separate test runner, with a warning that it takes a few minutes. The readme also states that on Windows many tests fail, mainly because of parallelism, and suggests running them individually as the mitigation.
What licence is stacks-core under?
Two. The code is under the GNU General Public License version three. The documentation is under a Creative Commons licence. Copyright for both is attributed to a web domain rather than to a named person or company.
What does the stacks-core container image do by default?
It builds the node, the signer and an inspection tool, copies all three into a slim Debian image, and sets the default command to start the node against mainnet. The build stage also declares version, branch and commit build arguments, each with a placeholder default, and none of the three appears in a build step.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/stacks-network-stacks-core)Star history chart for your README
[](https://hysenlabs.com/projects/stacks-network-stacks-core)Was this useful?