Relayers and $ASYNC

Run a relayer

What a relayer does

It watches IntentRequested events assigned to it, places each order on HyperCore through the agent the account approved, with the intent's cloid, reads the outcome from the info API (orderStatus by cloid, userFills by oid), and posts fulfil(). Resting GTC orders get an ack, then a final receipt when they fill or when the relayer cancels them at the deadline.

Running the service

cp services/relayer/relayer.env.example services/relayer/relayer.env
# ASYNCIUM_RELAYER_PRIVATE_KEY  Elysium gas key (your seat)
# ASYNCIUM_AGENT_PRIVATE_KEY    the agent key accounts approve
# ROUTER, ELYSIUM_RPC, HL_NETWORK=mainnet, CORE=http
cp services/relayer/asyncium-relayer.service ~/.config/systemd/user/
systemctl --user enable --now asyncium-relayer

Opening a seat

Bond $ASYNC in BondRegistry.bond(amount). The bond sets your capacity: the open order value you may carry at once. Intents above it revert at request time. requestUnbond() stops new intents; withdraw() works three days later once nothing is open. Exact numbers are on Token.

Gas

Receipts and acks cost about 80,000 to 160,000 gas each on Elysium. Callback gas is refunded from the builder's subscription into relayerGas; claim it with claimGas(to).