typescript · robinhood chain · x402
SDK
The Noren SDK is the TypeScript SDK for Noren's Robinhood Chain-native protocol surface. It prepares the contract calls (EVM, viem), exposes them as agent tools, and settles over x402, so you build on the protocol without wiring the low-level calls by hand.
Install
# not published yet; build from the source tree # then: npm i viemA sketch of the intended shape. The SDK is a work in progress and the contract addresses are placeholders until launch on Robinhood Chain (chain id 4663).
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.AGENT_KEY as `0x${string}`);
const wallet = createWalletClient({ account, transport: http(RPC_URL) });
// EIP-3009: sign a USDG transferWithAuthorization for one x402 call.
// The facilitator submits it; your key never leaves the process.
const signature = await wallet.signTypedData({
domain: { name: "USDG", version: "1", chainId: 4663, verifyingContract: USDG },
types: { TransferWithAuthorization: [/* from, to, value, validAfter, validBefore, nonce */] },
primaryType: "TransferWithAuthorization",
message,
});Prepare instructions
Build viem-ready contract calls for the Robinhood Chain protocol surface (reputation, bonded receipts, bounded-spend escrow, trade guard). You sign and send with your own wallet; the SDK never holds a key. Addresses will be published when the contracts are live.
Expose tools over MCP
Turn those prepared calls into MCP tools any agent client can reach, so a Claude or Codex agent can transact on the protocol without bespoke glue.
Settle over x402
Make and take capability-scoped, pay-per-call requests over x402, settled in USDG with an EIP-3009 transferWithAuthorization signed by your wallet.
Source and reference
The SDK lives in the monorepo under packages/sdk. Source repository: coming soon. The wire format it speaks is documented in the HTTP API reference, with the full docs at docs.usenoren.xyz.