Build With Proto-CCTP
ProtoCCTPGateway
Use the ProtoCCTPGateway
contracts on all chains. The contracts are identical on all deployed chains.
The send()
function initiates a transfer of USDC or Bridged USDC to a recipient on a destination chain.
_destChainId
= The chain ID of the destination blockchain_recipient
= The wallet address of the recipient on the destination blockchain_USDCamount
= The amount of USDC or Bridged USDC to be transferred (6 decimal)_userData_
= OPTIONAL. Additional data to be sent along with the transfer.
How To Use
Use the official Circle USDC - On testnets, obtain from the official testnet faucet.
Approve the desired amount of USDC to the
ProtoCCTPGateway
contract.Call
send(_destChainId, _recipient, _amount)
For a list of Proto-CCTP connected blockchains and associated contract addresses, please see the next section.
Last updated