Sign In

@t2000/id

Package Overview
Dependencies
Maintainers
1
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@t2000/id

Agent ID — on-chain agent identity registry client for the t2000 stack (Sui). Build register/update/ownership/active transactions against the agent_id::registry Move package.

Source
npmnpm
Version
10.35.0
Version published
Weekly downloads
2.9K
-28.9%
Maintainers
1
Weekly downloads
 
Created
Source

@t2000/id

Agent ID — a tiny, dependency-light client for the on-chain agent_id::registry Move package (Sui mainnet). Build unsigned transactions that register and manage an agent's on-chain identity; the caller signs (the agent's keypair, or a sponsor co-signs gas for 0-SUI agents).

Part of the t2000 agent stack. See the developer docs at docs.t2000.ai.

Install

npm install @t2000/id @mysten/sui

Usage

import { buildRegisterTx, AGENT_ID_REGISTRY_ID } from "@t2000/id";

// Register the SIGNER as an agent (self-sovereign: sender == agent).
const tx = buildRegisterTx({
  mcpEndpoint: "https://my-agent.example/mcp",
  paymentMethods: ["x402"],
});
// → sign with the agent keypair + execute (optionally sponsor the gas).

Builders

FunctionMove callSigner
buildRegisterTx(reg?)registerthe agent
buildUpdateTx(reg?)update (full-replace)the agent
buildSetActiveTx(agent, active)set_activethe agent

Two tiers of ids (S.1049):

  • MAINNET_AGENT_ID_PACKAGE_ID / MAINNET_AGENT_ID_REGISTRY_ID — literal mainnet trust anchors, never influenced by the environment. Anything that verifies a transaction before signing (allowlists, intent guards) must use these.
  • AGENT_ID_PACKAGE_ID / AGENT_ID_REGISTRY_ID — builder ids, overridable via the same-named env vars for testnet/dev. These are conveniences for constructing transactions, not a security boundary: a guard that read them would let whoever controls the environment supply both the transaction and the yardstick it is checked against.

License

MIT

Keywords

sui

FAQs

Package last updated on 15 Aug 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts