Airdrop

Developers

Copy as text for an AI

Elysium RPC

Kairo doesn't operate an RPC. The site reads and writes through Elysium's public endpoint, and your wallet, scripts and agents can use the same one. This page covers connecting, sending, limits, errors, and moving HYPE between Elysium and HyperEVM from code.

Network details#

Elysium
SettingValueNotes
RPC URLhttps://rpc.elysium.kinetiq.xyzPublic; works for wallets and scripts alike.
Chain ID999010x1863d in hex.
Gas tokenHYPE18 decimals.
Parent chainHyperEVM (999)Elysium is an Arbitrum Orbit rollup; its inbox and outbox contracts are on HyperEVM.
Kairo's roleNoneKairo doesn't see keys, relay transactions or custody funds.

Adding Elysium to a wallet#

Fastest route: the button on the bridge page, which asks your wallet to add Elysium and switch to it. If the wallet already has chain 99901 saved, it keeps whatever RPC it had; edit the network in the wallet's settings to change it. Manual values:

Wallet network form
FieldEnter
Network nameElysium
RPC URLhttps://rpc.elysium.kinetiq.xyz
Chain ID99901
Currency symbolHYPE (18 decimals)
From a web page (EIP-3085)
await window.ethereum.request({
  method: "wallet_addEthereumChain",
  params: [{
    chainId: "0x1863d",            // 99901
    chainName: "Elysium",
    nativeCurrency: { name: "HYPE", symbol: "HYPE", decimals: 18 },
    rpcUrls: ["https://rpc.elysium.kinetiq.xyz"],
  }],
});

Scripts and bots#

To a script, Elysium is just another EVM chain. Declare it once, batch your reads, and sign with whichever key or wallet the script holds.

viem
import { createPublicClient, createWalletClient, custom, defineChain, http } from "viem";

export const elysium = defineChain({
  id: 99901,
  name: "Elysium",
  nativeCurrency: { name: "HYPE", symbol: "HYPE", decimals: 18 },
  rpcUrls: { default: { http: ["https://rpc.elysium.kinetiq.xyz"] } },
});

// Reads: batch them, one HTTP request for many calls.
export const pub = createPublicClient({ chain: elysium, transport: http(undefined, { batch: true }) });

// Sends: sign in the user's wallet; viem switches or adds the chain when asked.
export const wallet = createWalletClient({ chain: elysium, transport: custom(window.ethereum) });
await wallet.switchChain({ id: elysium.id }).catch(() => wallet.addChain({ chain: elysium }));
Foundry
cast chain-id --rpc-url https://rpc.elysium.kinetiq.xyz                       # 99901
cast balance <address> --ether --rpc-url https://rpc.elysium.kinetiq.xyz
cast send <to> --value 0.02ether --rpc-url https://rpc.elysium.kinetiq.xyz --account mywallet

Set the max fee to roughly 2× the base fee for headroom; you're billed the base fee only.

Transactions the site sends#

Every write the Kairo site makes is one of the calls below, signed in your wallet and sent to Elysium's RPC:

Site writes
ActionCall
LaunchKairoV4Factory.launch, first buy included in the same transaction
TradeKairoV4Router.buy / sell, or swapExactInRoute across several pools (any Uniswap v4 router also works). Sales and ERC-20-paid buys need an approve to the router first.
ClaimCreator: hook.claim. Split slot: splitter.collect. Holder: claimRewards. Airdrop: claim.
Creator settingshook.lowerTotalFee, hook.lockFee, hook.updateRecipient (hand on, or switch to holders or a split), factory.deploySplitter, splitter.rotate, hook.setClaimOperator

Reads go to the same endpoint, to Kairo's API (built from on-chain events), or to both.

From signature to block#

  1. Sign. Your wallet signs for chain 99901 like it would for any EVM chain. Kairo launches and trades need nothing unusual here.
  2. Submit. eth_sendRawTransaction delivers it to Elysium. How the public endpoint passes it to the sequencer (the service that orders transactions) is up to the chain's operators.
  3. Execute. The transaction runs from your address with your nonce, and you pay Elysium gas in HYPE. The site waits for the receipt and shows the result.

There's also a back door no endpoint can block: Elysium's inbox on HyperEVM. Post a signed Elysium transaction there and Elysium executes it from your address when it next reads the inbox. It's slower and costs HyperEVM gas, but needs no one's cooperation. See Bridging in code.

  • Protect yourself with the minimum. Whoever relays or orders a transaction can see it before it runs. The minimum output you sign (minTokensOut, minOut) is your protection; keep slippage tight.
  • One at a time. Wait for each receipt before sending the next. With a single sequencer, don't count on replacing or cancelling a pending transaction.
  • Your address, always. Whether sent via the RPC or the inbox, the transaction executes as you, so holder rewards, points and builder credit go to your wallet, not to a relayer.
  • Key-signed wallets only. Elysium only executes transactions signed by a key. Smart wallets and multisigs can hold Kairo tokens, but reward pushes skip them, so they have to claim themselves.

Rate limits and good habits#

