Skip to content

Commit

Permalink
Revert "feat(website): remove swap tokens guide (#14897)"
Browse files Browse the repository at this point in the history
This reverts commit 7dbf44c.
  • Loading branch information
d1onys1us committed Oct 9, 2023
1 parent ebfae22 commit 685063a
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/website/pages/docs/guides.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Check out our guides below. You can leave feedback [here](https://forms.gle/TAnV
<Card title="💰 Setup your wallet" href="/docs/guides/setup-your-wallet" />
<Card title="🎁 Receive tokens" href="/docs/guides/receive-tokens" />
<Card title="🌉 Bridge tokens" href="/docs/guides/bridge-tokens" />
<Card title="🔄 Swap tokens" href="/docs/guides/swap-tokens" />
<Card title="🚀 Deploy a contract" href="/docs/guides/deploy-a-contract" />
<Card title="📜 Verify a contract" href="/docs/guides/verify-a-contract" />
<Card title="🔷 Run a Sepolia node" href="/docs/guides/run-a-sepolia-node" />
Expand Down
3 changes: 3 additions & 0 deletions packages/website/pages/docs/guides/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"bridge-tokens": {
"title": "🌉 Bridge tokens"
},
"swap-tokens": {
"title": "🔄 Swap tokens"
},
"deploy-a-contract": {
"title": "🚀 Deploy a contract"
},
Expand Down
42 changes: 42 additions & 0 deletions packages/website/pages/docs/guides/swap-tokens.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
import { Callout, Steps } from "nextra-theme-docs";

# Swap tokens

This guide will help you interact with Swap, which is a fork of Uniswap v2 that Taiko has deployed only for testing purposes.

## Prerequisites

- You must have some tokens to swap on Taiko, and ETH to cover the gas cost. You can [receive some ETH and HORSE from the faucets](/docs/guides/receive-tokens) and then [bridge them to Taiko](/docs/guides/bridge-tokens).

## Steps

<Steps>
### Visit Swap

Visit the [Swap dapp](https://swap.jolnir.taiko.xyz).

### Follow the video guide for swapping tokens

<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/NqbSwVXF43M?si=FA-OpQqC1C_Q5k3u"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen
></iframe>

### Follow the video guide for adding liquidity

<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/hyOU27UILzQ?si=GNM1X7tzk-R8pf-H"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen
></iframe>

</Steps>

0 comments on commit 685063a

Please sign in to comment.