Skip to main content

Connect to Khromosome

Add the network to MetaMask

FieldValue
Network nameKhromosome
New RPC URLhttps://rpc.khromosome.xyz
Chain ID777001
Currency symbolKHROME
Block explorerhttps://explorer.khromosome.network

In MetaMask: Settings → Networks → Add a network → Add a network manually, enter the values above, and save.

Add it programmatically (EIP-3085)

await window.ethereum.request({
method: 'wallet_addEthereumChain',
params: [{
chainId: '0xBDB29', // 777001
chainName: 'Khromosome',
nativeCurrency: { name: 'KHROME', symbol: 'KHROME', decimals: 18 },
rpcUrls: ['https://rpc.khromosome.xyz'],
blockExplorerUrls: ['https://explorer.khromosome.network'],
}],
});

Verify the connection with curl

curl -s https://rpc.khromosome.xyz \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":1}'
# => {"jsonrpc":"2.0","id":1,"result":"0xbdb29"} (777001)

Get test KHROME

You need KHROME to pay gas. Request test funds from the faucet, or ask the operator for a funded key on the testnet. Once funded, confirm your balance in the explorer.