Skip to content

Conversation

malgus01
Copy link
Contributor

Pull Request

Summary

This PR introduces deployment automation via makefile targets and updates dependencies through foundry.lock. It provides a streamlined way to deploy contracts locally or on supported Ethereum testnets.

Changes

  • Deployment Scripts
    • Added section header for deployment scripts in makefile.
    • Added deploy-local target:
      • Deploys to a local Anvil network.
    • Added deploy-sepolia target:
      • Deploys to the Sepolia testnet.
      • Includes Etherscan verification, gas config, and API key integration.
    • Added deploy-goerli target:
      • Deploys to the Goerli testnet.
      • Includes Etherscan verification and API key integration.
  • Dependencies
    • Added foundry.lock file to pin dependency versions:
      • balancer-v2-monorepo
      • forge-std
      • openzeppelin-contracts
      • v3-core
      • v3-periphery

Motivation

  • Simplifies developer workflows by allowing quick deployments with a single command.
  • Ensures consistency between environments (local, Sepolia, Goerli).
  • Locks dependencies to guarantee reproducible builds.

Next Steps

  • Add deployment targets for mainnet and additional testnets (e.g., Holesky).
  • Implement environment-based configuration (e.g., .env integration for secrets).
  • Create CI/CD pipeline integration for automated testnet deployments.

@0xRiz0 0xRiz0 self-requested a review September 18, 2025 16:43
@0xRiz0 0xRiz0 added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 18, 2025
@0xRiz0 0xRiz0 merged commit 5520dca into FlashArb-AI:main Sep 18, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants