This repo is home to most of the Stacks.js packages, which provide the building blocks to work with the Stacks blockchain from JavaScript/TypeScript.
@stacks/connect
Connect web application to Stacks wallet browser extensions (separate repo).@stacks/transactions
Construct, decode transactions and work with Clarity smart contracts on the Stacks blockchain.@stacks/wallet-sdk
Library for building wallets, managing accounts, and handling keys for the Stacks blockchain.@stacks/storage
Store and fetch files with Gaia, the decentralized storage system.@stacks/encryption
Encryption functions used by stacks.js packages.@stacks/auth
Construct and decode authentication requests for Stacks apps.@stacks/profile
Functions for manipulating user profiles.@stacks/network
Network and API library for working with Stacks blockchain nodes.@stacks/common
Common utilities used by stacks.js packages.@stacks/bns
Library for interacting with the BNS contract.@stacks/stacking
Library for PoX stacking.@stacks/cli
Command line interface to interact with auth, storage and Stacks transactions.@stacks/keychain
DEPRECATED: replaced by @stacks/wallet-sdk
See the respective README
in each package directory for installation instructions and usage.
Documentation and library references for the stacks.js packages are located at stacks.js.org.
To migrate your app from blockstack.js to Stacks.js follow the steps in the respective migration guide.
If you encounter a bug or have a feature request, we encourage you to follow the steps below:
Please do not use the issue tracker for personal support requests or to ask for the status of a transaction. You'll find help at the #support Discord channel.
Github issues marked help-wanted are great places to start. Please ask in a github issue or discord before embarking on larger issues that aren't labeled as help wanted or adding additional functionality so that we can make sure your contribution can be included!
To setup the development environment for this repository, follow these steps:
Prerequisites: NodeJS & npm are required (v18.x.x is currently recommended)
npm install
to install dependenciesnpm run bootstrap
to bootstrap projectnpm run build
to build packagesnpm run test
to run testsSome tests may contain logging of errors and warnings. This should not be confused with failing tests. Make sure the last lines of
npm run test
showlerna success - @stacks/...
for every package.
Please read our Code of conduct since we expect project participants to adhere to it.
Join our community and stay connected with the latest updates and discussions:
Join our Discord community chat to engage with other users, ask questions, and participate in discussions.
Visit hiro.so for updates and subcribing to the mailing list.
Follow Hiro on Twitter.
Generated using TypeDoc