Overview
A JavaScript library for authenticating users as well as signing transactions and messages.
Stacks Connect is a JavaScript library that can authenticate the identity of your users and prompt them to sign transactions and messages. In other words, Stacks Connect handles some of the most basic functions you need in a web app, including enabling users to log in to your app as well as broadcasting in-app transactions to the Stacks network.
Installation
$npm install @stacks/connect
Guides
Authenticate users
Connect to user wallets and authenticate their on-chain identity.
Broadcast transactions
Enable users to interact with smart contracts through your app.
Sign messages
Prompt users to sign and verify messages.
Related tools
- Clarinet: Build your app in the go-to development environment on Stacks.
- Stacks Blockchain API: Fetch data and broadcast transactions with the Stacks Blockchain API.
- Stacks.js: A collection of JavaScript libraries to build web applications on Stacks.
Reach out to us on the #stacks-js channel on Discord under the Hiro Developer Tools section. There's also a weekly office hours call every Wednesday at 1pm ET.