cardano-protocol-params

Fetch and analyze Cardano protocol parameters for different networks.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cardano-cli, jq, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you fetch, understand, and diagnose protocol parameters in the Cardano network, including fees, min-UTxO, and execution budgets.

Core Features & Use Cases

  • Protocol Parameters: Fetch the latest protocol parameters for different networks.
  • Fee Calculation: Understand the fee calculation logic for transactions.
  • Min-UTxO & Execution Budgets: Diagnose issues related to minimum ADA requirements and execution budgets.
  • Use Case: If you're experiencing issues with your transactions failing due to min-UTxO errors, this Skill can help you fetch the current parameters and diagnose the issue.

Quick Start

Fetch the protocol parameters for the testnet and save them to 'pparams-testnet.json'.

Frequently Asked Questions about cardano-protocol-params

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

FAQPage Schema
How do I fetch Cardano protocol parameters for testnet or mainnet?

You can fetch Cardano protocol parameters for different networks using cardano-cli to query the node and jq to process the JSON output into a readable file.

Why does my Cardano transaction fail with a min-UTxO error?

A min-UTxO error occurs when your transaction output falls below the network's minimum ADA requirement; fetching current protocol parameters helps diagnose the exact threshold.

How are Cardano transaction fees calculated from protocol parameters?

Cardano transaction fees are calculated using specific protocol parameters that define the base fee and per-byte costs, which you can fetch and analyze to estimate transaction expenses.

Do I need cardano-cli installed to query Cardano execution budgets?

Yes, you need cardano-cli to interact with the Cardano network and fetch the data, along with jq to parse the JSON output when diagnosing execution budgets.

What is the best way to diagnose Cardano execution budget issues?

The best way to diagnose execution budget issues is to fetch the latest protocol parameters from your target network and analyze the specific budget limits defined in the JSON output.