Cairo Deploy
Automates StarkNet Cairo contract deployment from YAML configuration, streamlining development workflows.
Install on your platform
We auto-selected Claude Code based on this skillβs supported platforms.
Run in terminal (recommended)
claude mcp add cairo-deploy npx -- -y @trustedskills/cairo-deploy
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"cairo-deploy": {
"command": "npx",
"args": [
"-y",
"@trustedskills/cairo-deploy"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The cairo-deploy skill allows AI agents to deploy Cairo smart contracts to the Starknet network. It automates the process of compiling Cairo code, preparing deployment transactions, and submitting them to the blockchain. This simplifies the complex steps involved in deploying decentralized applications on Starknet.
When to use it
- Deploying a new Cairo contract from source code: Useful for launching novel smart contracts or updating existing ones.
- Automating deployments as part of a larger workflow: Integrate deployment into CI/CD pipelines or other automated processes.
- Testing contract deployments in different environments (testnet, mainnet): Easily switch between networks to test and deploy your contracts.
- Deploying upgrades to existing Cairo contracts.
Key capabilities
- Compiles Cairo smart contract code.
- Prepares deployment transactions for Starknet.
- Submits deployment transactions to the Starknet network.
- Supports deploying to both testnet and mainnet environments.
Example prompts
- "Deploy this Cairo contract: [contract source code]"
- "Deploy my 'Token' contract to the Goerli testnet."
- βCan you deploy the compiled Cairo program located at
/path/to/program?β
Tips & gotchas
- Ensure your AI agent has sufficient StarkNet network access and appropriate permissions for deployment.
- The skill requires a valid compiled Cairo contract file as input; raw source code may not be directly supported.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates β what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
π Community
Passed automated security scans.