Skip to content

Conversation

@SynnekOG
Copy link

Pull Request

Summary

This PR expands the project makefile by adding new sections for contract verification, interaction, and local development workflows. These enhancements streamline deployment validation, testing, and iterative development.

Changes

  • Verification & Interaction
    • Added verify-mainnet: Verifies contract on Etherscan.
    • Added interact-local: Runs interaction script against local Anvil node.
    • Added interact-testnet: Runs interaction script against Sepolia (or configured testnet).
  • Local Development
    • Added anvil: Starts a fresh local Anvil node.
    • Added anvil-fork: Starts Anvil forked from Ethereum mainnet.
    • Added anvil-polygon: Starts Anvil forked from Polygon mainnet.
  • Minor formatting update for deploy-optimism target.

Motivation

  • Provides developers with convenient, standardized commands for:
    • Contract verification post-deployment.
    • Scripted interaction on local and test networks.
    • Running local and forked Anvil environments for testing against real state.
  • Improves DX (Developer Experience) by consolidating all common tasks in the makefile.

Next Steps

  • Add support for additional forks (e.g., Arbitrum, Base, Optimism).
  • Introduce automated test hooks after deployment/interaction.
  • Expand verify-* commands for other supported networks (Polygon, Optimism, Base).

@Neros0 Neros0 self-requested a review September 20, 2025 18:33
@Neros0 Neros0 added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 20, 2025
@Neros0 Neros0 merged commit c0a22ae into FlashArb-AI:main Sep 20, 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