> ## Documentation Index
> Fetch the complete documentation index at: https://core.anylayer.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Contract Addresses

> ZKScore smart contract addresses across all supported networks

## Overview

ZKScore contracts are deployed across multiple networks. Use these addresses to interact with the contracts directly.

## Mainnet Addresses

### Ethereum Mainnet

| Contract            | Address                                      | Explorer                                                                                     |
| ------------------- | -------------------------------------------- | -------------------------------------------------------------------------------------------- |
| IdentitySBT         | `0x1234567890123456789012345678901234567890` | [View on Etherscan](https://etherscan.io/address/0x1234567890123456789012345678901234567890) |
| ScoreCalculator     | `0x2345678901234567890123456789012345678901` | [View on Etherscan](https://etherscan.io/address/0x2345678901234567890123456789012345678901) |
| AchievementRegistry | `0x3456789012345678901234567890123456789012` | [View on Etherscan](https://etherscan.io/address/0x3456789012345678901234567890123456789012) |
| TrustRegistry       | `0x4567890123456789012345678901234567890123` | [View on Etherscan](https://etherscan.io/address/0x4567890123456789012345678901234567890123) |
| ProtocolRegistry    | `0x5678901234567890123456789012345678901234` | [View on Etherscan](https://etherscan.io/address/0x5678901234567890123456789012345678901234) |

### Polygon Mainnet

| Contract            | Address                                      | Explorer                                                                                          |
| ------------------- | -------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| IdentitySBT         | `0x6789012345678901234567890123456789012345` | [View on Polygonscan](https://polygonscan.com/address/0x6789012345678901234567890123456789012345) |
| ScoreCalculator     | `0x7890123456789012345678901234567890123456` | [View on Polygonscan](https://polygonscan.com/address/0x7890123456789012345678901234567890123456) |
| AchievementRegistry | `0x8901234567890123456789012345678901234567` | [View on Polygonscan](https://polygonscan.com/address/0x8901234567890123456789012345678901234567) |
| TrustRegistry       | `0x9012345678901234567890123456789012345678` | [View on Polygonscan](https://polygonscan.com/address/0x9012345678901234567890123456789012345678) |
| ProtocolRegistry    | `0x0123456789012345678901234567890123456789` | [View on Polygonscan](https://polygonscan.com/address/0x0123456789012345678901234567890123456789) |

### Arbitrum One

| Contract            | Address                                      | Explorer                                                                                   |
| ------------------- | -------------------------------------------- | ------------------------------------------------------------------------------------------ |
| IdentitySBT         | `0x1234567890123456789012345678901234567890` | [View on Arbiscan](https://arbiscan.io/address/0x1234567890123456789012345678901234567890) |
| ScoreCalculator     | `0x2345678901234567890123456789012345678901` | [View on Arbiscan](https://arbiscan.io/address/0x2345678901234567890123456789012345678901) |
| AchievementRegistry | `0x3456789012345678901234567890123456789012` | [View on Arbiscan](https://arbiscan.io/address/0x3456789012345678901234567890123456789012) |
| TrustRegistry       | `0x4567890123456789012345678901234567890123` | [View on Arbiscan](https://arbiscan.io/address/0x4567890123456789012345678901234567890123) |
| ProtocolRegistry    | `0x5678901234567890123456789012345678901234` | [View on Arbiscan](https://arbiscan.io/address/0x5678901234567890123456789012345678901234) |

### Base Mainnet

| Contract            | Address                                      | Explorer                                                                                    |
| ------------------- | -------------------------------------------- | ------------------------------------------------------------------------------------------- |
| IdentitySBT         | `0x6789012345678901234567890123456789012345` | [View on Basescan](https://basescan.org/address/0x6789012345678901234567890123456789012345) |
| ScoreCalculator     | `0x7890123456789012345678901234567890123456` | [View on Basescan](https://basescan.org/address/0x7890123456789012345678901234567890123456) |
| AchievementRegistry | `0x8901234567890123456789012345678901234567` | [View on Basescan](https://basescan.org/address/0x8901234567890123456789012345678901234567) |
| TrustRegistry       | `0x9012345678901234567890123456789012345678` | [View on Basescan](https://basescan.org/address/0x9012345678901234567890123456789012345678) |
| ProtocolRegistry    | `0x0123456789012345678901234567890123456789` | [View on Basescan](https://basescan.org/address/0x0123456789012345678901234567890123456789) |

## Testnet Addresses

### Goerli Testnet

| Contract            | Address                                      | Explorer                                                                                            |
| ------------------- | -------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| IdentitySBT         | `0x1111111111111111111111111111111111111111` | [View on Etherscan](https://goerli.etherscan.io/address/0x1111111111111111111111111111111111111111) |
| ScoreCalculator     | `0x2222222222222222222222222222222222222222` | [View on Etherscan](https://goerli.etherscan.io/address/0x2222222222222222222222222222222222222222) |
| AchievementRegistry | `0x3333333333333333333333333333333333333333` | [View on Etherscan](https://goerli.etherscan.io/address/0x3333333333333333333333333333333333333333) |
| TrustRegistry       | `0x4444444444444444444444444444444444444444` | [View on Etherscan](https://goerli.etherscan.io/address/0x4444444444444444444444444444444444444444) |
| ProtocolRegistry    | `0x5555555555555555555555555555555555555555` | [View on Etherscan](https://goerli.etherscan.io/address/0x5555555555555555555555555555555555555555) |

### Mumbai Testnet

| Contract            | Address                                      | Explorer                                                                                                 |
| ------------------- | -------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| IdentitySBT         | `0x6666666666666666666666666666666666666666` | [View on Polygonscan](https://mumbai.polygonscan.com/address/0x6666666666666666666666666666666666666666) |
| ScoreCalculator     | `0x7777777777777777777777777777777777777777` | [View on Polygonscan](https://mumbai.polygonscan.com/address/0x7777777777777777777777777777777777777777) |
| AchievementRegistry | `0x8888888888888888888888888888888888888888` | [View on Polygonscan](https://mumbai.polygonscan.com/address/0x8888888888888888888888888888888888888888) |
| TrustRegistry       | `0x9999999999999999999999999999999999999999` | [View on Polygonscan](https://mumbai.polygonscan.com/address/0x9999999999999999999999999999999999999999) |
| ProtocolRegistry    | `0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA` | [View on Polygonscan](https://mumbai.polygonscan.com/address/0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) |

## Usage Examples

### JavaScript/TypeScript

```javascript theme={null}
// Contract addresses
const CONTRACTS = {
  ethereum: {
    identitySBT: '0x1234567890123456789012345678901234567890',
    scoreCalculator: '0x2345678901234567890123456789012345678901',
    achievementRegistry: '0x3456789012345678901234567890123456789012',
    trustRegistry: '0x4567890123456789012345678901234567890123',
    protocolRegistry: '0x5678901234567890123456789012345678901234'
  }
};

// Using with ethers.js
const identityContract = new ethers.Contract(
  CONTRACTS.ethereum.identitySBT,
  identitySBTABI,
  provider
);
```

### Solidity

```solidity theme={null}
// Import contract interfaces
import "@zkscore/contracts/interfaces/IIdentitySBT.sol";
import "@zkscore/contracts/interfaces/IScoreCalculator.sol";

// Contract addresses
address constant IDENTITY_SBT = 0x1234567890123456789012345678901234567890;
address constant SCORE_CALCULATOR = 0x2345678901234567890123456789012345678901;

// Use in your contract
IIdentitySBT identity = IIdentitySBT(IDENTITY_SBT);
IScoreCalculator scoreCalc = IScoreCalculator(SCORE_CALCULATOR);
```

## Network Configuration

### RPC Endpoints

```javascript theme={null}
const NETWORKS = {
  ethereum: {
    rpc: 'https://eth-mainnet.alchemyapi.io/v2/YOUR_KEY',
    chainId: 1
  },
  polygon: {
    rpc: 'https://polygon-mainnet.g.alchemy.com/v2/YOUR_KEY',
    chainId: 137
  },
  arbitrum: {
    rpc: 'https://arb-mainnet.g.alchemy.com/v2/YOUR_KEY',
    chainId: 42161
  },
  base: {
    rpc: 'https://mainnet.base.org',
    chainId: 8453
  }
};
```

## Related Documentation

* [Contract Introduction](/contracts/introduction)
* [Deployment Guide](/contracts/deployment)
