Network Configuration

This page provides all the network parameters, RPC endpoints, and deployed contract addresses you need to build on KYA Chain.

Network Details

ParameterValue
Network NameKYA Chain
Chain ID (Cosmos)kya_8004-1
Chain ID (EVM)8004
Chain ID (Hex)0x1F44
Native TokenLABS
Token Denominationulabs
Decimals18
RPC Endpointhttps://rpc.kyachain.xyz
Block Explorerhttps://explorer.kyachain.xyz
Verification APIhttps://api.kyachain.xyz

Note: KYA Chain uses a dual chain ID system. The Cosmos chain ID kya_8004-1 is used for Cosmos SDK transactions. The EVM chain ID 8004 is used for Ethereum-compatible transactions via MetaMask, viem, and other EVM tools.

Contract Addresses

All contracts are deployed and verified on KYA Chain mainnet:

ContractAddressDescription
IdentityRegistry0xA1393CB409E2fE5573C0840189622aA0e33947b2ERC-721 AI agent identity NFTs. Register agents and manage identity ownership.
ReputationRegistry0x4c4586cAa1fa32156228093D67aF4Cf2d8CC6a33Agent feedback and reputation scores. Submit feedback and query reputation metrics.
ValidationRegistry0xFb009C075e1D212CfDD1b13F9164049eBBCC641fThird-party agent validation. Validators can endorse agents with on-chain attestations.
TrustVault0xD4bAE271bCCb8bA7BF13B0B4743d62E61CCF9E0eWLABS staking and trust tiers. Stake tokens to increase agent trust level (v2 with native LABS withdrawal).
OrganizationRegistry0x19977A3093FbA73f8DAd3d60ef9A53468A6DaFA9Organization profiles and agent membership. Create organizations and add member agents (v2 with tier-based limits).
WLABS0xEd863CAd86f69D8821f678784c5a47d21626BBF7Wrapped LABS (ERC-20). Required for staking and contract interactions that need ERC-20 compatibility.

Note: FeedbackEscrow is an internal contract used for gasless feedback relay. Most developers don't need to interact with it directly. If you need the address for advanced integrations, check the chain explorer or contact support.

Add to MetaMask

You can add KYA Chain to MetaMask using the wallet_addEthereumChain RPC call:

{
  "chainId": "0x1F44",
  "chainName": "KYA Chain",
  "nativeCurrency": {
    "name": "LABS",
    "symbol": "LABS",
    "decimals": 18
  },
  "rpcUrls": ["https://rpc.kyachain.xyz"],
  "blockExplorerUrls": ["https://explorer.kyachain.xyz"]
}

Or use this button in your dApp:

async function addKYAChain() {
  try {
    await window.ethereum.request({
      method: 'wallet_addEthereumChain',
      params: [
        {
          chainId: '0x1F44',
          chainName: 'KYA Chain',
          nativeCurrency: {
            name: 'LABS',
            symbol: 'LABS',
            decimals: 18,
          },
          rpcUrls: ['https://rpc.kyachain.xyz'],
          blockExplorerUrls: ['https://explorer.kyachain.xyz'],
        },
      ],
    });
  } catch (error) {
    console.error('Failed to add KYA Chain:', error);
  }
}

viem Configuration

For applications using viem, configure the KYA Chain client like this:

import { createPublicClient, http, defineChain } from 'viem';

export const kyaChain = defineChain({
  id: 8004,
  name: 'KYA Chain',
  nativeCurrency: {
    name: 'LABS',
    symbol: 'LABS',
    decimals: 18,
  },
  rpcUrls: {
    default: {
      http: ['https://rpc.kyachain.xyz'],
    },
    public: {
      http: ['https://rpc.kyachain.xyz'],
    },
  },
  blockExplorers: {
    default: {
      name: 'KYA Explorer',
      url: 'https://explorer.kyachain.xyz',
    },
  },
});

export const publicClient = createPublicClient({
  chain: kyaChain,
  transport: http(),
});

This configuration matches the pattern used by the Verification API and is optimized for production use.

Trust Tier Thresholds

Reference for WLABS staking requirements:

TierNameWLABS RequiredTypical Use Case
0None0No staking, minimal trust
1Bronze1,000Basic verification, testing, low-value interactions
2Silver10,000Production agents, standard trust level
3Gold100,000High-value transactions, enhanced trust signals
4Diamond500,000Enterprise agents, maximum platform trust

Tiers are cumulative -- staking 10,000 WLABS qualifies you for all tiers from 0-2.

API Rate Limits

The Verification API enforces tier-based rate limiting:

TierRequests Per MinuteMonthly Limit
0 (Blocked)0Blocked
1 (Bronze)1~43,000
2 (Silver)16~691,000
3 (Gold)166~7.2M
4 (Diamond)2,700~117M

Rate limits are enforced via sliding window counters in Redis. See Rate Limiting for details.

Development and Testing

There is no KYA Chain testnet. For local development:

  1. Use Foundry's anvil to run a local EVM chain
  2. Deploy contracts locally using the deployment scripts in contracts-erc8004/script/
  3. Update contract addresses in your local .env file
  4. Test against the local chain before deploying to mainnet

For staging environments, consider running a private KYA Chain fork or using a separate wallet with minimal LABS for testing on mainnet.

Next Steps

On this page