odyslam / foundry-upgrades

Helper smart contracts to deploy and manage upgradeable contracts on Ethereum.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Helper smart contracts to deploy and manage upgradeable contracts on Ethereum.

License:MIT License


Languages

Language:Solidity 100.0%