vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
Learning Nextjs+rainbowkit+wagmi + <add keywords> OK, guys, tell me, do you really know how apps you build with this stuff work? Or just trial and error until it seems to work? (Feels like being back to Windows 95 again: "Try unistalling the printer driver, and then upgrade the VGA driver, it worked for me.")
6 replies
0 recast
4 reactions

Steve pfp
Steve
@stevedylandev.eth
It鈥檚 definitely rough. While Next.js does have the ability to let you build a full stack app very quickly, it is also complicated to the point of many failures. Wallet libraries are just having to adapt to that reality and struggle with the rest of us. On the flip side, you can always go back to window.ethereum 馃槀
1 reply
0 recast
1 reaction

vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
To be fair, window.ethereum had a much smoother learning curve, when I used it a few years ago.
1 reply
0 recast
1 reaction

Steve pfp
Steve
@stevedylandev.eth
Oh yeah totally. Back in the day you could build the entire wallet workflow from scratch, but then came along multiple chains, appeal of smooth modals, etc. For most people rebuilding that whole flow again sounds tedious (me being one of them haha). Personally love Connect Kit https://docs.family.co/connectkit
1 reply
0 recast
0 reaction

vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
It's OK. After spending hours, I managed to have wallets connect to my app, using one of these "very easy, just type: npm i all-you-wished-from-web3" solutions. (And watching all these warnings about deprecated libs being installed.) My next frontier is to read a value from a contract.
1 reply
0 recast
1 reaction

Steve pfp
Steve
@stevedylandev.eth
You got this 馃敟馃
1 reply
0 recast
1 reaction

vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
3h later, I'm still struggling. 馃槩
1 reply
0 recast
0 reaction

Steve pfp
Steve
@stevedylandev.eth
Oh no! What are you using? Try Viem.sh if you haven鈥檛 already.
1 reply
0 recast
0 reaction

vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
I'm using the wagmi react components. I thought, how hard can "useReadContract()" be? Well...
1 reply
0 recast
1 reaction

Steve pfp
Steve
@stevedylandev.eth
Can鈥檛 speak for wagmi but I got an example with Viem https://github.com/PinataCloud/hat-store-frame/blob/main/app/api/%5B%5B...routes%5D%5D/route.tsx https://www.pinata.cloud/blog/how-to-build-a-transaction-frame-on-farcaster
0 reply
0 recast
1 reaction