This repo is home to the Stacks.js libraries which provide everything you need to work with the Stacks blockchain.
@stacks/auth
Construct and decode authentication requests for Stacks apps.@stacks/storage
Store and fetch files with Gaia, the decentralized storage system.@stacks/transactions
Construct, decode transactions and work with Clarity smart contracts on the Stacks blockchain.@stacks/cli
Command line interface to interact with auth, storage and Stacks transactions.@stacks/stacking
Library for PoX stacking.@stacks/keychain
Create and manage keys/wallets for the Stacks blockchain.@stacks/network
Network and API library for working with Stacks blockchain nodes.@stacks/encryption
Encryption functions used by Stacks.js packages.@stacks/profile
Functions for manipulating user profiles.@stacks/common
Common utilities used by Stacks.js packages.
See README
in each package directory for installation instructions and usage.
To migrate your app from blockstack.js to stacks.js follow the steps in the migration guide.
To setup the development environment for this repository, follow these steps:
- Clone this package.
- Make sure you have both
lerna
andyarn
installed globally - Run
lerna bootstrap
to install dependencies - Run
lerna run build
to build packages - Run
lerna run test
to run tests
Documentation for Stacks tooling is located here.
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!