stacks-integration

Connect Stacks wallets and manage transactions using @stacks/connect and @stacks/transactions.

Updated Feb 26, 2026
One-click install
npx skills add https://github.com/developerfred/bitcoin-yield-copilot --skill stacks-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stacks-integration
Source: https://github.com/developerfred/bitcoin-yield-copilot/tree/main/.skills/stacks-integration
Command: npx skills add https://github.com/developerfred/bitcoin-yield-copilot --skill stacks-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides the necessary tools and guidance for integrating applications with the Stacks blockchain, enabling seamless wallet connections and transaction management.

Core Features & Use Cases

  • Wallet Connection: Facilitates connecting user wallets like Leather using @stacks/connect.
  • Transaction Handling: Supports both contract calls (write transactions) and read-only calls, managing transaction signing, broadcasting, and status monitoring.
  • Network Configuration: Allows for easy switching between Stacks testnet and mainnet.
  • Use Case: A decentralized application needs to allow users to register a unique identifier on the Stacks blockchain. This Skill enables the frontend to prompt the user to connect their wallet, construct the register-stamp contract call, and handle the transaction confirmation.

Quick Start

Use the stacks-integration skill to connect a user's Leather wallet to the Stacks network.

Frequently Asked Questions about stacks-integration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I connect a Stacks wallet to my web application?

To connect a Stacks wallet to your web application, use the `@stacks/connect` library to prompt users to connect their Leather wallet, enabling secure user authentication via wallet signatures on the Stacks network.

How do I execute a smart contract call on the Stacks blockchain?

To execute a smart contract call on the Stacks blockchain, use the `@stacks/transactions` library to construct contract calls, manage transaction signing, broadcast the write transaction, and monitor its confirmation status.

Can I query read-only data from Stacks smart contracts?

Yes, you can query read-only data from Stacks smart contracts by using `@stacks/transactions` to make read-only calls, allowing you to retrieve on-chain state without requiring a wallet signature or broadcasting a transaction.

How do I switch between Stacks testnet and mainnet in my app?

You can switch between Stacks testnet and mainnet in your app by updating the network configuration parameters when initializing the `@stacks/connect` and `@stacks/transactions` libraries for your environment.

What is needed to register an on-chain identity on the Stacks blockchain?

Registering an on-chain identity on the Stacks blockchain requires prompting a user to connect their wallet, constructing a `register-stamp` contract call, and handling the transaction confirmation using `@stacks/connect` and `@stacks/transactions`.

Does Stacks integration support both write transactions and read-only queries?

Yes, Stacks integration supports both write transactions for smart contract interactions and read-only calls for data queries, handling transaction signing, broadcasting, and status monitoring using `@stacks/transactions`.