Overview

circle-check

Overview

Stacks.js is a comprehensive collection of JavaScript libraries designed to empower developers in creating sophisticated web applications on the Stacks network. These libraries facilitate a wide range of functionalities, from seamless wallet authentication to robust interactions with smart contracts. By leveraging Stacks.js, developers can efficiently build decentralized applications (dApps) that harness the full potential of the Stacks ecosystem.

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:

Other available packages include:

  • @stacks/auth

  • @stacks/encryption

  • @stacks/network

  • @stacks/stacking

  • @stacks/transactions

  • @stacks/bns

  • @stacks/common

  • @stacks/wallet-sdk


circle-info

Need help building with Stacks.js?

Reach out to us on the #stacks-js channel on Discordarrow-up-right under the Developer Tools section.


Additional Resources

Last updated

Was this helpful?