Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Dec 5, 2024
1 parent c9c4f12 commit 3baabd8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/pages/developers/tutorials/swap-any.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,11 @@ Once your environment is set up, compile the contract and deploy it to localnet
using the following command:

```
npx hardhat deploy --name SwapToAnyToken --network localhost --gateway 0x5FC8d32690cc91D4c39d9d3abcBD16989F875707 --uniswap-router 0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0
npx hardhat deploy \
--name SwapToAnyToken \
--network localhost \
--gateway 0x5FC8d32690cc91D4c39d9d3abcBD16989F875707 \
--uniswap-router 0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0
```

After deployment, you should see an output similar to this:
Expand Down
12 changes: 10 additions & 2 deletions src/pages/developers/tutorials/swap.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,11 @@ their native chain, whether it's an EVM chain or Bitcoin.

```
npx hardhat compile --force
npx hardhat deploy --gateway 0x6c533f7fe93fae114d0954697069df33c9b74fd7 --uniswap-router 0x2ca7d64A7EFE2D62A725E2B35Cf7230D6677FfEe --network zeta_testnet
 
npx hardhat deploy \
--gateway 0x6c533f7fe93fae114d0954697069df33c9b74fd7 \
--uniswap-router 0x2ca7d64A7EFE2D62A725E2B35Cf7230D6677FfEe \
--network zeta_testnet
```

```
Expand Down Expand Up @@ -306,7 +310,11 @@ npx hardhat localnet
Compile the contract and deploy it to localnet by running:

```
npx hardhat deploy --name Swap --network localhost --gateway 0x5FC8d32690cc91D4c39d9d3abcBD16989F875707 --uniswap-router 0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0
npx hardhat deploy \
--name Swap \
--network localhost \
--gateway 0x5FC8d32690cc91D4c39d9d3abcBD16989F875707 \
--uniswap-router 0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0
```

You should see output similar to:
Expand Down

0 comments on commit 3baabd8

Please sign in to comment.