Overview

Overview
Stacks.js is a collection of JavaScript libraries that enable you to build web applications on the Stacks blockchain. From wallet authentication to smart contract interactions.
For the latest releases and versions of Stacks.js packages, check out its open-source repo here.
Key features
Transaction construction - Build and broadcast all transaction types with type-safe APIs
Smart contract interaction - Deploy contracts and call functions with automatic encoding
Wallet integration - Connect to Leather, Xverse, and other Stacks wallets seamlessly
Post-conditions - Protect users with built-in asset transfer validations
Installation
Stacks.js is separated into focused packages published under the @stacks scope. Install only what you need:
npm install @stacks/transactionsnpm install @stacks/connectnpm install @stacks/networknpm install @stacks/commonOther available packages include:
@stacks/api@stacks/auth@stacks/encryption@stacks/network@stacks/stacking@stacks/transactions@stacks/bns@stacks/common@stacks/profile@stacks/storage@stacks/wallet-sdk
Additional Resources
[stacks.js.org] For a complete list of definitions on types, methods, classes, & etc.
Last updated
Was this helpful?
