celer.network DOCS
  • Ultimate Guide to Cross-Chain Asset Transfers and cBridge by Celer Network
  • ✋Welcome to cBridge
  • SGN and cBridge
  • State Guardian Network
  • Architectural Benefits
  • cBridge Security
  • Fungible Token Bridging Models
  • Cross-chain Transfer
  • LP Guide
  • SGN V2 Staking Guide
  • Ape Chain Bridging Guide
  • SGN V1 Unbonding Guide
  • Smart Contract as LP
  • Aptos Bridging Guide
  • cBridge SDK
  • cBridge Pool-Based Transfer (xLiquidity)
  • Flow Bridging Guide
  • cBridge Transfer Web Widget
  • Circle Cross-chain USDC Transfer Protocol(CCTP)
  • cBridge Aptos Transfer (xAsset Only)
  • Custom Transfer URL Schemes
  • cBridge Canonical Mapping Transfer (xAsset)
Powered by GitBook
On this page
  • Prerequisites
  • Implementation
  • Submit transfer through TransferAgent contract on EVM
  • Submit transfer on Aptos Chain

cBridge Aptos Transfer (xAsset Only)

PreviousCircle Cross-chain USDC Transfer Protocol(CCTP)NextCustom Transfer URL Schemes

Prerequisites

Before implementing transfer functionality between EVM chains and Non-EVM chains, you should know how to

Implementation

The principle and methodology of transfer between EVM chains and Non-EVM chains are the same as transfer between EVM chains and EVM chains. To support Aptos transfer, there are several things to do.

  • Submit transfer transaction through TransferAgent contract on EVM chains

  • Submit transfer transaction to Aptos Modules(Vault for deposit, PegBridge for burn) deployed by cBridge.

To avoid chain id conflict, Celer SGN reserves 12360001 as Aptos Mainnet Chain Id, 12360002 as Aptos Testnet Chain Id and 12360003 as Aptos Devnet Chain Id.

Submit transfer through contract on EVM

Unlike EVM wallet address, Aptos wallet uses 32 bytes hex string as address. Then you cannot submit transfer transaction using Aptos wallet address as destination receiver through cBridge OriginalTokenVault / PeggedBridge contract. Hence, cBridge deploys a TransferAgent contract which can use any length string as destination receiver.

Submit transfer on Aptos Chain

You can refer to submit transaction on Aptos

PreviouscBridge Transfer Web WidgetNextCustom Transfer URL Schemes

Last updated 1 year ago

transfer between EVM chains
TransferAgent
this