I built a small Foundry helper: forge-scriptgen #13697
KimH4nKyul
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Foundry team,
I built a small Rust CLI called
forge-scriptgenand wanted to share ithere in case it looks useful.
Repo:
https://github.com/KimH4nKyul/forge-scriptgen
It generates
script/*.s.soldeployment scripts from Solidity contracts ina Foundry project.
The main reason I made it was that I kept repeating the same deployment
script setup work:
So I made a CLI that does that first pass for me.
A few things it supports today:
src/**/*.solIt has been tested against cases like:
errordeclarationsassemblycontract/constructortext inside comments and stringsQuick example:
I’m not trying to pitch this as a Foundry core change.
I just wanted to say: I made this, and if any of you have time to try it
once, I’d really appreciate it. Even a quick reaction on whether this feels
useful or unnecessary would help a lot.
If you think the idea has merit, I’d also appreciate feedback on:
Thanks. Any feedback would be genuinely helpful.
Beta Was this translation helpful? Give feedback.
All reactions