DeversiFi Trading Key (DTK)

As STARKs use a different signature scheme to the Ethereum blockchain, a STARK keypair needs to be generated, which allows for the interaction with the StarkWare high speed settlement system.Every time a DeversiFi trader submits an order to the exchange, or makes a deposit/withdrawal they are cryptographically signing a message using their Ethereum wallet private key that instructs their DeversiFi trading key on the required action. This is a process that is common to all self-custodial layer-2 exchanges that use zero-knowledge cryptography (STARKs, SNARKs etc).

When you register your Ethereum address with DeversiFi for the first time (the registration transaction) a DeversiFi trading key is generated behind the scenes in a trustless manner and is associated with your Ethereum address. You can think of your DeversiFi trading key as similar to an API key on a centralised exchange.

Backup Your DeversiFi Trading Key

From January 2021 onwards it it no longer necessary for you to make a local copy backup of your DeversiFi trading key. DeversiFi now encrypts your DTK using your Ethereum signature and stores it encrypted on DeversiFi servers. This means that you do not need to worry about keeping backups of your DTK and can simply connect to the Exchange using Metamask or Ledger as normal


If you you receive a ETH_STARKKEY_NOT_MATCHED error the it means that you need to re-import your DeversiFi Trading Key backup file. This is a one time only re-import, after which you will be asked to migrate to the new trading key storage system where you do not need to keep a local copy of your trading key.

1) Locate your DeversiFi trading key file that you will have had to download at the time of registering . It will have the name: "DeversiFi Trading Key for 0x......json'
2) Go to and import the file when prompted. if you are not prompted then please clear your browser cache and refresh the app page
3) Import the trading key - it may have a password
4) When prompted, click the 'provide' button to migrate to the new trading key storage system

if you cannot locate your DeversiFi trading key backup file then you are unfortunately not able to place trades on DeversiFi using your DeversiFi account that is registered to
your Ethereum address. You need to withdraw your funds using the below instructions and register a new Ethereum address with DeversiFi

How to I withdraw my funds if I lose the trading key that was registered to my MetaMask account prior to January 2021?

Please see the instructions on how to make a withdraw if you have lost your DTK here
Was this article helpful?
Thank you!