Skip to content

Commit

Permalink
update: dexalot images & walkthrough (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
martineckardt authored Aug 26, 2024
2 parents f60bbe7 + 4f829f1 commit 965dd1d
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Use Dexalot L1
description: Get first hand experience with an Avalanche Avalanche L1.
description: Get first hand experience with an Avalanche L1.
updated: 2024-05-31
authors: [ashucoder9]
icon: Terminal
Expand All @@ -14,28 +14,38 @@ Make sure your Core Wallet is set to Testnet mode, so we do not use real funds.

## Bridge Tokens to Dexalot

Head over to the [Dexalot Testnet](https://app.dexalot-test.com/trade), connect your wallet (top right), and click on the Portfolio Tab. You will have to authenticate your wallet for the first time you interact with Dexalot.
Head over to the [Dexalot Testnet](https://app.dexalot-test.com/trade), connect your wallet (top right), and click on the `Balances` Tab in the `Trade` page. You will have to authenticate your wallet for the first time you interact with Dexalot.

On the Portfolio page, select to deposit 1 AVAX in the Dexalot Portfolio.
On the `Balances` tab, select to deposit into the Dexalot L1.

![](/course-images/avalanche-fundamentals/15.png)

A few moments later, your balances should update:
Enter 1 AVAX and click Deposit. Confirm the transaction in your wallet.

![](/course-images/avalanche-fundamentals/deposit.png)

A few moments later, your balances should be updated in the `Balances` tab:

![](/course-images/avalanche-fundamentals/16.png)

Now head to the Trade tab and sell 0.5 AVAX for USDC. You can select the trading pair AVAX/USDC on the left:
Now head to the `Trade` tab and sell 0.5 AVAX for USDC. You can select the trading pair AVAX/USDC on the top right. The website will prompt your wallet to switch networks to the Dexalot L1. Confirm the switch and then sign the transaction.

![](/course-images/avalanche-fundamentals/17.png)

Now, head back to the Portfolio tab and check how the balances updated.
Now, head back to the `Balances` tab and check how the balances updated.
![](/course-images/avalanche-fundamentals/updated-balance.png)


## Withdraw to Fuji C-Chain

From the Portfolio tab, withdraw your AVAX and USDC back to the Fuji C-Chain:
From the `Balances` tab, withdraw your AVAX and USDC back to the Fuji C-Chain by clicking on the "Withdraw To Wallet" option in the drop down menu:

![](/course-images/avalanche-fundamentals/18.png)

Make sure the network is set to Fuji C-Chain and enter the amount you want to withdraw. Click on the Withdraw button and confirm the transaction in your wallet.
![](/course-images/avalanche-fundamentals/bridge-back-usdc.png)


## What just happened?

On the surface, it might feel like a regular decentralized swap. However, there is a substantial difference. We performed our operation not on the C-Chain, but bridged our tokens to a Avalanche L1, performed the operations there, and bridged our tokens back to the C-Chain.
Expand Down
Binary file modified public/course-images/avalanche-fundamentals/15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/course-images/avalanche-fundamentals/16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/course-images/avalanche-fundamentals/17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/course-images/avalanche-fundamentals/18.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 965dd1d

Please sign in to comment.