# ZKTC and ZKTT Swap to ZKTR Tutorial(Mainnet Environment)

# I. Open the ZKTC contract:

https://etherscan.io/address/0x05C11E99d646cA5530DD2E4Ab82023d3A4f39647#writeContract (opens new window)

    1. Click and connect to Web3, connect to the ZKTC wallet (MetaMask)
    1. For user authorization, click on Approve; spender (address) fill in 0xAa5130a8FeF2AAa211bF6fE1Ca9ad1F48919Adb9 Fill in XXXX amount (This amount is the authorized amount)
    1. Click “Write”

https://file.zktube.io/images/paytube-docs/swap01.jpg

# II. Users deposit ZKTC into the contract and open:

https://etherscan.io/address/0xAa5130a8FeF2AAa211bF6fE1Ca9ad1F48919Adb9#writeProxyContract (opens new window)

    1. Click “deposit”

Fill in XXX amount (This amount is less than or equal to the authorized amount above)

    1. Click “Write”

https://file.zktube.io/images/paytube-docs/swap02.jpg

# III. To check the result of swapped ZKTR, please go to:

https://etherscan.io/address/0xAa5130a8FeF2AAa211bF6fE1Ca9ad1F48919Adb9#readProxyContract (opens new window) Note: To check the results of the whiteList functions--you can also use remix, and the contract source code is required. https://file.zktube.io/images/paytube-docs/swap03.jpg

# ZKTT Swap to ZKTR(Rinkeby Environment)

# I. Open the ZKTT contract:

https://rinkeby.etherscan.io/address/0xdbf8b2a2475f1d226f3b1bfc679df837b9c63027#writeContract (opens new window)

    1. Click and connect to Web3, connect to the ZKTT wallet (MetaMask)
    1. For user authorization, click on Approve;

spender (address) fill in 0x0963Ee9583A2A6f77426d209aaDfC5d63D5D677A

Fill in XXXX amount (This amount is the authorized amount)

    1. Click “Write”

https://file.zktube.io/images/paytube-docs/swap04.jpg

# II. Users deposit ZKTT into the contract and open:

https://rinkeby.etherscan.io/address/0x0963Ee9583A2A6f77426d209aaDfC5d63D5D677A#writeProxyContract (opens new window)

    1. Click “deposit”

Fill in XXX amount (This amount is less than or equal to the authorized amount above)

    1. Click “Write

https://file.zktube.io/images/paytube-docs/swap05.jpg

# III. To check the result of swapped ZKTR, please go to:

https://rinkeby.etherscan.io/address/0x0963Ee9583A2A6f77426d209aaDfC5d63D5D677A#readProxyContract (opens new window)

Note: To check the results of the whiteList functions--you can also use remix, and the contract source code is required.

https://file.zktube.io/images/paytube-docs/swap06.jpg