Build With Proto-USD
Last updated
Use the ProtoGateway contracts on all chains. The contracts are identical on all deployed chains.
send(uint _destChainId, address _recipient, uint _USDCamount);
send(uint _destChainId, address _recipient, uint _USDCamount, bytes memory _userData);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.
Use the official Circle USDC - On testnets, obtain from the official testnet faucet.
Approve the desired amount of USDC to the ProtoGateway contract.
Call send(_destChainId, _recipient, _amount)
For a list of Proto connected blockchains and associated contract addresses, please see the next section.
Last updated