LogoLogo
Nekodex AppDiscord
Nekodex (Playground)
Nekodex (Playground)
  • Nekodex $(=ↀωↀ=)
    • Terms of Service
  • Introducing Perp v3
  • All About Perp
    • Project overview
      • Product info
      • About us
      • Governance
    • Roadmap
    • Official links
    • FAQs
    • PERP Token
    • Contact us
    • More
      • Security & Audits
      • Partnerships
      • Careers
      • Marketing
      • Legacy Docs
  • Docs for Users
    • Earn yield
    • Trade perpetual futures
      • Fees & system limits
      • Perp Smart Account
      • Perp contract specs
    • Provide liquidity (LP)
    • How Perp v3 works
      • Pyth Oracles
    • Security
  • Docs for Devs
    • Technical Overview
    • Contracts
      • Address Manager
      • Borrowing Fee
      • Circuit Breaker
      • ⭐Clearinghouse
      • Config
      • Funding Fee
      • ⭐Maker
        • Oracle Maker
        • Spot Hedge Maker
      • Maker Reporter
      • ⭐Order Gateway
      • Quoter
      • ⭐Vault
    • Dev FAQ
    • API
      • Subgraph
    • Error codes
Powered by GitBook
On this page
  • tl;dr
  • Benefits
  • Signup
  • Session keys
  • Passkey
  • web3 wallet
  • FAQ / Troubleshooting

Was this helpful?

  1. Docs for Users
  2. Trade perpetual futures

Perp Smart Account

PreviousFees & system limitsNextPerp contract specs

Last updated 1 year ago

Was this helpful?

Perp v3 uses a Smart Account system based on account abstraction, aka ERC-4337. Perpetual Protocol Smart Account is powered by .

tl;dr

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.

Benefits

  • 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!

Signup

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.

Session keys

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.

More benefits

  • 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.

Passkey

  1. 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. ☠️

  2. 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.

Backups

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:

Synchronization and recovery are both supported natively by Apple and Google:

web3 wallet

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:

0x884bc49b4af83f77bfce93df4d38c7fd2f916c76

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.

FAQ / Troubleshooting

  • 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.

  • Google Authenticator App: make sure you have it installed and up to date.

  • Bluetooth must be turned on and wifi/mobile data connected.

  • Passkeys are saved in your Google account. If you have more than one account, make sure to save the Passkey in the account you want to use.

  • If you have many Passkeys, make sure to choose the one linked to your Nekodex account.

  • No Passkeys Available Error

    • Make sure you have Google Authenticator installed.

    • On your phone, go to Settings > Search for password > Password Manager > see if any Passkeys were created for Nekodex. If Passkeys were created, remove them and try logging into Nekodex again (using your same email).

We aren't aware of any iOS issues at this time! If you have trouble, please Contact us

(FIDO credential) are a standard for managing passwords, login credentials and more, using a Passkey-enabled hardware device like your iPhone or Android smartphone.

Android:

iOS:

With Apple, Passkeys created on one device are synced through iCloud as long as the user is logged in with their Apple ID. Apple covers both syncing and recovery in "". For some additional detail, see this . Apple's account recovery process is documented in this .

With Google, syncs passkeys across devices seamlessly. Google has plans to support syncing more broadly across different operating systems, see this . Recovery is covered in this FAQ (""): it relies on Google's overall because passkeys are attached to Google accounts.

Go to the and make sure everything is working. If Passkeys were created, remove them and try logging into Nekodex again (using your same email).

Passkeys
https://support.google.com/chrome/answer/13168025
https://support.apple.com/guide/iphone/use-passkeys-to-sign-in-to-apps-and-websites-iphf538ea8d0/ios
https://docs.zerodev.app/sdk/plugins/passkeys#how-are-passkeys-sync-ed-and-recovered
Keychain
About the security of passkeys
Q&A with the passkey team
support page
Google Password Manager
support summary
What happens if a user loses their device?
account recovery process
Passkey demo site
ZeroDev