Skip to the content.

Hydra-Yaci Documentation

Welcome to the Hydra-Yaci documentation! This project enables the use of Hydra protocols in a Yaci DevKit local network, providing a complete solution for testing and developing payment channel applications on Cardano.

πŸ“– Overview

Hydra-Yaci is a payment channel application that combines:

This project provides a complete development environment for building and testing Hydra-based applications locally, with support for:

🎯 Key Features

Developer-Friendly Setup

Complete Hydra Integration

Monitoring & Debugging

Example Applications

πŸ—οΈ Project Structure

hydra-yaci/
β”œβ”€β”€ .github/
β”‚   └── docs/              # Documentation (you are here)
β”œβ”€β”€ config/
β”‚   └── hydra/             # Hydra protocol parameters
β”œβ”€β”€ examples/              # Example scripts
β”‚   β”œβ”€β”€ check-yaci.js
β”‚   β”œβ”€β”€ generate-address.js
β”‚   β”œβ”€β”€ fund-from-faucet.js
β”‚   β”œβ”€β”€ open-hydra-head.js
β”‚   β”œβ”€β”€ commit-fund.js
β”‚   β”œβ”€β”€ send-payment.js
β”‚   └── close-head.js
β”œβ”€β”€ monitoring/            # Monitoring stack
β”‚   β”œβ”€β”€ docker-compose.monitoring.yml
β”‚   β”œβ”€β”€ grafana/
β”‚   └── prometheus/
β”œβ”€β”€ scripts/               # Automation scripts
β”‚   β”œβ”€β”€ generator-keys.sh
β”‚   β”œβ”€β”€ fund-address.sh
β”‚   β”œβ”€β”€ start-hydra.sh
β”‚   β”œβ”€β”€ stop-hydra.sh
β”‚   β”œβ”€β”€ reset-all.sh
β”‚   └── utils/
β”œβ”€β”€ package.json           # NPM dependencies and scripts
β”œβ”€β”€ .env.example           # Environment configuration template
└── README.md              # Main project README

πŸ”§ Technology Stack

πŸ“š Prerequisites

Before getting started, ensure you have:

See the Installation Guide for detailed setup instructions.

πŸŽ“ Learning Path

New to Hydra and Yaci? We recommend following this learning path:

  1. Start Here: Getting Started Guide
    • Understand the basics
    • Set up your environment
    • Run your first example
  2. Installation: Installation Guide
    • Install prerequisites
    • Configure the environment
    • Verify your setup
  3. Configuration: Configuration Guide
    • Environment variables
    • Network settings
    • Participant configuration
  4. Usage: Usage Guide
    • Key generation
    • Wallet funding
    • Opening Hydra heads
    • Sending payments
    • Monitoring
  5. Troubleshooting: Troubleshooting Guide
    • Common issues
    • Debugging techniques
    • FAQ
  6. API Reference: API Reference
    • WebSocket API
    • Example scripts
    • NPM commands

🀝 Contributing

We welcome contributions! Please feel free to:

πŸ“„ License

This project is licensed under the MIT License.

πŸ™ Acknowledgments

πŸ“ž Support


Author: Kushal Acharya :)

Version: 1.0.0