Contract Addresses

Cleared uses USDC on Base. Base Sepolia is the test network. Use the network associated with the invoice or organization, not an address copied from a different chain. These addresses are checked against the repository's canonical deployment package.

Base Mainnet (Chain ID: 8453)#

Base Sepolia Testnet (Chain ID: 84532)#

For Developers#

Within a Cleared repository workspace, import addresses from @cleared/addresses instead of hardcoding them. Repository access is required; see SDK installation for workspace setup.

ts
import { getAddresses } from '@cleared/addresses';

const addresses = getAddresses(8453); // Base Mainnet
console.log(addresses.invoiceRegistry); // 0x7BF0...

The package reads checked-in deployment records. It does not fetch new addresses automatically at runtime. After a redeployment, update the package/deployment records and rebuild consumers before using the new contracts.

Local Anvil development uses chain ID 31337 and addresses from the local deployment. It is not another hosted production network. A network label in an MCP client does not change the chain configured for its authenticated organization.

For payment prerequisites, see Pay an invoice. For fees and gas, see Fees.