upgrade-cairo-contractsUpgrade Cairo smart contracts using OpenZeppelin's UpgradeableComponent on Starknet. Use when users need to: (1) make Cairo contracts upgradeable via replace...
Install via ClawdBot CLI:
clawdbot install samledger67-dotcom/upgrade-cairo-contractsGrade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Generated Mar 21, 2026
A decentralized finance protocol on Starknet needs to fix a bug in its lending contract without changing user balances or contract addresses. This skill enables upgrading the Cairo contract by replacing its class hash, ensuring storage compatibility for existing loan data and integrating OpenZeppelin's UpgradeableComponent with access control to restrict upgrades to governance.
An NFT project wants to add new minting functionality or royalty mechanisms to its Cairo-based smart contract after deployment. Using this skill, developers can upgrade the contract by declaring a new class and calling replace_class_syscall, while maintaining existing token ownership storage and securing the upgrade function with OwnableComponent to prevent unauthorized changes.
A company uses Starknet for a transparent supply chain ledger and needs to update contract logic to support new product categories or compliance rules. This skill facilitates upgrades by ensuring storage compatibility for historical shipment data and implementing role-based access control via AccessControlComponent to allow only authorized administrators to perform upgrades.
A blockchain-based game on Starknet requires patching its Cairo contract to introduce new gameplay mechanics or fix exploits. The skill enables seamless upgrades using OpenZeppelin's UpgradeableComponent, testing upgrade paths on a devnet to verify that player progress and in-game assets remain intact, and guarding upgrades with multisig for security.
Offer services to audit Cairo contracts for upgrade safety, including storage compatibility checks and access control integration. Revenue comes from project-based fees for reviewing and implementing upgrade paths, with additional retainer models for ongoing support during contract lifecycle management.
Create and sell tools or SDKs that simplify integrating OpenZeppelin's UpgradeableComponent into Cairo contracts, such as automated testing suites for upgrade paths or templates for access control. Revenue is generated through one-time purchases or subscription licenses for enterprise clients.
Provide a platform or service for managing upgrade proposals and executions via multisig or DAO governance for Starknet contracts. Revenue streams include transaction fees for facilitating upgrades and subscription fees for access to enhanced security features like timelocks and monitoring.
💬 Integration Tip
Always initialize access control in the constructor and test upgrade paths on a local devnet before production deployment to ensure storage compatibility and functionality.
Scored Apr 19, 2026
ERC-8004 Trustless Agents - Register, discover, and build reputation for AI agents on Ethereum. Use when registering agents on-chain, querying agent registries, giving/receiving reputation feedback, or interacting with the AI agent trust layer.
Understand blockchain technology, interact with smart contracts, and evaluate when distributed ledgers solve real problems.
有道云笔记资讯推送:基于收藏笔记分析关注话题,推送最新相关资讯。支持对话触发与每日定时推送(如早上9点)。触发词:资讯推送、设置资讯推送、生成资讯推送。
有道云笔记官方 skill,支持笔记 CRUD(创建/读取/更新/删除)、待办管理、网页剪藏、笔记搜索、文件夹管理等基础操作。如需构建知识库或 Wiki,请使用 youdaonote-llm-wiki skill 而非本 skill。
网页剪藏到有道云笔记。触发词:剪藏网页、保存网页、收藏网页。
Deploy ERC20 tokens on Base using Clanker SDK. Create tokens with built-in Uniswap V4 liquidity pools. Supports Base mainnet and Sepolia testnet. Requires PRIVATE_KEY in config.