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
git clone https://github.com/odyslam/foundry-upgrades
cd foundry-upgrades
forge install
forge build
for complile the .sol file.