| title | description | tags | version | last_updated | status | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Aiken Developer Reference Guide for AI Coding Assistants |
Comprehensive Aiken smart contract development guide optimized for AI assistants and developers |
|
v1.1.15+ |
December 2024 |
mixed-security |
Welcome to the AI-optimized knowledge base for the Aiken smart contract language on Cardano. This guide is designed for developers and AI coding assistants (like Cursor, Cody, and GitHub Copilot) to quickly find, understand, and implement Aiken smart contracts.
Aiken Version: This guide is compatible with Aiken v1.1.15+ (tested v1.1.15 & v1.1.19)
Last Updated: December 2024
Status: π ENHANCED ARCHITECTURE - Branch-based quality separation implemented
This repository uses a unique branch-based quality architecture to ensure maximum safety and learning value:
| π― Your Goal | π Use This Branch | π What You'll Find | |
|---|---|---|---|
| Deploy to Production | main |
β Audited, production-ready examples | β Safe for mainnet (with proper review) |
| Explore New Features | development |
π§ Latest features, functional implementations | |
| Learn Smart Contract Security | educational |
π Security tutorials, vulnerability demonstrations | β Never deploy (learning only) |
1. For Production Development β You're in the right place! (main branch)
- β
Production-ready examples:
hello-world,escrow-contract - β Enterprise-grade security and documentation
- β Safe for mainnet deployment with proper review
2. For Learning β Switch to educational branch
- π Comprehensive security tutorials
- π Step-by-step vulnerability analysis
β οΈ Safe learning environment with intentional flaws for education
3. For Advanced Features β Check development branch
- π§ Cutting-edge Aiken patterns
- π Features in active development
β οΈ Functional but may have limitations
- Branch Strategy:
BRANCH_STRATEGY.md - Repository Navigation:
NAVIGATION.md - Security Status:
SECURITY_STATUS.md
This reference provides a comprehensive, structured, and easily searchable set of documents covering the Aiken language, from basic syntax to advanced security patterns. The content is optimized for Large Language Models (LLMs) to ensure accurate and efficient code generation and problem-solving.
# Deploy with real-time CI/CD monitoring
git add .
git commit -m "feat: update Aiken documentation"
git push origin main
# Monitor deployment status (requires gh CLI)
gh run list --limit 5
gh run watch # Real-time workflow monitoring
# Check specific workflow status
gh run list --workflow="CI β Examples" --limit 3
gh run list --workflow="CI β Core" --limit 3# Monitor all workflows simultaneously
gh api repos/:owner/:repo/actions/runs --jq '.workflow_runs[] | select(.status=="in_progress") | {name: .name, status: .status}'
# Check deployment health across all examples
gh workflow list
gh run view --log # View detailed logs for troubleshooting- New to Aiken? Start with
QUICK_START.mdfor a 5-minute setup guide - Need Navigation? Use
NAVIGATION.mdto find exactly what you need
- AI Assistants: Ingest the
docs/directory to provide your language model with a deep understanding of Aiken. The modular structure allows for precise context-sourcing. - Developers: Browse the
docs/directory to find specific topics. Each file is self-contained but links to related concepts, allowing for easy navigation. - New Users: Follow the user journey paths in
NAVIGATION.mdfor guided learning
π main (Production Excellence)
βββ examples/
β βββ hello-world/ # β
Production-ready validator
β βββ escrow-contract/ # β
Enterprise-grade escrow
βββ docs/ # Production documentation
π§ development (Active Innovation)
βββ examples/
β βββ nft-one-shot/ # π Advanced NFT features in progress
β βββ new-patterns/ # π Emerging Cardano integrations
βββ docs/ # Development documentation
π educational (Learning Excellence)
βββ examples/
β βββ security-tutorials/ # π Step-by-step vulnerability education
β βββ fungible-token/ # β οΈ Educational security demonstrations
βββ docs/ # Educational content & tutorials
aiken/
βββ README.md # Branch-specific overview
βββ BRANCH_STRATEGY.md # Quality architecture details
βββ CONTENT_MIGRATION_PLAN.md # Migration strategy
βββ NAVIGATION.md # Repository navigation guide
βββ QUICK_START.md # 5-minute setup guide
βββ CONTRIBUTING.md # Branch-specific contribution guidelines
βββ .github/workflows/ # Enhanced CI/CD automation
β βββ _reusable-production-check.yml # Production quality gates
β βββ production-promotion.yml # Automated promotion system
β βββ ci-examples-enhanced.yml # Branch-aware validation
β βββ quality-monitoring.yml # Continuous quality assessment
β βββ [legacy workflows] # Existing excellent workflows
βββ docs/ # Comprehensive documentation
β βββ overview/ # Introduction and getting started
β βββ language/ # Core language syntax and features
β βββ patterns/ # Design patterns and best practices
β βββ security/ # Security-first development
β βββ code-examples/ # Working contract examples
β βββ performance/ # Optimization and benchmarking
β βββ integration/ # Off-chain tools and deployment
β βββ references/ # Quick reference and troubleshooting
βββ scripts/ # Branch management and quality tools
docs/overview/: Introduction, ecosystem links, and getting starteddocs/language/: Core language syntax, features, and testingdocs/patterns/: Common smart contract design patterns with codedocs/security/: Security best practices, vulnerabilities, and checklistsdocs/code-examples/: Complete, real-world contract examplesdocs/performance/: Guides for optimizing on-chain execution costsdocs/integration/: Off-chain integration, deployment, and monitoringdocs/references/: Glossaries, links, and troubleshooting
- Branch-Based Quality: Production/Development/Educational separation for maximum safety
- Automated Promotion Gates: Comprehensive quality validation before production promotion
- Security-First Design: Zero-compromise security standards with clear safety guarantees
- Professional Credibility: Industry-grade reference trusted for production deployment
- LLM-Optimized: Short, declarative sentences and consistent, predictable structure
- Modular: Each topic is in its own file, making it easy for AI to find relevant context
- Code-Centric: Every concept is supported by working, syntax-highlighted code snippets
- Security Integrated: Security considerations are integrated into every relevant topic
- Cross-Referenced: Documents are linked to provide a cohesive learning path
- Branch-Aware: Documentation tailored to branch-specific quality standards
- Main Branch Guarantee: All examples safe for production deployment (with proper review)
- Comprehensive Testing: >95% test coverage across all production examples
- Performance Benchmarked: All contracts include performance characteristics
- Cross-Version Compatibility: Validated across Aiken v1.1.15 & v1.1.19
- Enhanced CI/CD: Multi-branch validation with automated quality gates
- Professional Documentation: Enterprise-grade documentation standards
This guide is maintained to reflect the latest stable version of Aiken. For bleeding-edge features, always consult the official Aiken documentation.