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

hardhat support #213

Open
jakim929 opened this issue Oct 21, 2024 · 2 comments
Open

hardhat support #213

jakim929 opened this issue Oct 21, 2024 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed unprioritized

Comments

@jakim929
Copy link
Contributor

currently supersim only works with anvil.

Few options

  1. shell out to hardhat (may require nodejs dependencies)
  2. build a JSON RPC server on top of EDR https://github.com/NomicFoundation/edr
@jakim929 jakim929 added enhancement New feature or request unprioritized labels Oct 21, 2024
@fainashalts fainashalts added the help wanted Extra attention is needed label Oct 24, 2024
@PhantomOz
Copy link

Hello guys would love to work on this.

@s29papi
Copy link
Contributor

s29papi commented Nov 10, 2024

I'd be happy to work on this feature. Before proceeding, I have a few questions and observations:

  1. User Interface

    • How should users specify their preference for Hardhat?
    • Would a CLI flag like supersim --hardhat be the preferred approach?
  2. Implementation Considerations

    • Using Hardhat would require modifications to packages where Anvil is currently tightly coupled (e.g., the orchestrator package)
    • We'd need to implement conditional logic to switch between Anvil and Hardhat
  3. Current Progress

    • I've started working on a solution using a shell script that:
      • Verifies Node.js installation in the environment
      • Sets up a local Hardhat project in a designated directory
    • This approach leverages EDR's existing stable Hardhat support

Would love to get your thoughts on these points before proceeding further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed unprioritized
Projects
None yet
Development

No branches or pull requests

4 participants