cardano-cli-plutus-scripts

Provide cardano-cli templates for Plutus script transactions with datum and collateral handling.

8|2|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/Flux-Point-Studios/cardano-agent-skills --skill cardano-cli-plutus-scripts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cardano-cli-plutus-scripts
Source: https://github.com/Flux-Point-Studios/cardano-agent-skills/tree/main/skills/cardano-cli-plutus-scripts
Command: npx skills add https://github.com/Flux-Point-Studios/cardano-agent-skills --skill cardano-cli-plutus-scripts

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill provides guidance and templates for interacting with Plutus scripts in Cardano transactions, simplifying complex operations like datum handling, redeemer creation, and collateral management.

Core Features & Use Cases

  • Plutus Script Guidance: Understand concepts like script versions (V2/V3), datum handling (inline vs. hash), and collateral requirements.
  • Transaction Templates: Get ready-to-use bash templates for locking funds at a script address, spending from a script, and using reference scripts.
  • Use Case: When developing a smart contract, use this skill to generate the correct cardano-cli commands to test locking and spending ADA to your script address.

Quick Start

Provide a template for locking funds at a Plutus script address on the testnet.

Frequently Asked Questions about cardano-cli-plutus-scripts

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

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

To build a Cardano transaction with Plutus scripts, you construct bash commands for datum handling, redeemer creation, and collateral management, then execute them via cardano-cli or a Docker fallback.

What is the difference between inline datums and datum hashes in Plutus smart contracts?

Inline datums embed datum data directly in the transaction output, while datum hashes require a separate datum file to match the hash, affecting how Plutus script transactions reference and spend locked funds.

How do I lock funds at a Plutus script address on the Cardano testnet?

To lock funds at a Plutus script address, use a transaction template to build a cardano-cli command that sends ADA to the script's address with the correct datum attached, preparing it for script-validated spending.

Does this cardano-cli workflow support both V2 and V3 Plutus script versions?

Yes, the cardano-cli workflow supports both V2 and V3 Plutus script versions, providing guidance on version-specific concepts to ensure compatibility when building and executing smart contract transactions.

What is collateral and why do I need it for spending from a Plutus script?

Collateral is a required Cardano transaction input that covers fees if a Plutus script fails during validation, ensuring the network is compensated for the computational resources consumed by the failed execution.