hardhat-warp icon indicating copy to clipboard operation
hardhat-warp copied to clipboard

Auto-detect virtual env

Open rjnrohit opened this issue 2 years ago • 3 comments

Remove user overhead to mention virtual environment directory

rjnrohit avatar Feb 07 '23 06:02 rjnrohit

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

swapnilraj avatar Feb 09 '23 14:02 swapnilraj

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

JorikSchellekens avatar Feb 09 '23 14:02 JorikSchellekens

we can check if $VIRTUAL_ENV is set

rjnrohit avatar Feb 09 '23 14:02 rjnrohit