Greg pfp
Greg
@greg
Playing around with an idea for a React library that makes building frontends for smart contracts a lot easier, inspired by Radix Primitives (https://www.radix-ui.com/) Not sure if it's even feasible (sooo many potential use cases to think through) but at least an interesting challenge https://i.imgur.com/5mXdRph.png
12 replies
0 recast
0 reaction

Greg pfp
Greg
@greg
Does this make sense to you devs? Thinking it could be good for rapid prototyping, solidity devs who want to make a nice simple frontend for their contracts, or new devs to mess around with building on open smart contracts
1 reply
0 recast
0 reaction

Greg pfp
Greg
@greg
Making progress. Video demo on the bird app https://twitter.com/gregskril/status/1630007251183325185
0 reply
0 recast
0 reaction

Boris pfp
Boris
@boris-backedby
Very cool idea! I think Contract.Input and Contract.Button need to be wrapped in Contract.Function which would validate the number and types of inputs as you’re working. Packaging the wagmi usePrepareContractWrite>useContractWrite>useWaitForTransaction stack into Contract.Function would be so much easier for new de
2 replies
0 recast
0 reaction

borodutch pfp
borodutch
@warpcastadmin.eth
can you just make wagmi hooks more usable instead? maybe marry them with react suspense? the back and forth of "write" and "loading" and "data" is stupid, especially if there are multiple contracts and calls to them within the same component
1 reply
0 recast
0 reaction

vincent pfp
vincent
@pixel
So if Wagmi is "React hooks for Ethereum", this is like "Bootstrap for smart contracts"?
1 reply
0 recast
0 reaction

Darryl Yeo 🛠️ (at Devcon) pfp
Darryl Yeo 🛠️ (at Devcon)
@darrylyeo
Building this for blockhead.info (written in Svelte, not React). <input pattern> and native Form Validation API are your friends
0 reply
0 recast
0 reaction

Zach Kolodny pfp
Zach Kolodny
@koloz
Add a callback prop for potential output and I’d use it
0 reply
0 recast
0 reaction

David Furlong pfp
David Furlong
@df
I think this is a really really great idea.
0 reply
0 recast
0 reaction

san pfp
san
@san
yes totally. Great prototyping use case, import as provider to your app, pass alchemy key and use components. I saw some of such projects last year like web3-components web3-react - I might be getting the exact names wrong but those don't seem to be maintained well.
0 reply
0 recast
0 reaction

Paper Buddha pfp
Paper Buddha
@paperbuddha
Sooooo many use cases
0 reply
0 recast
0 reaction

timdaub pfp
timdaub
@timdaub.eth
IMO the killer app for web3 frontend stuff right now is: How can the app developer further control the wallet experience. Like, you can build the greatest web3 app ever and along comes a Metamask user who will have a nightmare experience completely out of the app dev‘s control.
0 reply
0 recast
0 reaction

Evan Stewart pfp
Evan Stewart
@es
Could be an interesting use case!
0 reply
0 recast
0 reaction