cardano-cli-plutus-scripts

Generates Plutus smart contract templates for the specified blockchain scenarios.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides templates and explanations for writing Plutus scripts, simplifying the process of creating cardano-cli-compatible Plutus scripts without executing them directly.

Core Features & Use Cases

  • Plutus Script Templates: Offers ready-to-use templates for different transaction patterns.
  • Script Versions Guide: Explains different script versions (V1, V2, V3) and their features.
  • Datum Handling Instructions: Outlines best practices for handling datums in Plutus scripts.
  • Use Case: If you are developing Plutus scripts for smart contracts on Cardano and need to understand how to structure your datums, redeemers, and collateral for script execution, this Skill can help you with templates and guidance.

Quick Start

To generate a template for locking funds at a script address, use the cardano-cli-plutus-scripts skill with the command: generate-template --lock-funds <script-addr>.

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 write a Plutus script for locking funds on the Cardano blockchain?

To write a Plutus script for locking funds, generate a template using the provided guidance to structure your transaction patterns, datum, and redeemer for cardano-cli compatibility. This provides ready-to-use structures without executing the script.

What is the difference between Plutus script versions V1, V2, and V3?

Plutus script versions V1, V2, and V3 differ in their features and capabilities for smart contract development. This skill provides a dedicated guide explaining these version differences and their implications for transaction structure.

What are the best practices for handling datums in Cardano smart contracts?

Best practices for handling datums in Cardano smart contracts involve correctly structuring datums alongside redeemers and collateral for script execution. The skill outlines these instructions to ensure your Plutus scripts interact properly with the blockchain.

Can I use these Plutus script templates to execute transactions directly?

No, you cannot use these templates to execute transactions directly. The skill focuses exclusively on script preparation and conceptual explanation, generating cardano-cli-compatible Plutus scripts without performing execution.

Do I need any specific dependencies to start developing Plutus scripts?

You do not need specific dependencies to use this skill for Plutus script development. It provides templates and conceptual guidance for script preparation, though you will need the cardano-cli environment to actually execute the generated scripts.