4ge
BABetter Auth
•Created by 4ge on 5/14/2025 in #help
better-auth passkeys + coinbase smart wallet? question about compatibility...
re: signer
i'm trying to have transactions/userops signed via passkey using RIP-7212 (https://github.com/ethereum/RIPs/blob/master/RIPS/rip-7212.md#motivation)
10 replies
BABetter Auth
•Created by 4ge on 5/14/2025 in #help
better-auth passkeys + coinbase smart wallet? question about compatibility...
creating wallets programmatically after user sign in / upyep. the idea is to almost hide the crypto wallet altogether from mainstream users in the initial stages of our project
10 replies
BABetter Auth
•Created by 4ge on 5/14/2025 in #help
better-auth passkeys + coinbase smart wallet? question about compatibility...
IIRC smart accounts are still the way to go if you want to generate a wallet inside the app hiding the complexity from the user, yeah? not super up to date on 7702, will go through it
Yes, thanks a lot and do keep me updated!
10 replies
BABetter Auth
•Created by 4ge on 5/14/2025 in #help
better-auth passkeys + coinbase smart wallet? question about compatibility...
I've been weighing my options between accountkit/onchainkit and other solutions but yeah I onchainkit is what we'll likely go with
I was gonna take a stab at hacking with viem and better-auth library code myself to see it works. I think it should -- just want to make sure the types P256Credential (from Ox) and PublicKeyCredential (from WebAuthn) are compatible
I'll check out your code 🫡
10 replies
BABetter Auth
•Created by 4ge on 5/14/2025 in #help
better-auth passkeys + coinbase smart wallet? question about compatibility...
that looks 🔥
yeah that's what I was wondering -- to have rest of our auth system managed by better-auth and to use passkeys created by coinbase smart wallet
just one question: if I register a passkey using other libraries (coinbase/alchemy accountkit) and store the credential in better-auth's auth.passkey table (conformant to the schema) will it play nice with rest of the auth system -- i.e. can I use authClient.signIn.passkey() with it?
10 replies