First, you need to create a passkey which will be used to sign transactions
A Passkey is an authentication method that eliminates the need for passwords entirely. Leveraging the security of your devices such as Touch ID and Face ID, Passkeys provide a more secure and convenient alternative to traditional passwords. Developed collaboratively by an alliance of tech companies, Passkeys adhere to the security standards of FIDO and WebAuthn, making them a robust authentication solution for various applications, not limited to web3.
No, Passkeys operate without the need for recovery phrases. Ethereum EOA (Externally Owned Accounts) rely on a specific elliptical curve (secp256k1), requiring users to manage passwords or recovery phrases. Smart Accounts, such as Safe, can utilize programmable logic that can validates a difference curve, such as the one used in Passkeys (secp256r1) to secure account ownership and use it for signing transactions.
Gas fees in Smart Accounts can be covered by a third party through a Paymaster. Candide Paymaster facilitate applications in sponsoring gas fees based on conditional gas policies. In our demo, we specified a gas policy to cover the gas for the account deployment and the NFT minting action.
Passkey backup options vary depending on your device and password manager preferences. Apple device users npm utilize iCloud Keychain by default, while Android users rely on Google Password Manager. For those who prefer alternative platforms, password managers such as Bitwarden, 1Password, and ProtonPass offer support for Passkeys. Additionally, YubiKey devices are also compatible.
To integrate Safe Passkeys into your app, you can begin by using AbstractionKit. Refer to the complete documentation and find the source code to this demo on github.
Passkeys are widely supported across various devices. They are compatible with Apple devices running iOS 16+ and macOS 13+, Android devices running Android 9+, Windows 10/11/+ on browsers like Chrome, Brave, Edge, and Firefox, as well as Linux on supported browsers such as Chrome, Firefox, Edge, and Brave. For a comprehensive list of supported devices, visit passkeys.dev/device-support