Boris pfp

Boris

@boris-backedby

78 Following
61 Followers


Boris pfp
Boris
@boris-backedby
Excited to see how you build this out. The syntax for the components looks very close to what anyone who knows basic react is already familiar with, just magically web3-enabled.
0 reply
0 recast
2 reactions

Boris pfp
Boris
@boris-backedby
I like that it’s less code! My initial thought was something like: <C.Root> <C.WriteFn> <C.Input/> <C.Input/> <C.Button/> </C.WriteFn> </C.Root> <C.Root> <C.ReadFn> <C.Input/> <C.Input/> <DataDisplay/> </C.ReadFn> </C.Root> <C.Root> <C.Event> <DataDisplay/> </C.Event> </C.Root> Your example feels less boilerplate-
1 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

Boris pfp
Boris
@boris-backedby
@balajis.eth
0 reply
0 recast
0 reaction