.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
ETH_RPC_URL
URL to fetch RPC data from
TENDERLY_ACCESS_TOKEN
secret
Tenderly access token, obtained from the Tenderly UI via Account > Authorization > Generate Access Token
TENDERLY_PROJECT_SLUG
Tenderly project slug, found in the URL of your project: https://dashboard.tenderly.co/<username>/<project_slug>/transactions
BN_API_KEY
secret
keys required for Blocknative simulation -> https://explorer.blocknative.com/account
BN_SECRET_KEY
secret
CLEAR_CACHE
clears caches for ganache and hardhat
TS_NODE_TRANSPILE_ONLY
skip type-checking to avoid its performance impact
FORK_BLOCK
Simulation parameters
GAS_LIMIT
brew install flyctl && fly launch --from https://github.com/alcuadrado/convex-shutdown-simulation
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/alcuadrado/convex-shutdown-simulation
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/alcuadrado/convex-shutdown-simulation