Franfran

Results 32 comments of Franfran

> I feel like `mineSalt` could be a library that wraps `cast` with this functionality You mean a library called cast wrapping mineSalt ? Why so ? All cheatcodes are...

True, what about calling it `cast create2` ? Also, I thought that it would be great to display a progress bar along with an estimated time remaining by calculating the...

I just noticed that mining a salt for a create2 address is like 10x faster than mining a private key wallet, though it shouldn't be that significant, right ? It...

```console franfran@franfran:~$ cast create2 --deployer 0x1F2C452e6d63664bb6c602FAdA3c5501A2f44A6f --init-code 0x --starts-with dead Starting to generate deterministic contract address... Successfully found contract address in 0 seconds. Address: 0xDeaD862e91B43c7e55eAfB20B696BEB72871691B Salt: 16157366503150255834 ``` **Blazingly** fast...

I have a question regarding the `--matching` flag. If implemented, should we forget the `--starts-with` and `--ends-with` flags ? If so, we would need to validate the data by ensuring...

as @gakonst stated, we'll use a cheatcode. Making it rn, but I cannot import `foundry_cli` as it's making a circular dependency because of `cast` which imports `evm`. The reason I...

> > because the create2 address generation is in cli and well I cannot import it because of that. > > I'd refactor this to the `foundry-common` crate and import...

> > because the create2 address generation is in cli and well I cannot import it because of that. > > I'd refactor this to the `foundry-common` crate and import...

I've been struggling to find a valid refactor in order to implement the cheatcode here. What about merging the PR only with the `cast create2` feature after that I've added...

I would like to work on this one please. Just a question, what would this cheat add from `cast wallet vanity` ?