NethermindEth / hardhat-warp

A Hardhat plugin that uses Warp to bring Solidity contracts to StarkNet
Apache License 2.0
19 stars 7 forks source link

Auto-detect virtual env #39

Open rjnrohit opened 1 year ago

rjnrohit commented 1 year ago

Remove user overhead to mention virtual environment directory

swapnilraj commented 1 year ago

Adding to this auto-add the starknet devnet configuration to hardhat.config.ts if not present. @JorikSchellekens can it be shimmed at runtime or we can write a module that reads modifies the hardhat config to add this

JorikSchellekens commented 1 year ago

There's no clean way to do this that would work for all users. The closest is to set the docker by default

rjnrohit commented 1 year ago

we can check if $VIRTUAL_ENV is set