Skip to content

Commit

Permalink
Merge pull request #4 from topos-protocol/is-component-adjustments
Browse files Browse the repository at this point in the history
Is component adjustments
  • Loading branch information
coldice committed Sep 26, 2023
2 parents ca19821 + 3eae8a5 commit f17ce4f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions content/module-2/1-ERC20-Messaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,19 @@ Register a token, here named `testToken`:

In order to register tokens on the subnets, you will need to pay fees on both subnets. Use the [Topos Faucet](https://faucet.testnet-1.topos.technology):

<ZoomImage small>
![Get some TOPOS and INCAL](./images/faucetindex.png)
</ZoomImage>

Make sure that the tokens are sent:

![Tokens sent](./images/faucetsuc.png)

Now you can pay the necessary fee for a token registration (e.g., for the Incal subnet):

<ZoomImage small>
![Pay INCA fee](./images/incafee.png)
</ZoomImage>

</HighlightBox>

Expand All @@ -118,11 +122,15 @@ With both token setups done, you can try your first cross-subnet token transfer:

The ERC20 Messaging dApp will list the different steps involved in the cross-subnet transfer process:

<ZoomImage small>
![Transaction page](./images/transactionrunning.png)
</ZoomImage>

First, approve the actions:

<ZoomImage small>
![approve transaction](./images/approvetransaction.png)
</ZoomImage>

<HighlightBox type="info" title="Note">

Expand All @@ -134,11 +142,15 @@ A cross-subnet ERC20 token transfer involves you approving several actions:

The ERC20 Messaging dApp will wait for the transaction to be executed:

<ZoomImage small>
![Wait for the transaction](./images/waittransaction.png)
</ZoomImage>

It should give you a success message, like the following:

<ZoomImage small>
![Successful page](./images/successedenaincal.png)
</ZoomImage>

</StepItem>
</Steps>
Expand Down
2 changes: 1 addition & 1 deletion src/components/mdx/HighlightBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const HighlightBox: React.FC<HighlightBoxProps> = ({
{Icon}
</span>
)}
<div className="[&>*+*]:mt-[0.5rem]">
<div className="flex-1 [&>*+*]:mt-[0.5rem]">
{title && <div className="text-base font-bold">{title}</div>}
{children}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/styles/components/images.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}

:not(.banner) .zoom-image-small .gatsby-resp-image-wrapper {
@apply md:max-h-[45vh];
@apply md:max-h-[45vh] #{!important};

.gatsby-resp-image-image {
@apply md:max-h-[45h] #{!important};
Expand Down

0 comments on commit f17ce4f

Please sign in to comment.