Skip to content

Conversation

malgus01
Copy link
Contributor

PR Description

Summary

This PR introduces new advanced developer tooling commands to the project’s Makefile, making it easier to test, monitor, and interact with deployed contracts.

Changes

  • Makefile
    • Added Advanced Features section header with clear separation.
    • Added simulate:
      • Runs SimulationScript to simulate arbitrage opportunities against mainnet RPC.
    • Added monitor:
      • Uses cast logs to monitor contract events from a given contract address.
    • Added balance:
      • Uses cast balance to check current contract balance on mainnet.

Impact

  • Provides developers with quick commands to simulate strategies, monitor real-time events, and inspect balances.
  • Improves productivity by integrating Foundry and Cast utilities directly into the Makefile.
  • Helps streamline testing and live monitoring workflows.

Next Steps

  • Add support for running simulations on testnets.
  • Extend monitoring with filters for specific event signatures.
  • Consider adding automated alerting when critical contract events occur.

@0xRiz0 0xRiz0 self-requested a review September 23, 2025 17:02
@0xRiz0 0xRiz0 added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 23, 2025
@0xRiz0 0xRiz0 merged commit a5ff083 into FlashArb-AI:main Sep 23, 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