Elysium sets the public endpoint's rate limits and can change them at any time. Kairo doesn't control them, so we don't publish numbers. Here is how our own code stays within them, and what we recommend:

Recommended practice
AreaRecommendation
ReadsBatch (viem's http batching or multicall). Cache anything fixed: a pool's key, fee row and lines never change after launch; its fee can only go down.
LogsQuery in block ranges. Kairo's indexer asks for 2,000 blocks at a time, halves the range when the node pushes back, and widens it again up to 10,000.
SubscriptionsFilters and websockets aren't guaranteed. Poll eth_getLogs, or consume the API's SSE trade stream.
SendsSimulate first (eth_call, or viem's simulateContract). Finding the revert before you send is free.
Bulk historyUse Kairo's API for lists and history; it serves from its own database under its own limits (see HTTP API).

Errors and reverts#

A transaction can fail in two places. The node rejects it before execution if it can't possibly run. Or it runs, hits a contract rule, and reverts.

Frequent errors
MessageCause and fix
nonce too low / too highThe nonce is already used, or an earlier transaction is still pending. Fetch the pending nonce and resend.
max fee per gas less than block base feeFee cap too low. Raise it; viem's estimate normally suffices.
insufficient funds for gas * price + valueNot enough HYPE on Elysium. Bridge some in: see Bridging in and out.
execution reverted: TooLittleReceivedPrice moved beyond your minimum. Re-quote.
execution reverted: ExpiredYour signed deadline passed before execution.
execution reverted: PartialFillRejectedThe swap would have stopped part-way (price limit hit or seed exhausted). Nothing was filled.
execution reverted: <another custom error>One of Kairo's rules. The Function reference lists every error with its arguments.

Kairo uses custom Solidity errors. Decode them with the ABIs; viem does this automatically when you pass the ABI. Full list in the Function reference.

Bridging in code#

Deposit: HyperEVM → Elysium

Calling depositEth() on the inbox from a key-signed wallet on HyperEVM credits the same address on Elysium, typically within seconds. It's the single transaction the bridge page asks you to sign.

Foundry
# credits the same address on Elysium
cast send $INBOX "depositEth()" --value 0.25ether --rpc-url https://rpc.hyperliquid.xyz/evm --account mywallet

Sending an Elysium transaction via the inbox

Sign the Elysium transaction offline with every field filled in, so no node is involved. Post the signed bytes to the inbox's sendL2Message(bytes) on HyperEVM, prefixed with 0x04. You pay HyperEVM gas; Elysium executes it when it reads the inbox. Confirm by looking for its receipt on Elysium: a transaction that couldn't execute leaves no record at all.

Foundry
# Elysium's inbox on HyperEVM: copy it from Elysium's published deployment
INBOX=<inbox address>
# sign offline: every field filled in, so no node is queried
RAW=$(cast mktx <to> --value 0.02ether --account mywallet --chain 99901 --nonce <nonce> \
  --gas-limit 300000 --gas-price 2gwei --priority-gas-price 0)
# 0x04 marks the payload as a signed transaction
PAYLOAD="0x04${RAW#0x}"
cast send --rpc-url https://rpc.hyperliquid.xyz/evm --account mywallet $INBOX "sendL2Message(bytes)" $PAYLOAD
cast keccak $RAW                                  # hash to look up on Elysium afterwards

Withdraw: Elysium → HyperEVM

  1. Initiate on Elysium. Call withdrawEth(destination) on the ArbSys precompile (0x…64) with the HYPE to withdraw as value. Takes under a minute.
  2. Wait out the challenge period. Elysium posts state assertions to HyperEVM, and each one can be disputed for a fixed window of about a day. Once an assertion covering your withdrawal is confirmed, it can be claimed. No one, Kairo included, can shorten this.
  3. Finalize on HyperEVM. Submit executeTransaction to the outbox with a proof from any Elysium node (NodeInterface.constructOutboxProof at 0x…c8). Any account can submit it; the funds only ever go to the destination. Keep a little HYPE on HyperEVM for gas.
Foundry, outline
# step 1 (Elysium): burn the HYPE you attach and queue it for HyperEVM
cast send 0x0000000000000000000000000000000000000064 "withdrawEth(address)" <your HyperEVM address> \
  --value 0.3ether --rpc-url https://rpc.elysium.kinetiq.xyz --account mywallet

# step 2 (Elysium, ~1 day later, after the assertion is confirmed): fetch the proof
cast call 0x00000000000000000000000000000000000000C8 "constructOutboxProof(uint64,uint64)" <size> <leaf> --rpc-url https://rpc.elysium.kinetiq.xyz

# step 3 (HyperEVM): finalize via the outbox; any account can submit it, funds go to the destination
cast send $OUTBOX "executeTransaction(bytes32[],uint256,address,address,uint256,uint256,uint256,uint256,bytes)" ... \
  --rpc-url https://rpc.hyperliquid.xyz/evm --account mywallet

In a hurry? Relay can move HYPE out in minutes, for a fee. The no-code walkthrough is in Bridging in and out.