aabc-tx-plan

Create and validate tx_plan JSON objects for multichain on-chain actions.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/labsaistudio/AABC-Labs --skill aabc-tx-plan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aabc-tx-plan
Source: https://github.com/labsaistudio/AABC-Labs/tree/main/backend/agent/skills/catalog/aabc-tx-plan
Command: npx skills add https://github.com/labsaistudio/AABC-Labs --skill aabc-tx-plan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Standardizes on-chain action planning by ensuring every transaction is described by a tx_plan that conforms to templates/tx-plan.schema.json, enabling consistent routing to the correct signer mode.

Core Features & Use Cases

  • Enforces a consistent tx_plan contract between skills and the AABC backend.
  • Supports multiple signer modes (prepare_only, connected_wallet, session_wallet) and chains (bsc, solana) via a single schema.
  • Use Case: When building an automation that deploys contracts or executes swaps, emit a tx_plan that the backend can validate and execute without exposing private keys.

Quick Start

Provide a tx_plan payload that conforms to the templates/tx-plan.schema.json to route actions to the appropriate signer mode.

Frequently Asked Questions about aabc-tx-plan

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

FAQPage Schema
How do I validate an on-chain transaction plan for multichain workflows?

To validate an on-chain transaction plan, you create a tx_plan JSON object that conforms to templates/tx-plan.schema.json, ensuring required fields like chain, network, operation_type, signer_mode, and transactions are present. The schema validates the structure and routes actions to the correct signer mode.

What is a tx_plan schema and when do I need it for blockchain deploys or swaps?

A tx_plan schema is a standardized JSON contract that defines on-chain actions for deploys, swaps, or LP operations across chains like bsc and solana. You need it when building automations that emit transactions for backend execution without exposing private keys, ensuring consistent routing to the appropriate signer mode.

Does the tx_plan validation schema support both BSC and Solana chains?

Yes, the tx_plan validation schema supports multiple chains including bsc and solana through a single unified schema. It handles varying transaction details and signer modes across these multichain workflows, ensuring required fields are present and conform to the defined templates/tx-plan.schema.json structure.

How do I structure a transaction plan payload to use different signer modes?

To structure a transaction plan payload, include the signer_mode field with values like prepare_only, connected_wallet, or session_wallet. The tx_plan JSON object must also contain required fields such as chain, network, operation_type, and transactions, plus optional metadata like risk, approval, and artifactHints.

What optional metadata fields can I include in a multichain tx_plan JSON object?

In a multichain tx_plan JSON object, you can include optional metadata fields such as risk, approval, and artifactHints. These fields provide additional context for on-chain actions like deploys or swaps, supplementing the required fields chain, network, operation_type, signer_mode, and transactions within the templates/tx-plan.schema.json.

Why does my on-chain transaction plan fail validation when routing to a connected wallet?

An on-chain transaction plan fails validation if the tx_plan JSON object does not conform to templates/tx-plan.schema.json, typically because required fields like chain, network, operation_type, signer_mode, or transactions are missing or incorrectly specified. Ensure the signer_mode is set to connected_wallet and all mandatory fields are present.