Content
@
0 reply
28 recasts
29 reactions
Brian Doyle ๐ต ๐ฉ
@briandoyle81
New tutorial from Base DevRel and it's a big one for OCSII! * Set up and use the Coinbase Smart Wallet * Add a 1-click button for non-crypto-native users to fund their wallets for any app in the Base Ecosystem * How to get up to $15k USD in gas subsidies https://docs.base.org/tutorials/coinbase-smart-wallet
2 replies
20 recasts
75 reactions
Harpalsinh Jadeja
@harpaljadeja
This is great, waiting for Sign in With Ethereum tutorial for Coinbase Smart Wallet. Not sure if @privy or @dynamic supports SIWE with the new Coinbase Smart Wallet
3 replies
0 recast
3 reactions
ericbrown.eth ๐ช
@ericbrown.eth
Sign in with Ethereum, functionally, is connecting a wallet and signing a message. You could add the flow to connect a smart wallet and once connected, the user is logged into the application. Then any user models you have use their smart wallet address as its UUID. Is that helpful?
2 replies
0 recast
1 reaction
Harpalsinh Jadeja
@harpaljadeja
yeah it is helpful, but I was wondering how the session management on the backend can be implemented in order to avoid session duplication. I am gating something important based on Sign in With Ethereum which is why i need to implement SIWE as securely as possible.
1 reply
0 recast
0 reaction
ericbrown.eth ๐ช
@ericbrown.eth
Got it. Those docs arenโt prod ready because they arenโt checking the nonce during verification. Is that the step you need more clarification on? How to check the nonce signature when itโs signed with a smart wallet? Btw, what backend are you using and are you using JWT for sessions?
1 reply
0 recast
1 reaction
Harpalsinh Jadeja
@harpaljadeja
Currently I haven't written any backend code. But my plan is to have an api route to request nonce and a separate route for verification What I don't know is what after that ๐ just got this link and trying to understand it https://docs.login.xyz/sign-in-with-ethereum/quickstart-guide/implement-sessions
1 reply
0 recast
0 reaction
Brian Doyle ๐ต ๐ฉ
@briandoyle81
There is a short guide on the docs site if you didn't see that: https://www.smartwallet.dev/guides/siwe
1 reply
0 recast
1 reaction