transaction-building

Build and sign BSV transactions using the 1sat-sdk action framework.

5|1|Updated Dec 15, 2025
One-click install
npx skills add https://github.com/b-open-io/1sat-sdk --skill transaction-building
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: transaction-building
Source: https://github.com/b-open-io/1sat-sdk/tree/main/skills/transaction-building
Command: npx skills add https://github.com/b-open-io/1sat-sdk --skill transaction-building

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables developers to construct, sign, and broadcast BSV transactions using the 1sat-sdk action framework, covering payments, batch transfers, OP_RETURN data, and complex workflows.

Core Features & Use Cases

  • End-to-end transaction building: createAction, signing workflows (signAction), and two-phase signing to ensure secure, auditable transactions.
  • Support for BRC-100 actions: manage locking scripts, inscribe ordinals, and integrate with wallet actions through @1sat/actions and @1sat/core.
  • Real-world scenarios include batch payments to multiple addresses, inscriptions via OP_RETURN, and custom script-based transactions.

Quick Start

Run the SDK to build and sign a transaction using createAction and signAction workflows.

Frequently Asked Questions about transaction-building

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

FAQPage Schema
How do I build and sign BSV transactions using the 1sat-sdk action framework?

To build and sign BSV transactions, use the createAction and signAction workflows provided by the @1sat/actions framework. This enables two-phase signing to ensure transactions are secure, auditable, and ready for broadcast.

Can I send batch payments and attach OP_RETURN data in a single BSV transaction?

Yes, you can send batch payments to multiple addresses and attach OP_RETURN data within a single transaction. The action framework supports batching transfers and inscribing data through custom scripts.

Does this approach support BRC-100 actions and wallet integration for custom scripts?

BRC-100 actions are fully supported for managing locking scripts and inscribing ordinals. You can integrate with compatible wallets using @1sat/core to handle custom script-based transactions.

What is two-phase signing and how does it secure blockchain development workflows?

Two-phase signing separates transaction creation from completion using createAction and completeSignedAction. This mechanism ensures secure, auditable signing workflows across compatible wallets before broadcasting.

Why use the 1sat-sdk action framework instead of other tools for BSV transaction building?

The 1sat-sdk action framework provides specialized handling for BRC-100 actions, ordinals inscription, and two-phase signing. It satisfies functional requirements for createAction and completeSignedAction, streamlining complex workflows.

When do I need custom scripts for OP_RETURN inscriptions in BSV transactions?

Custom scripts are needed when inscribing data via OP_RETURN or executing complex locking scripts. The framework allows you to apply these scripts during the createAction phase before two-phase signing.