Closed technophile-04 closed 3 months ago
Do you think if it could be any better if we could combine the following steps into one?
Could yarn install && forge install --root packages/foundry
and cp packages/foundry/.env.example packages/foundry/.env
be one step in the install process for people who have just started learning onchain dev?
Maybe it could be one command: yarn setup
or yarn buidl
This is great stuff @technophile-04 tysm!! I'll start testing and report back!
Is it only for me that when I'm using metamask with foundry network, my setGreeting
transactions are always pending?
Reset account fixed this
Was talking with Carlos and just switched the base branch from main
to foundry
, thinking that https://github.com/scaffold-eth/scaffold-eth-2/pull/867#discussion_r1651262820 would be really nice if we get it working before we merge all the foundry changes to main
branch and then announce the changes also was mentioned in https://github.com/scaffold-eth/scaffold-eth-2/discussions/868.
So for this PR we get this https://github.com/scaffold-eth/scaffold-eth-2/pull/867#discussion_r1651330259 solved merge it to foundry
. And then tackle #812 merge it to foundry
and after that finally merge foundry
=> main
Just merged the postinstall
changes mentioned in https://github.com/scaffold-eth/scaffold-eth-2/pull/867#discussion_r1651330259 works nicely for me!. cc @Pabl0cks could you test it on windows once w/ without wsl and gitbash also if others could give another try too would be great 🙌
To test first run:
git clone https://github.com/scaffold-eth/scaffold-eth-2.git -b foundry-main scaffold-eth-foundry
cd scaffold-eth-foundry
yarn install && forge install --root packages/foundry
And then the three command yarn chain
, yarn deploy
, yarn start
should work out of the box
if others could give another try too would be great
for me it also works! 👍
Just merged the
postinstall
changes mentioned in #867 (comment) works nicely for me!. cc @Pabl0cks could you test it on windows once w/ without wsl and gitbash also if others could give another try too would be great 🙌To test first run:
git clone https://github.com/scaffold-eth/scaffold-eth-2.git -b foundry-main scaffold-eth-foundry cd scaffold-eth-foundry yarn install && yarn install && forge install --root packages/foundry
And then the three command
yarn chain
,yarn deploy
,yarn start
should work out of the box
Everything working great on Ubuntu 20.04!!
@technophile-04 Great job!!!
Tried it on a win11 + git bash machine It works great, without any issues! 🚀🚀🚀 Incredible work @technophile-04 !!!
Thanks all merging this in foundry
branch 🙌
TODOs:
packages/foundry/.env
cp packages/foundry/.env.example packages/foundry/.env
in READMEscripts-js
so that people who are familiar with foundry don't feel weird by seeing js files inscript
dir.foundry fmt && prettier
as pre-commit step in packages/foundryTesting steps:
Follow this branch README: https://github.com/scaffold-eth/scaffold-eth-2/tree/foundry-main?tab=readme-ov-file#-scaffold-eth-2
Next todos: