Daniel Sinclair pfp

Daniel Sinclair

@danielsinclair

549 Following
1513 Followers


Daniel Sinclair pfp
Daniel Sinclair
@danielsinclair
I think you'll see this flow because `window.ethereum` isn't detectable; usually we handle that to support mobile dApp browsers. A little behind on this, but I think we should be able to add support by adopting the Frame connector, similarly to our default support for auto-connecting in the Safe browser. Should be able to release it later this week. https://www.npmjs.com/package/@farcaster/frame-wagmi-connector
1 reply
0 recast
1 reaction

Daniel Sinclair pfp
Daniel Sinclair
@danielsinclair
Can try to improve this for RainbowKit! What did your setup look like that had you stuck? Mind sharing some sample code/repo?
1 reply
0 recast
0 reaction

Daniel Sinclair pfp
Daniel Sinclair
@danielsinclair
We plan to support as well! Haven’t seen it used many places yet.
0 reply
0 recast
1 reaction

Daniel Sinclair pfp
Daniel Sinclair
@danielsinclair
MetaMask has a new wallet_swapAsset RPC call that you could use as a fallback to Farcaster Wallet to push users from the Frame SDK into external wallets, rather than requiring the signing bounce-backs for Approval+Swap. The idea is that wallets (whether EOA or SCA) decide the tx flow (i.e. gasless or subsidized) for swaps https://github.com/MetaMask/metamask-improvement-proposals/blob/main/MIPs/mip-4.md
1 reply
0 recast
3 reactions

Daniel Sinclair pfp
Daniel Sinclair
@danielsinclair
WalletConnect does have a specific RPC call for "One-click Auth" (Connect+SIWE) that we actually support in Rainbow Wallet. Haven't seen that part of the protocol used in many places, but it is possible today. We're still waiting for the equivalent standard for injected wallets to settle though. https://docs.reown.com/appkit/next/core/siwe
1 reply
0 recast
3 reactions

Daniel Sinclair pfp
Daniel Sinclair
@danielsinclair
Did you end up finding a favorite? Would love to support interop with Solana someday in RainbowKit via a chain abstraction standard, but not sure we've seen the winning side-chain or intent protocol yet.
1 reply
0 recast
0 reaction

Daniel Sinclair pfp
Daniel Sinclair
@danielsinclair
Open to ideas if you think we can simplify this in any way! Most dApps that use this relied on wallet interactions, so we designed it for that use cases with Connect Wallet -> SIWE -> transaction signatures, but there is probably an opportunity for a drop-in SIWE-only flow as well for web2 auth flows.
1 reply
0 recast
2 reactions

Daniel Sinclair pfp
Daniel Sinclair
@danielsinclair
RainbowKit does support other auth frameworks beyond NextAuth btw! We adopted an adapter pattern to be a bit more flexible; the iron-session example uses this. It is still a bit challenging for devs to use, so I understand why Privy and Dynamic built around a centralized verifier. https://github.com/rainbow-me/rainbowkit/tree/main/examples/with-next-siwe-iron-session https://www.rainbowkit.com/docs/custom-authentication
2 replies
0 recast
2 reactions

Daniel Sinclair pfp
Daniel Sinclair
@danielsinclair
I'm a bit puzzled that it hasn't become more popular as well. I'm hopeful that Stripe rolls out SIWE with their Pay with Crypto flow and Link, but I think Passkeys have become more favored because of auto-enrollment. The SIWE message signature always feel a bit spooky too because most wallets don't have custom Sign-in handling
1 reply
0 recast
2 reactions

Giuliano Giacaglia pfp
Giuliano Giacaglia
@giu
It’s time to BUILD!
2 replies
2 recasts
35 reactions

Daniel Sinclair pfp
Daniel Sinclair
@danielsinclair
We have a browser extension too in case your neck starts to look like this
0 reply
0 recast
0 reaction

Daniel Sinclair pfp
Daniel Sinclair
@danielsinclair
Congrats. Well deserved! Excited to see what you all build together
0 reply
0 recast
0 reaction

Daniel Sinclair pfp
Daniel Sinclair
@danielsinclair
Beautiful. No notes.
0 reply
0 recast
3 reactions

Daniel Sinclair pfp
Daniel Sinclair
@danielsinclair
silence, bot
0 reply
0 recast
6 reactions

Daniel Sinclair pfp
Daniel Sinclair
@danielsinclair
just one typo fix PR, bro. i promise bro, just one tiny PR on GitHub and i'll get the airdrop, bro. bro… just one more PR review. please bro, just one more. bro c’mon, just give me one more PR, i promise bro. bro bro please, i just need one more typo fix PR.
3 replies
15 recasts
70 reactions

Daniel Sinclair pfp
Daniel Sinclair
@danielsinclair
/microsub tip: 525 $DEGEN
0 reply
0 recast
0 reaction

Daniel Sinclair pfp
Daniel Sinclair
@danielsinclair
/microsub tip: 524 $DEGEN
0 reply
0 recast
1 reaction

Daniel Sinclair pfp
Daniel Sinclair
@danielsinclair
/microsub fee: 55 $DEGEN
0 reply
0 recast
0 reaction

Daniel Sinclair pfp
Daniel Sinclair
@danielsinclair
/microsub tip: 525 $DEGEN
0 reply
0 recast
0 reaction

Daniel Sinclair pfp
Daniel Sinclair
@danielsinclair
/microsub tip: 524 $DEGEN
0 reply
0 recast
0 reaction