Skip to main content
Archived documentation for @eco-incorp/sauce@0.99.16. Install this release with npm install --save-exact @eco-incorp/sauce@0.99.16. Links to guides outside this tab open current documentation.
Circle’s chain-abstracted USDC balance. Deposit USDC into the GatewayWallet on one chain, then mint it on another chain through the GatewayMinter with a Circle-signed attestation.

Notes

  • Gateway uses Circle domain ids, the same ids as CCTP (Arc is 26), not EVM chain ids
  • Spending a Gateway balance on another chain is off-chain first: sign a burn intent, submit it to Circle’s Gateway API, then call gatewayMint with the returned attestation
  • Both contracts are upgradeable (EIP-1967) proxies. Arc’s Minter runs a different, smaller implementation from the other chains’ that dispatches the same functions
  • Circle also runs Gateway on HyperEVM (domain 19) and World Chain (14), which are not SDK chains. It has no Solana mainnet deployment

Its names in a program

On Ethereum, CircleGateway is a namespace: its contracts need no import.

Deployments

ABI

GatewayMinterABI

import GatewayMinterABI from "./protocols/circle-gateway/GatewayMinterABI.json"; Speaks for: gatewayMinter.
  • gatewayMint(bytes attestationPayload, bytes signature)
  • isTokenSupported(address token) view returns (bool)
  • domain() view returns (uint32)

GatewayWalletABI

import GatewayWalletABI from "./protocols/circle-gateway/GatewayWalletABI.json"; Speaks for: gatewayWallet.
  • deposit(address token, uint256 value)
  • depositFor(address token, address depositor, uint256 value)
  • totalBalance(address token, address depositor) view returns (uint256)
  • availableBalance(address token, address depositor) view returns (uint256)
  • isTokenSupported(address token) view returns (bool)
  • domain() view returns (uint32)

Next steps