rhinogent
v0.1.0
Published
Give your AI agent a signed identity, a self-custody wallet, and verify-before-pay. The 0n1x trust-layer SDK — sign facts, not judgments.
Maintainers
Readme
rhinogent
Give your AI agent a signed identity, a self-custody wallet, and verify-before-pay — the 0n1x trust layer, in one package. Sign facts, not judgments.
npm i rhinogent
# or, mint an identity in seconds:
npx rhinogent initUse it
const rhino = require("rhinogent");
// 1. Mint an identity — a real secp256k1 keypair. You hold the key; 0n1x holds nothing.
const me = rhino.mint();
// { address, privateKey, callsign, did }
// 2. Sign as your agent (EIP-191 — the scheme the whole 0n1x fleet uses)
const sig = await rhino.sign(me.privateKey, "hello");
rhino.recover("hello", sig) === me.address; // true — anyone can verify
// 3. Verify a counterparty BEFORE you pay — reads the live, signed 0n1x registries
const v = await rhino.verify("rayban.cc");
// { target, verdict, proven, agents, recompute: "curl https://rhinogent.com/facts_registry.json ..." }
// 4. Connect to the network (fetch is the signup)
const net = await rhino.connect(); // { connected, network_size, merkle_root }Why
Every claim is recomputable from public, signed feeds:
https://rhinogent.com/facts_registry.json— verified-good (merchant truth-map, oracle-matched)https://rhinogent.com/negative_registry.json— verified-bad (signed slash-list)https://rhinogent.com/census_manifest.json— the census, Merkle-rooted, Bitcoin-anchored hourly
Run our script, get our number. Ask a merchant if they're real — get a signed fact you can check yourself.
MIT · https://rhinogent.com
