Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a CLI tool to deploy the contracts using Foundry #86

Merged
merged 9 commits into from
Apr 9, 2024

Commits on Mar 28, 2024

  1. Add a foundry script to deploy the contracts

    Usage:
    
      ./deploy.sh <local | tenderly-devnet | mainnet>
    
    Environment variables (can be set in a .env file):
    
      CHAIN_ID:           Chain ID to deploy to (optional)
      RPC_URL:            RPC URL to use (optional)
      DEPLOYER:           Address or private key to deploy with (optional with local)
      DEPLOYER_PATH:      HD path to use with the ledger (optional, only used when DEPLOYER is an address)
      ETHERSCAN_API_KEY:  Etherscan API key for contracts verification (mainnet only)
      OPEN_DEMO_TROVES:   Set to 1 to open demo troves after deployment (defaults to 0, local only)
    bpierre committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    c68b993 View commit details
    Browse the repository at this point in the history
  2. Move usage in a function

    bpierre committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    5164703 View commit details
    Browse the repository at this point in the history
  3. Comments

    bpierre committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    74129f1 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2024

  1. Configuration menu
    Copy the full SHA
    9473e03 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    99c9511 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. Configuration menu
    Copy the full SHA
    e907770 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    66da622 View commit details
    Browse the repository at this point in the history
  3. feat: add Sourcify support to deploy-cli

    Also refactor the deployment script and our test harnesses to share a
    single deployment function.
    danielattilasimon committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    a55c29d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8e85ddb View commit details
    Browse the repository at this point in the history