clockd is a zero-dependency TypeScript SDK for anything that runs on Elysium: bots, apps, wallets, bridges, dashboards. It does four useful things:
- Send the fastest way and get the real time it took:
sendTimed(). - Check the chain before acting:
status()andguard(). - Know when a transaction is final on HyperEVM:
waitForFinalized()andfinalityEta(). - Follow Elysium second by second:
watchSeconds().
Install
Import it straight from the site (browsers, Deno, Bun, edge runtimes):
import { createClient } from "https://clockd.money/sdk/v1.js";Or add the package to a Node project from the repository's sdk/ folder (npm publication to follow):
npm install ./sdk
import { createClient, ELYSIUM } from "clockd";Create a client
const elysium = createClient({
rpc: "https://rpc.elysium.kinetiq.xyz", // or your provider URL
api: "https://clockd.money", // the counter
});Both options are optional. In production, pass a provider RPC (Alchemy, Conduit): the public one is shared and rate limited.
First call
const s = await elysium.status();
// { health: "normal", ok: true, blockAgeMs: 820, avgBlockMs: 164, capacity: 0.6, ... }Signing stays yours
The SDK never holds a key. You sign with viem, ethers or a wallet and pass the signed raw transaction. See Send and time.