sup
is a CLI tool to help deploy and manage contracts on the Superchain.
WIP This is a work in progress it is not ready to be consumed!
- 🤝 works with existing
foundry
projects (sup
is a companion, not a replacement tofoundry
) - 🕹️ interactive mode (no more juggling cli flags)
- 🚀 deploy and verify contracts to multiple chains at once
- 💸 bridge funds to multiple chains at once (no more "how do I get gas on all of these chains?")
- 🔑 use connected wallets (Metamask / WalletConnect) to deploy contracts (no more
.env
files with private keys)
Follow this guide to install Node.js.
npm i -g @eth-optimism/super-cli
sup
WIP
You can override the RPC URL by setting the {name}_RPC_URL
environment variable.
For example, lets say we wanted to override OP & Base Mainnet
OP_RPC_URL=...
BASE_RPC_URL=...
Nope, foundry
is great! sup
is meant to be a lightweight add-on tool to help with the annoyances of multichain development. It works with your existing foundry
project, and expects you to use foundry
to build contracts. It even emits the same broadcast artifacts when you deploy contracts.