The New iOS Trading Experience Is Now Live!
Learn More
Guides
Bridge
How to bridge guide
Stake
How to stake guide
Vote
How to vote guide
Validator
How to validate guide
Ecosystem
Blog
Read the latest updates
dYdX Ecosystem
Explore the ecosystem
Integrate
Join the dYdX Ecosystem
Trading
API Integration
Clients information
Documentation
Technical information
GitHub
View dYdX github
Media
Press
Latest press features
Podcasts
Latest podcast features
Brand
Our brand assets
Press Enquiry
Get in touch
Explore
dYdX Foundation
About us
Careers
We are actively hiring
Institutions
Integrate
Join the dYdX Ecosystem
Ecosystem Enquiry
Get in touch
Trade App
v4
Trade App
v4

Menu

Retail User
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Step 8
Step 9
Step 10
Market Maker
Step 1
Step 2
Step 3
Step 4
Step 5

Step 1

Step 1: On the dYdX trade interface, click "Connect Wallet"

Step 2

Step 2: Choose your EVM-compatible wallet. Once you give it permissions, a new dYdX address is automatically generated.

Step 3

Step 3: To use this account with API, first, you need to make a note of the dYdX recovery seed.

3(a) Click on your address in the upper right corner, then select "Export secret phrase".
3(b) Click the checkbox and wait for the button to activate, then click the "Reveal secret phrase" button.
3(c) Click the text ‘Click to show’ and then the Copy button to copy the secret phrase into your clipboard.

Step 4

Step 4: The typescript client can be configured to connect to any network you wish. You can see example code for customizing the network configuration here:


    const indexerConfig = new IndexerConfig(
      ''https://indexer.dydx.trade'',
      ''wss://indexer.dydx.trade''
    );

    const denomConfig = {
      USDC_DENOM: ''ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5'',
      USDC_DECIMALS: 6,
      USDC_GAS_DENOM: ''uusdc'',
      CHAINTOKEN_DENOM: ''adydx'',
      CHAINTOKEN_DECIMALS: 18
    };

    const validatorConfig = new ValidatorConfig(
      ''https://dydx-ops-rpc.kingnodes.com'', // Validator rest endpoint URL
      ''dydx-mainnet-1'', // Chain ID
      denomConfig
    );

    const custom_network = new Network(
      ''mainnet'',
      indexerConfig,
      validatorConfig
    );

    const client = await ValidatorClient.connect(
      custom_network.validatorConfig
    );
  

The Config Variables for the above code have been published to dYdX Operations subDAO’s web deployment, and can be found under the section beginning with "dydxprotocol-mainnet": { here‍

Please continue to refer to the dYdX Operations subDAO’s site here for the most up-to-date docs on the dYdX Chain.

Step 5

5(a) Onboarding USDC through dYdX trade interface

5(a)(i) When you first connect your wallet, you will be prompted to deposit funds OR you can deposit funds at any point by clicking ‘Deposit’ in the top right of the frontend.
5(a)(ii) Select the source chain, the asset you want to deposit like USDC or other assets such as ETH and enter the amount to deposit. Review the total fees and estimated time before clicking ‘Deposit funds’.
5(a)(iii): Click ‘Next’ on the custom spending cap wallet pop-up.
5(a)(iv): Approve the spending cap by signing the transaction in your EVM-wallet. This will require paying gas fee on Ethereum or on the source chain you selected in Step 4.
5(a)(v): Confirm the transaction on your EVM-wallet
5(a)(vi): You will get a notification on the top-right of the trading interface that deposit is in progress.
5(a)(vii): Click on the bell icon on the top-right to follow the deposit process. Your deposit will be confirmed in ~15-20 mins.

OR

5(b) Onboarding USDC through Circle Mint account

5(b)(i) Deposit USD to your Circle Mint account via wire transfer and mint USDC. Create a Noble address by downloading Keplr Wallet extension and adding Noble Chain and dYdX.

If you want to use Keplr to see trades, stake, and vote via a Keplr dashboard, you would need to export your mnemonic from your dYdX account and import this mnemonic into your Keplr wallet when setting it up. Read more info here.

5(b)(ii) Within Keplr you can now IBC funds from the Noble Chain to the dYdX Chain.

Last updated on November 16, 2023
Previous
Retail User
Next
Market Maker

Get Involved with the Community

Become a part of our journey to reshape the financial landscape

X
Forum
Discord
YouTube
Hedgies nft images
About
Foundation
Careers
Brand
Terms of Use
Privacy Policy
Bug Bounty Program
Video Disclaimer
Guides
Bridge
Stake
Vote
Validators
dYdX Chain Onboarding
Ecosystem
Blog
dYdX Ecosystem
Integrate
Trading
Documentation
GitHub
Public Bridge UIs
dYdX DAO
dYdX Grants Program
dYdX Operations subDAO
Socials

Leaving site

Leaving site. By clicking ‘Continue’, you will be leaving the dYdX Foundation (“dYdX Foundation”) website and accessing a website made available by a third party using dYdX v4 open-source software that is independent from and unaffiliated with the dYdX Foundation. The dYdX Foundation does not deploy or run dYdX v4 software for public use, nor does it operate or control any such infrastructure. The dYdX Foundation is not responsible for any action taken by independent third parties or for content on any third-party websites, including the one you would access by clicking ‘Continue’.

‍

The dYdX Foundation services and products are not available to persons who are residents of, are located or incorporated in, or have a registered office in the U.S., Canada or a Restricted Territory.  More details can be found in our Terms of Use. Learn more about dYdX v4 third-party front end options here.

Continue