# Registration on TON Using Etherscan

This guide is based on the contract address and amount supplied. Take this guide as a reference and type in the exact numbers and address as told.

### Contract Address

* Token: ORC (0x662b67d00a13faf93254714dd601f5ed49ef2f51)
* Vault address : 0x1bf68a9d1eaee7826b3593c20a0ca93293cb489a

### ▶ STEP 1

#### ERC-20 Token approval Process&#x20;

1. Open the chrome browser.&#x20;
2. Go to "<https://etherscan.io"&#x20>;
3. Search by your \[Token contract]&#x20;
4. Click the 'Contract' tab. Click the 'Write Contract' tab.&#x20;
5. Click 'Connect to Web3' button.&#x20;
6. Connect to your wallet.&#x20;
7. Click the ‘1. approve' row.&#x20;
8. Fill the accurate value to column. \
   (1). \_spender (address): 0x1bf68a9d1eaee7826b3593c20a0ca93293cb489a \
   (2). \_value (uint256): uint256 max - 1 (Maximum value) or Quantity to bridge
9. Click the 'Write' button.

<figure><img src="https://516479309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJyg-Bbo5X7MHxbgayB%2Fuploads%2Fnqf76yrBlNlSol3XBw3v%2Fimage.png?alt=media&#x26;token=94669881-58d0-498f-a99f-9f824a851c27" alt=""><figcaption><p>Search by your [Token contract] </p></figcaption></figure>

<figure><img src="https://516479309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJyg-Bbo5X7MHxbgayB%2Fuploads%2FiU8wSAp2yOBQsUtp9gp2%2Fimage.png?alt=media&#x26;token=8e77aeab-02d1-4e4b-9295-7fff76a2071a" alt=""><figcaption><p>Click the 'Contract' tab. Click the 'Write Contract' tab.</p></figcaption></figure>

<figure><img src="https://516479309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJyg-Bbo5X7MHxbgayB%2Fuploads%2Fto5vFrjWN9ibSC5M63sR%2Fimage.png?alt=media&#x26;token=b06b6a80-2a2e-4ebc-bf43-aa06e182560e" alt=""><figcaption><p>Click 'Connect to Web3' button. </p></figcaption></figure>

<figure><img src="https://516479309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJyg-Bbo5X7MHxbgayB%2Fuploads%2Fb163fVz8VAwteFznrgga%2Fimage.png?alt=media&#x26;token=229eb4f7-929f-470e-ac69-9175089450ec" alt=""><figcaption><p>Connect to your wallet. </p></figcaption></figure>

<figure><img src="https://516479309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJyg-Bbo5X7MHxbgayB%2Fuploads%2F1OLtA1johzpIXXw0mqwp%2Fimage.png?alt=media&#x26;token=3b66fa27-5096-4595-9c2a-4e28dd48a5a1" alt=""><figcaption><p>Click the ‘1. approve' row. Fill the accurate value to column. </p></figcaption></figure>

<figure><img src="https://516479309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJyg-Bbo5X7MHxbgayB%2Fuploads%2FClXSr9qyMUTuhnXNEnI0%2Fimage.png?alt=media&#x26;token=f1d007f9-86f0-41f7-86a8-23854e700f63" alt=""><figcaption><p>Click the 'Write' button.</p></figcaption></figure>

### ▶ STEP 2

#### depositToken Implement Process&#x20;

1. Open the chrome browser.
2. Go to "<https://etherscan.io"&#x20>;
3. Search by \[vault address]
4. Click the 'Contract' tab. Click the 'Write as Proxy" tab.
5. Click 'Connect to Web3' button.
6. Connect to your wallet.
7. Click the '1. depositToken' row.
8. Fill the accurate value to column.\
   (1) depositToken : 0

   (2) token (address) : \[ORC address]

   (3) toChain (string) : TON

   (4) toAddr (bytes) : \[Your TON based wallet address that want to receive your token]\
   TON based wallet has different type as we generally use for ERC20. Please refer to the scripts' hashPart for switching your address to 32byte address\
   <https://github.com/jaybbbb/bridge-utils>\
   (5) amount (uint256) : 1 \
   (Basically, you are sending the minimum amount to register the token, 1/10^18 since the contract is based on the standard of decimal 18)
9. Click the 'Write' button.

<figure><img src="https://516479309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJyg-Bbo5X7MHxbgayB%2Fuploads%2FUhOiWpyS0qggpXoNzWkz%2Fimage.png?alt=media&#x26;token=ac9cbbe2-b13a-4e18-a0ed-3b83a9656fc4" alt=""><figcaption><p>Search by [vault address]</p></figcaption></figure>

<figure><img src="https://516479309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJyg-Bbo5X7MHxbgayB%2Fuploads%2FvAk1V9HfyltDnH28SvpH%2Fimage.png?alt=media&#x26;token=88fdb616-8ff5-436f-ae3f-0075c07abc2a" alt=""><figcaption><p>Click the 'Contract' tab, and then 'Write as Proxy" tab.</p></figcaption></figure>

<figure><img src="https://516479309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJyg-Bbo5X7MHxbgayB%2Fuploads%2Fil5bc81chG2goCFBgXfM%2Fimage.png?alt=media&#x26;token=dbfbb96d-fe24-4138-9052-7957ad9c1b3e" alt=""><figcaption><p>Click 'Connect to Web3' button.</p></figcaption></figure>

<figure><img src="https://516479309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJyg-Bbo5X7MHxbgayB%2Fuploads%2FoyVFnV5m8BSX39kKuecp%2Fimage.png?alt=media&#x26;token=9d64a3e6-4841-4c03-8af0-71b4af53c433" alt=""><figcaption><p>Connect to your wallet.</p></figcaption></figure>

<figure><img src="https://516479309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJyg-Bbo5X7MHxbgayB%2Fuploads%2FzcpfkJmLpUrahjewNdwH%2Fimage.png?alt=media&#x26;token=1dea95d0-74c8-4c54-a2e1-25e580e58769" alt=""><figcaption><p>Click the '2. depositToken(0x0ac09684)'. Fill in the information.</p></figcaption></figure>

<figure><img src="https://516479309-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJyg-Bbo5X7MHxbgayB%2Fuploads%2FvfH7lOE7092ZZJIoUuBM%2Fimage.png?alt=media&#x26;token=19691cfb-105b-45ac-9719-60feccb4256a" alt=""><figcaption><p>Click the 'Write' button.</p></figcaption></figure>
