To reduce onboarding friction and improve the cross-chain user experience, CrossChain Lending supports Passkey-based accounts. Allows users to create and access an account without managing private key
Below is a clean, GitBook-ready version with clearer structure, tighter language, and consistent terminology. I’ve kept it neutral and product-focused, suitable for user + dev docs.
Passkey and CrossChainLendingAccount Relationship
Account Creation Mechanism
Users can create a CrossChainLendingAccount using only a Passkey.
How it works:
The Passkey public key is recorded in a smart contract on the NEAR blockchain
The contract treats this public key as a valid account control credential
The Passkey does not store or expose a private key
⚠️ Important
A Passkey is not an on-chain wallet.
It is an identity and signing mechanism only.
Security & Risk Considerations (Critical)
Passkeys have important limitations:
❌ Private keys cannot be exported
❌ Strong dependency on the device and system environment
(browser, OS, biometric setup)
❌ Device loss or environment changes may result in permanent loss of access
As a result, a Passkey-only account may become unrecoverable if no backup control method is added.