Network and API library for working with Stacks blockchain nodes.
This reference refers to the 7.x.x release of Stacks.js—it's the recommended version to use, but not needed for the Stacks Nakamoto release.
Read the migration guide to learn how to update to the latest version.
The @stacks/network package contains default network configurations for Stacks.
Before you install: most of the time you don't need to use or even install this library directly.
For example, instead of STACKS_MAINNET, simply use the string "mainnet" as the network parameter.