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
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