Network and API library for working with Stacks blockchain nodes.
This reference refers to the next release of Stacks.js, it's the recommended version to use, but might see some changes in the near future.
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.