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.
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/transactionsOther 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
Last updated
Was this helpful?
