$ account stx-labs
This is a monorepo of TypeScript packages providing a comprehensive SDK for interacting with the Stacks blockchain. It includes libraries for transaction construction, wallet management, authentication, decentralized storage (Gaia), encryption, and a CLI tool. The most actively developed package is @stacks/bitcoin-staking, which implements the PoX-5 bond/staking protocol with Bitcoin L1 lockups, signer-manager grants, and reward claims. The architecture is a library/CLI, not a server application. Key entry points include the CLI binary (packages/cli/bin.js), transaction builders (packages/transactions/src/builders.ts), wallet SDK (packages/wallet-sdk/src/index.ts), and staking API (packages/bitcoin-staking/src/index.ts). External dependencies include Stacks node API endpoints, Bitcoin regtest/testnet nodes, and various cryptographic libraries (noble-secp256k1, noble-hashes, @scure/btc-signer). The codebase is well-tested with unit, integration, and e2e tests against live networks, using a fixture recording/replay system for offline determinism.