upgradeable-contracts

Develop, deploy, and manage upgradeable smart contracts on Avalanche using proxy patterns.

Updated May 7, 2026
One-click install
npx skills add https://github.com/Ayomisco/avaxskills --skill upgradeable-contracts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: upgradeable-contracts
Source: https://github.com/Ayomisco/avaxskills/tree/main/website/public/upgradeable-contracts
Command: npx skills add https://github.com/Ayomisco/avaxskills --skill upgradeable-contracts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @openzeppelin/hardhat-upgrades, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables developers to implement, deploy, and upgrade smart contracts on Avalanche using proxy patterns, ensuring adaptability and upgradeability over time.

Core Features & Use Cases

  • Implementation of proxy patterns: Supports UUPS, Transparent Proxy, and Beacon proxies, facilitating flexible upgrade strategies.
  • Upgrade workflow: Guides through deploying, upgrading, and validating contracts with best practices to maintain storage integrity.
  • Use Case: When deploying a DeFi protocol that requires bug fixes or new features, use this Skill to manage upgrades safely, avoiding storage corruption.

Quick Start

Use the upgradeable-contracts skill to create a proxy contract that can be upgraded with new features as your project evolves.

Frequently Asked Questions about upgradeable-contracts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy upgradeable smart contracts on Avalanche?

To deploy upgradeable smart contracts on Avalanche, you can use proxy patterns like UUPS, Transparent, or Beacon proxies to ensure your contracts remain adaptable and secure over time.

What is the best way to upgrade a DeFi protocol contract without corrupting storage?

The best way to upgrade a DeFi protocol contract without storage corruption is to follow an upgrade workflow that validates contracts and maintains storage integrity using established proxy patterns.

Does OpenZeppelin hardhat-upgrades support UUPS and Transparent Proxy patterns on Avalanche?

Yes, OpenZeppelin hardhat-upgrades supports UUPS, Transparent Proxy, and Beacon proxy patterns, facilitating flexible and secure upgrade strategies for smart contracts on Avalanche.

When do I need to use a proxy pattern for smart contract deployment?

You need to use a proxy pattern for smart contract deployment when your project requires bug fixes or new features after launch, allowing you to manage upgrades safely without redeploying.

How do I validate storage layout integrity when upgrading smart contracts?

You validate storage layout integrity during smart contract upgrades by following deployment best practices and workflows that check for storage corruption before executing the upgrade.

Can I use Beacon proxies to manage multiple contract upgrades simultaneously?

Yes, you can use Beacon proxies to manage multiple contract upgrades simultaneously, as this pattern is supported alongside UUPS and Transparent proxies for flexible upgrade strategies.