cairo-deploy

Solid

Deployment guidance for Cairo contracts on Starknet covering sncast commands, account setup, declare/deploy workflow, network configuration, and contract verification.

AI & Automation 80 stars 25 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
64
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Cairo Deploy Reference for deploying Cairo smart contracts to Starknet using sncast (Starknet Foundry). ## When to Use - Deploying contracts to Starknet devnet, Sepolia, or mainnet - Declaring contract classes - Setting up deployer accounts - Configuring network endpoints - Verifying deployed contracts - Invoking/calling deployed contracts ## When NOT to Use - Writing or refactoring contract logic (`cairo-contract-authoring`). - Unit, integration, or fuzz testing (`cairo-testing`). - Gas or performance optimization (`cairo-optimization`). - Security review of existing code (`cairo-auditor`). ## Quick Start 1. Build with `scarb build`, then declare and deploy with `sncast`. 2. Use [skills catalog](../README.md) when the task moves back into authoring, testing, or auditing. ## Setup ### Install Starknet Foundry ```bash # Install via asdf (recommended for version pinning) asdf plugin add starknet-foundry asdf install starknet-foundry 0.56.0 asdf global starknet-foundry 0.56.0 # Or install directly curl -L https://raw.githubusercontent.com/foundry-rs/starknet-foundry/master/scripts/install.sh | sh snfoundryup ``` ### .tool-versions Pin versions for reproducible builds: ``` scarb 2.15.1 starknet-foundry 0.56.0 ``` > **Note:** snforge 0.56.0 requires Scarb >= 2.12.0. Check [github.com/foundry-rs/starknet-foundry/releases](https://github.com/foundry-rs/starknet-foundry/releases) for the latest. ## Build ```bash # Build contracts (generates Sierra + CASM) scarb bui...

Details

Author
keep-starknet-strange
Repository
keep-starknet-strange/starknet-agentic
Created
6 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category