Perp Smart Account
Last updated
Last updated
Perp v3 uses a Smart Account system based on account abstraction, aka ERC-4337. Perpetual Protocol Smart Account is powered by ZeroDev.
Perp Smart Account makes crypto trading so much easier.
Sign up without needing a wallet
No wallet credentials to store or backup
Trade without signing (just tap and confirm)
No separate network (gas) fees
All funds are 100% onchain and in your control (non-custodial)
Smart Accounts are created using an email, and an authentication method: Passkey or a web3 wallet. Each Smart Account has its own address (starting with 0x). You cannot use an exising address for the Smart Account.
To log in and perform critical operations (e.g. withdraw) you will need the same email and Passkey/web3 wallet that you used when creating the account.
User experience
Sign up and start trading in seconds - no wallet or complex registration needed
Trade with 2 clicks - only sign-up/withdrawal requires your Passkey signature
Security
Wallet credentials (e.g. seed words) are stored securely, protecting you from loss or mistakes
Easy account recovery using your Passkey
Easy account migration without exporting/handling private keys
Leading edge tech
Fully client-side solution puts the you in complete control of your wallet
Industry-leading implementation from ZeroDev
🤔 Is this even web3 bro?
Good question. Everyone defines web3 a little differently, but if your definition includes the following
Non-custodial / not your keys, not your coins
Permissionless
Open, public blockchain
No lock-in / easy migration
then yes, this is web3.
Perp Smart Account uses ERC-4337 account abstraction to create user accounts, leveraging the Kernel wallet from ZeroDev for the implementation. If you have more questions about what all of this means, welcome to Contact us!
Nekodex only supports Passkey signup. We want to encourage users to try this new user-friendly option for securing your crypto account.
First enter an email address to create an account, then link it to a Passkey or Web3 wallet. The key or wallet will be used to authenticate you and sign for critical operations like sign-up and withdrawals.
Passkey requirements
🍎 Passkeys are available for all iPhones and iPads from iOS 16 onward.
🤖 Passkeys are available for most Android phones from Android 9* onward.
Some manufacturers have not added Passkey so be sure to check your device. *Higher versions of Android may be required for 3rd party applications like Proton Pass.
ZeroDev's session keys implementation opens the door to a faster, smoother trading experience onchain. A session key is created using your Passkey. The session key lets you perform low-risk operations like opening and closing trades without having to authenticate again using your Passkey.
Using session keys instead of the private-key-backed Passkey means less exposure for the private key.
Session keys allow easy management of what operations are permitted, and what operations require full Passkey authentication.
Substantial gas savings compared to verifying Passkey signatures for onchain operations.
Passkeys (FIDO credential) are a standard for managing passwords, login credentials and more, using a Passkey-enabled hardware device like your iPhone or Android smartphone.
Passkeys on your computer may be difficult or impossible to back up. We do not recommend users to store Passkeys this way unless you know what you are doing. If your Passkey is lost, you will permanently lose access to your funds. ☠️
Perp Smart Account does not currently support Linux. If you use Linux, please sign in using your phone or a web3 wallet.
When creating your Perp Smart Account or logging into an existing Smart Account, you can use your device's Passkey for authentication.
Check with your phone manufacturer for information about setting up and using Passkeys on your phone.
It is important to backup your Passkey in order to maintain access to your Perp Smart Account if your device is lost or broken.
From the ZeroDev docs:
https://docs.zerodev.app/sdk/plugins/passkeys#how-are-passkeys-sync-ed-and-recovered
Synchronization and recovery are both supported natively by Apple and Google:
With Apple, Passkeys created on one device are synced through iCloud Keychain as long as the user is logged in with their Apple ID. Apple covers both syncing and recovery in "About the security of passkeys". For some additional detail, see this Q&A with the passkey team. Apple's account recovery process is documented in this support page.
With Google, Google Password Manager syncs passkeys across devices seamlessly. Google has plans to support syncing more broadly across different operating systems, see this support summary. Recovery is covered in this FAQ ("What happens if a user loses their device?"): it relies on Google's overall account recovery process because passkeys are attached to Google accounts.
If you don't want to use Passkey or do not have access to one, you can use a good old fashioned web3 wallet like a proper OG.
Connect your wallet, e.g. Metamask, and sign the ValidatorApproved
message to set up your account abstraction wallet. You can verify you are signing the message from this contract:
This will set up your Perp Smart Account which is ready to be funded and used for trading. You won't need to sign for most operations, which will be controlled using your session key. Critical operations like sign-up & withdrawal will requires a signature from your web3 wallet to re-authenticate you.
Passkeys are linked to an email and a service like a website (e.g. nekodex.org). Make sure to use the Passkey linked to the email you used to sign up to Nekodex.
Passkeys are created on one device. If you use a phone and backup the phone using iCloud or Google One, the Passkeys should migrate to the new phone.
Make sure to use the same device to log in, or migrate as mentioned above. You won't be able to log in using a different Passkey.
One device can create multiple Passkeys so when you log in, make sure to choose the Passkey you used to create your Nekodex account.