cardano-cli-transactions

Guide Cardano transaction construction, signing, submission, and verification with cardano-cli.

1.2k|296|Updated Oct 5, 2016
One-click install
npx skills add https://github.com/input-output-hk/daedalus --skill cardano-cli-transactions-input-output-hk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cardano-cli-transactions
Source: https://github.com/input-output-hk/daedalus/tree/main/.agent/skills/cardano-cli-transactions
Command: npx skills add https://github.com/input-output-hk/daedalus --skill cardano-cli-transactions-input-output-hk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill guides users through building Cardano transactions using cardano-cli, including templates and explanations without execution.

Core Features & Use Cases

  • Transaction Guidance: Provides templates for building, signing, and submitting Cardano transactions.
  • Template Creation: Offers specific templates for simple and multi-output transactions, including those with native tokens and metadata.
  • Operating Rules: Follows strict operating rules for network confirmation, fee handling, change management, and verification steps.

Quick Start

Utilize the cardano-cli-transactions skill to build a simple ADA transfer transaction template for testing.

Frequently Asked Questions about cardano-cli-transactions

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

FAQPage Schema
How do I build a Cardano transaction using cardano-cli?

To build a Cardano transaction, you construct the transaction body, calculate fees, manage UTxO inputs and change outputs, sign it, and submit it to the network. This process provides templates for simple ADA transfers, multi-output transactions, and native tokens.

What is the process for signing and submitting Cardano transactions?

Signing and submitting Cardano transactions requires generating a transaction body, attaching the necessary signing keys to create a witness, and broadcasting the signed file to the network. Following this process ensures proper network confirmation and verification of the operation.

Can I use cardano-cli to build transactions with native tokens and metadata?

Yes, you can use cardano-cli to build transactions with native tokens and metadata. The transaction guidance includes specific templates designed for constructing multi-asset transfers and embedding metadata directly into your transaction body.

Do I need to manually handle UTxO management and fees when building crypto transactions with cardano-cli?

Yes, manual UTxO management and fee handling are required when using cardano-cli. The operating rules cover calculating fees, managing change addresses, and verifying UTxO balances to ensure the transaction is valid before submission.

What are the limitations of using cardano-cli for transaction building?

A key limitation is that cardano-cli transaction building provides templates and explanations without executing the operations directly. Users must manually perform network confirmation, fee handling, and verification steps outside of the guidance environment.

What's the best way to verify a Cardano transaction before submission?

The best way to verify a Cardano transaction is to inspect the constructed transaction body and calculate the exact fee before signing. Strict operating rules dictate checking network parameters and ensuring proper change management to avoid failed submissions.