ark-bitcoin-primitives

Construct Taproot scripts, closures, and VTXO structures for Ark transactions.

3|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/ArkLabsHQ/arkadian --skill ark-bitcoin-primitives
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ark-bitcoin-primitives
Source: https://github.com/ArkLabsHQ/arkadian/tree/main/skills/ark-bitcoin-primitives
Command: npx skills add https://github.com/ArkLabsHQ/arkadian --skill ark-bitcoin-primitives

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides essential knowledge and code patterns for working with Bitcoin's Taproot scripting, closures, and transaction structures within the Ark ecosystem.

Core Features & Use Cases

  • Taproot Scripting: Understand and implement Taproot (P2TR) outputs, including internal keys and tapscript trees.
  • Script Closures: Learn about reusable spending conditions like Multisig, CSV, CLTV, and Condition closures.
  • PSBT Handling: Gain insights into creating, signing, and finalizing Partially Signed Bitcoin Transactions (PSBTs).
  • VTXO Structure: Comprehend and build the standard Ark VTXO (Value Transfer Output) script structure.
  • Use Case: When developing a new feature that requires complex multisignature spending conditions with timelocks for Ark transactions, this Skill will guide you through constructing the correct Taproot script and closure.

Quick Start

Use the ark-bitcoin-primitives skill to understand how to build a VTXO Taproot Address.

Frequently Asked Questions about ark-bitcoin-primitives

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

FAQPage Schema
How do I build a Taproot script with multisig and timelocks for Ark VTXOs?

To construct an Ark VTXO Taproot address, assemble a P2TR output structure by combining an internal key with a tapscript tree that implements Multisig, CSV, and CLTV closures for the required spending conditions.

What is a VTXO script structure in the Ark protocol?

A VTXO (Value Transfer Output) script structure in the Ark protocol defines the Taproot spending conditions for transaction outputs, utilizing closures like Multisig and CLTV to manage value transfers securely.

How does PSBT handling work with Taproot transactions?

PSBT handling with Taproot involves creating, signing, and finalizing Partially Signed Bitcoin Transactions by correctly encoding signatures for P2TR inputs and applying the appropriate script closure logic.

When do I need to use CLTV and CSV script closures in Bitcoin?

You need to use CLTV (CheckLockTimeVerify) and CSV (CheckSequenceVerify) script closures in Bitcoin when implementing conditional spending paths that enforce absolute or relative timelocks within Taproot structures.

Does the Ark protocol support custom condition closures in Taproot scripts?

Yes, the Ark protocol supports custom Condition closures within Taproot scripts, allowing developers to define specific reusable spending rules alongside standard Multisig, CSV, and CLTV operations.