Skip to content

Conversation

@rin-st
Copy link
Member

@rin-st rin-st commented Oct 17, 2025

Slightly updated the code of #331 (I used the same branch), see difference in the 7f54b7d. And now in arguments we can use functions with global variables as parameters, for example

const description = ({solidityFramework}) => `Hello ${solidityFramework}`

To test
Read the example extension scaffold-eth/create-eth-extensions#104
Create the instance using hardhat or foundry

yarn cli -e https://github.com/scaffold-eth/create-eth-extensions/tree/pass-global-vars

Check Readme and page.tsx of the instance


@technophile-04 I hope this is what you expected to see when created #331

@rin-st rin-st requested a review from technophile-04 October 17, 2025 08:41
Copy link
Collaborator

@technophile-04 technophile-04 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@technophile-04 I hope this is what you expected to see when created #331

YESS! This is amazing I was just playing around it for a bit and working great! Will go through the code once, but this is working great! Thanks Rinat!

Copy link
Collaborator

@technophile-04 technophile-04 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great! Tysm @rin-st!

Just one thing, I think we can also use the new solidityFramework arg in the below file?

@rin-st
Copy link
Member Author

rin-st commented Nov 20, 2025

good point, updated!

Copy link
Collaborator

@technophile-04 technophile-04 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great! TYSM 🙏

@technophile-04 technophile-04 merged commit 66d02f4 into main Nov 26, 2025
13 checks passed
@technophile-04 technophile-04 deleted the pass-sf-template branch November 26, 2025 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants