Registration on TON Using Etherscan
Bridge ERC-20 to TON
Last updated
Bridge ERC-20 to TON
Last updated
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.
Token: ORC (0x662b67d00a13faf93254714dd601f5ed49ef2f51)
Vault address : 0x1bf68a9d1eaee7826b3593c20a0ca93293cb489a
Open the chrome browser.
Go to "https://etherscan.io"
Search by your [Token contract]
Click the 'Contract' tab. Click the 'Write Contract' tab.
Click 'Connect to Web3' button.
Connect to your wallet.
Click the ‘1. approve' row.
Fill the accurate value to column. (1). _spender (address): 0x1bf68a9d1eaee7826b3593c20a0ca93293cb489a (2). _value (uint256): uint256 max - 1 (Maximum value) or Quantity to bridge
Click the 'Write' button.
Open the chrome browser.
Go to "https://etherscan.io"
Search by [vault address]
Click the 'Contract' tab. Click the 'Write as Proxy" tab.
Click 'Connect to Web3' button.
Connect to your wallet.
Click the '1. depositToken' row.
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)
Click the 'Write' button.