To start trading on dYdX, a user needs to connect their Ethereum wallet and deposit funds into their Perpetual account.
Users can deposit funds to their account by sending a Layer 1 Ethereum transaction through their wallet. Users will need ETH in their wallet to pay for gas fees to deposit funds.
Users can deposit either USDC, or an array of other assets, which are then converted to USDC via 0x API's on-chain liquidity.
On the left hand panel, click "Connect Wallet", then click your preferred wallet.
2. For first time users on Layer 2, you will need to Generate a Sark Key. The Stark Key is a public key defined over a Stark-friendly elliptic curve that is different from the standard Ethereum elliptic curve. Users must first request to sign the linkage of an Ethereum key to a Stark Key and then register the Stark Key on dYdX’s smart contract before any other user operation can take place. Your Stark Key identifies your account on Layer 2 and is saved locally on your browser. Signing is free and will not send a transaction. You can recover your Stark Key at any time with your wallet. Click on “Generate Stark Key” and sign the transaction.
4. At this point, to trade on Layer 2, you will need to register your account on-chain with the StarkEx smart contract. This is the final step before you have complete access to lightning fast trading on Layer 2. You will be asked to send a transaction for this step which consumes gas. You will only have to ever do this once per wallet address. Click “Register” and confirm the transaction.
5. At this point, you will need to deposit funds into your dYdX account. You must enable USDC the first time you deposit on dYdX. You will only have to do this once. In the left panel, click on “Deposit” and then “Enable USDC.” You must pay gas fees to confirm this transaction.
6. You then enter the amount of USDC you want to deposit to your dYdX account. Then press “Confirm Deposit.” You must pay gas fees to confirm this transaction.
7. After the deposit transaction is mined, 10 Ethereum network confirmations (usually about 3 minutes) are required for your funds to be available to trade. You will see the status of your deposit in a notification on the top right of the page.
Your account is now funded on Layer 2 and you can place your first trade.
How do deposits & withdrawals work? https://help.dydx.exchange/en/articles/4797387-how-do-deposits-and-withdrawals-work
How does the integration with 0x API work? https://help.dydx.exchange/en/articles/4801072-how-does-the-integration-with-0x-api-work
How do wallets support Layer 2? https://help.dydx.exchange/en/articles/4797321-how-do-wallets-support-layer-2
What is a Stark Key? http://help.dydx.exchange/en/articles/4797307-what-is-a-stark-key
I lost my stark key! How can I recover my funds? http://help.dydx.exchange/en/articles/4797361-i-lost-my-stark-key-how-can-i-recover-my-funds