-
Notifications
You must be signed in to change notification settings - Fork 167
feat: add webauthn signer #1571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd the label graphite-merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
🌿 Documentation Preview
|
|
||
* ```ts | ||
* import { webauthnSigningFunctions } from "@account-kit/smart-contracts"; | ||
* import { LocalAccountSigner } from "@aa-sdk/core"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: remove
PR-Codex overview
This PR introduces the
webauthnSigningFunctions
in thesigner.ts
file, which provides methods for generating signatures for user operations, messages, and typed data using WebAuthn. It enhances the signing capabilities for smart accounts with added utility functions.Detailed summary
webauthnSigningFunctions
to create a signing object.WebAuthnP256
for signing operations.hashMessage
,hashTypedData
, andpack1271Signature
for signature processing.