Account Abstraction getWebAuthnCredential #2544
Replies: 1 comment
-
After looking at this all night and brainstorming with the crew we determined that you can't get the public key from the passkeys getter (not that we're aware of anyway). So instead we're storing the user's ID in a contract upon creation and looking up their smart wallet from that (after making a UserOp to create the wallet ofc... 😅 AA is fun |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
const credential = await createWebAuthnCredential({ name: 'Wallet' })
When a user clicks a "Log in" button it'd be nice to have a
getWebAuthnCredential
function to request a WebAuthnCredential from a user and return a credential that can be used to create a Coinbase smart account wallet.If this were to be the case would the same credential deterministically create the same Coinbase Wallet?
Beta Was this translation helpful? Give feedback.
All reactions