In this document, I'll demonstrate how you can transfer CERE tokens from the Cere testnet to the Binance Smart Chain (BSC) testnet using Hyperbridge. Let's get started!

<aside> 💡

Don’t have Testnet $CERE? To get started, you will need some $CERE testnet tokens, which you can get here from Bren on Telegram or Discord ; We recommend using a clean, new wallet for the test.

Or you can use the development accounts (if they are not empty):

  1. go to  Cere Testnet Explorer

  2. Click on “Accounts” → Accounts

  3. Choose a development account eg Alice and click send </aside>

  4. Navigate to the Developer >> Extrinsics Section: Open the Cere Testnet Explorer and go to the Developer tab, then select Extrinsics from the dropdown menu.

  5. Select an Account for Signing the Transaction: From the Account dropdown menu, choose the account you want to use to sign the transaction. Ensure the account has sufficient funds to execute the transaction.

  6. Choose the TokenGateway Extrinsic: In the module section, select TokenGateway and then choose the Teleport function.

  7. Input the Required Parameters:

    1. Asset ID: Enter 0 since the native asset ID for CERE tokens has been set to 0 in the runtime.

    2. Destination: Select EVM as the host machine.

    3. Evm: u32: Enter 97, which is the chain ID for the BSC testnet.

    4. Recipient Address: Provide the recipient's address in H256 format. Ensure the address is compatible with the BSC network.

      <aside> 💡

      E.g. if your address is 0x97BXxZAD9F96A47A5EC1lo3589b0f99d1AaB96c4

      Then take everything behind 0x → 97BXxZAD9F96A47A5EC1lo3589b0f99d1AaB96c4

      And add it to this: 0x000000000000000000000000

      Final result: 0x00000000000000000000000097BXxZAD9F96A47A5EC1lo3589b0f99d1AaB96c4

      </aside>

    5. Amount: Enter the number of tokens you wish to transfer in u128 format

      <aside> 💡

      E.g. if you want to transfer 800 $CERE then you need to write it as: 8000000000000

      So it’s the number you want (eg 800) plus 10 zeros

      </aside>

    6. Timeout: Leave this field as 0.

  8. Token Gateway Address:

  9. Relayer Fee:

  10. Submit the Transaction:

image.png

Verifying the Transfer

  1. Track the Transaction on BSCScan:

    Once the transaction is submitted, you can track its status by navigating to BSCScan. Use the Token Gateway address to find the corresponding transaction.

  2. Check Internal Transactions:

    In BSCScan, go to the Internal Transactions section. This will show the transfer and confirm that the tokens have been successfully teleported to the recipient address.

    For example: https://testnet.bscscan.com/token/0xf310641b4b6c032d0c88d72d712c020fca9805a3

Demo Video:

screen-recording-2025-01-17-at-21418-pm_s1uOS11S.mov