Mainnet
| Property | Value |
|---|
| Network Name | Xhavic Mainnet |
| Chain ID | 7849 |
| Currency Symbol | XVC |
| RPC URL (HTTPS) | https://rpc.xhavic.io |
| Block Explorer | https://xhaviscan.com |
| Bridge | https://bridge.xhavic.io |
| Block Time | 2 seconds |
| Average Fee | $0.04 |
Testnet
| Property | Value |
|---|
| Network Name | Xhavic Testnet |
| Chain ID | 7850 |
| Currency Symbol | XVC |
| RPC URL (HTTPS) | https://testrpc.xhaviscan.com |
| WebSocket | wss://xhaviscan.com/socket/v2/websocket?vsn=2.0.0 |
| Block Explorer | https://xhaviscan.com |
| Bridge | https://testnet-bridge.xhavic.io |
| Faucet | 0.5 XVC per request, 24-hour cooldown |
| Block Time | 2 seconds |
| RPC Rate Limits | None currently |
| Contract Verification API | https://xhaviscan.com/api/v2/smart-contracts |
// Add Xhavic Mainnet to MetaMask
await window.ethereum.request({
method: 'wallet_addEthereumChain',
params: [{
chainId: '0x1EA9',
chainName: 'Xhavic Mainnet',
nativeCurrency: { name: 'XVC', symbol: 'XVC', decimals: 18 },
rpcUrls: ['https://rpc.xhavic.io'],
blockExplorerUrls: ['https://xhaviscan.com'],
}],
});
// Add Xhavic Testnet to MetaMask
await window.ethereum.request({
method: 'wallet_addEthereumChain',
params: [{
chainId: '0x1EAA',
chainName: 'Xhavic Testnet',
nativeCurrency: { name: 'XVC', symbol: 'XVC', decimals: 18 },
rpcUrls: ['https://testrpc.xhaviscan.com'],
blockExplorerUrls: ['https://xhaviscan.com'],
}],
});
Oracle Precompiles (L2)
| Address | Function |
|---|
0x00...00F0 | Price feeds (ETH/USD, BTC/USD, etc.) |
0x00...00F4 | Randomness |
0x00...00F8 | AI Compute |