Home

Awesome

foundry-upgrades

Helper smart contracts to deploy and manage upgradeable contracts on Ethereum, with Foundry.

This repository is a port of OpenZeppelin Hardhat Upgrades, aiming to showcase how the user can test upgradeable contracts using a simple API in Solidity.

ProxyTester.sol is a master-key proxy, that the user can define and instantly spawn proxies for their test contracts.

Installation

  1. git clone https://github.com/odyslam/foundry-upgrades
  2. cd foundry-upgrades
  3. forge install
  4. forge build for complile the .sol file.