taproot-assets-rpc

Authenticate and parse LND and Taproot Assets gRPC data in Go.

57|18|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/lightninglabs/lightning-agent-tools --skill taproot-assets-rpc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: taproot-assets-rpc
Source: https://github.com/lightninglabs/lightning-agent-tools/tree/main/skills/taproot-assets-rpc
Command: npx skills add https://github.com/lightninglabs/lightning-agent-tools --skill taproot-assets-rpc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the trial-and-error involved in authenticating to litd and working with LND and Taproot Assets gRPC APIs in Go, especially when a wallet needs to inspect balances, open channels, create invoices, or decode payment data correctly.

Core Features & Use Cases

  • Authentication Workflow: Connects through litd using macaroons and TLS, including the supermacaroon flow needed for full access.
  • Asset and Channel Handling: Helps distinguish asset IDs from group keys, interpret decimal display values, and read channel asset data from JSON-encoded custom channel metadata.
  • Payment and Invoice Operations: Supports pagination, deduplication, memo recovery from Bolt11 invoices, and decoding HTLC custom data for asset payments.
  • Use Case: Use this Skill when building a Go wallet or operator tool that must reliably query Taproot Assets balances, open asset channels, or create and analyze asset invoices without misreading the underlying RPC structures.

Quick Start

Ask the skill to help you connect to litd and perform the specific Taproot Assets gRPC task you need, such as reading balances, creating an invoice, or decoding channel asset metadata.

Frequently Asked Questions about taproot-assets-rpc

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

FAQPage Schema
How do I authenticate to litd for Taproot Assets gRPC workflows in Go?

To authenticate to litd for Taproot Assets gRPC workflows in Go, you must use macaroon and TLS authentication. This includes implementing the supermacaroon flow to establish a connection with full access to LND and Taproot Assets APIs.

How do I decode HTLC custom data for Taproot Asset payments?

Decoding HTLC custom data for Taproot Asset payments involves parsing TLV (Type-Length-Value) records within the payment flow. This allows your Go application to correctly interpret asset-specific information routed through the Lightning Network.

What is the best way to read channel asset data from custom channel metadata?

The best way to read channel asset data is by decoding JSON-encoded custom channel metadata. This process distinguishes asset IDs from group keys and accurately interprets decimal display values from the underlying RPC structures.

How do I handle pagination and deduplication when querying Taproot Assets balances?

Handling pagination and deduplication when querying Taproot Assets balances requires cursor-based pagination logic. This ensures your Go application reliably retrieves asset data without duplicating records across multiple gRPC response pages.

How do I recover a memo from a Bolt11 invoice in a Go wallet?

To recover a memo from a Bolt11 invoice in a Go wallet, you must parse the Bolt11 string structure. This extracts the embedded payment description data, allowing your operator tool to correctly display or log invoice metadata.