Comprehensive guide for Algorand Python (PuyaPy) smart contract development — contract building with decorators, storage, transactions, types, AlgoKit Utils, ARC standards, and troubleshooting. This is the parent skill for all Python-specific Algorand content. Use when writing Python contract code, working with algopy decorators, understanding Algorand Python storage patterns, using AlgoKit Utils in Python, or troubleshooting Python-specific errors. Strong triggers include "Algorand Python", "PuyaPy", "algopy", "ARC4Contract", "@arc4.abimethod", "GlobalState Python", "BoxMap Python", "algokit_utils Python", "pip install algokit-utils", "Python contract", "Python smart contract".
This is the aggregated parent skill for all Python-specific Algorand development. Use the reference files below to find detailed guidance for each topic.
# Create Python project
algokit init -n my-project -t python --answer preset_name production --defaults
# Install AlgoKit Utils
pip install algokit-utils
# Development cycle
algokit project run build # Compile Python contracts
algokit project run test # Run tests
from algopy import ARC4Contract, arc4
class MyContract(ARC4Contract):
@arc4.abimethod
def hello(self, name: arc4.String) -> arc4.String:
return arc4.String("Hello, " + name.native)
Navigate to the appropriate reference based on your task. Each topic has one or more files.
Initialize Python AlgoKit projects with proper templates and presets.
Python-specific contract building with PuyaPy, including deep-dive references for decorators, storage, transactions, and types.
@arc4.abimethod, @arc4.baremethod, @subroutineInteract with Algorand from Python applications.
Python implementations of ARC-4, ARC-32, and ARC-56.
Python-specific error diagnosis and fixes.
| Topic | Files | Description | | ----- | ----- | ----------- | | Create Project | 2 | Python template initialization | | Build Contracts | 6 | PuyaPy contracts, decorators, storage, transactions, types | | AlgoKit Utils | 2 | AlgorandClient Python API | | ARC Standards | 3 | Python ARC implementations | | Troubleshoot | 3 | Python error fixes |
.md file for step-by-step guidancealgorand-development parent skillSearch for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer