STACKS.JS

APP DEVELOPMENT ON STACKS MADE EASY

JavaScript libraries for all your essential web app functionality.
npm install @stacks/network
tag icontag icontag icontag icontag iconicon tagicon tag
Plus IconPlus IconPlus IconPlus Icon
Watch Quick Tour Video (04:30)
Stacks.js libraries handle basic functions like broadcasting transactions, authenticating users, and signing messages. Why reinvent the wheel when you can just use Stacks.js?

All your core functionality in one place.

icon tagicon tag

Authenticate your users

Ensure every interaction comes from real users—no bots, no spoofing. Seamlessly connect wallet actions to real users and verify signing authority with confidence.

icon tagimage

Sign messages

Prompt users to sign arbitrary messages, which can authorize an in-app action or prove they control a particular address.

imageimage

Broadcast transactions

Enable your users to interact with smart contracts through your app. Handle key management, call contract functions, and construct transactions dynamically—right out of the box.

Quote Icon

/** Stacks.js is the building block that we use all the time to build, broadcast, and sign our transactions. */

FEATURES

Build quickly, build securely.

check icon

Protect users with post conditions

Create post conditions, a unique safety feature of Stacks, that set requirements a transaction must meet in order to execute. Those requirements could be a minimum/maximum transfer amount from the sender, what the receiver will send back in return, and more.

Powerful wallet integrations with Stacks Connect

Avoid managing a centralized auth and enable personalized interactions like user rewards, without compromising on privacy and anonymity for your users. Build best in class web3 wallet integrations for your users with Stacks Connect.

Stacks Connect library