A self-custody wallet can export its raw private key. This is the user’s escape hatch: the key is
theirs, and they can take it elsewhere.
Export
exportEvmKey() runs a passkey gesture and returns the raw private key as a hex string. It is
available only on a self-custody (own-origin) client.
In React, use useExport:
K is the EVM key, so this one key is the whole wallet. Export returns the raw key, never a
mnemonic phrase. Avok never mints one.
An exported key is plaintext custody. Once it leaves the passkey sandbox, Avok’s guarantees no
longer apply to that copy. Handle it in a user gesture, show it once, and never persist or transmit
it.