Opt-in components to Scaffold-ETH #897
ByteAtATime
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was thinking of creating a tool similar to Astro's integrations. Basically, we can have things such as more specific hooks/components/utilities that don't really fit in SE-2, but that might be useful. For example, take the following command:
This might add a package (and somehow initializes it with scaffold globals/utilities?) that adds a component to choose a token. Alternatively,
se2-add hook useToken
adds a custom implementation of the now-deprecateduseToken
hook from wagmi.se2-add util create2
could add a utility that helps with the create2 opcode (maybe calculating the address), and more.Another idea that I had, either as an alternative or another type of integration, could be where you run a command and it adds the file itself to the local system instead of adding a package. For example,
se2-add local useToken
would simply add auseToken.ts
file in~~/hooks
.This is all just a random idea I had, I'm not sure if this is at all feasible, but I still want to hear some ideas.
Beta Was this translation helpful? Give feedback.
All reactions