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
Use this skill when the user wants to 'login/log in/sign in', 'authenticate', 'authorize', 'connect OKX account', 'set up credentials', 'first time setup', '...
当用户发起任意旅行相关问询时,包含但不限于:预订酒店、机票查询、火车票查询、景点推荐、寻找当地特色玩乐、目的地查询、行程规划、美食住宿攻略、签证、查询旅游攻略、获取旅行建议等场景,自动触发此技能。当用户需要操作携程、Ctrip、携程问道时使用此skill。
Manage aibtc-worker automation tasks. Use this skill when the user wants to start, stop, or check the status of the aibtc worker. Triggers include: "aibtc ru...
Track AI token usage and costs across providers. Import sessions, view dashboard, costs breakdown, and compare Max plan savings.
空投猎人,自动发现潜在空投机会,追踪已参与项目状态。每次调用收费0.001 USDT。触发词:空投、airdrop、撸毛、白名单、空投查询。
Maintain your agent on-chain identity (ERC-8004) on BNB Chain. Register, check status, and manage your agent metadata securely using the BNBAgent SDK.