@t2000/sdk 0.11.2 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -121,6 +121,16 @@ const agent = T2000.fromPrivateKey('suiprivkey1q...');
121
121
  | `agent.deposit()` | Wallet address + funding instructions | `DepositInfo` |
122
122
  | `agent.history({ limit? })` | Transaction history (default: all) | `TransactionRecord[]` |
123
123
 
124
+ ### Contacts Methods
125
+
126
+ | Method | Description | Returns |
127
+ |--------|-------------|---------|
128
+ | `agent.contacts.add(name, address)` | Save a named contact | `void` |
129
+ | `agent.contacts.remove(name)` | Remove a contact | `void` |
130
+ | `agent.contacts.list()` | List all saved contacts | `Contact[]` |
131
+ | `agent.contacts.get(name)` | Get a contact by name | `Contact` |
132
+ | `agent.contacts.resolve(nameOrAddress)` | Resolve name to address (passthrough if already an address) | `string` |
133
+
124
134
  ### Sentinel Methods
125
135
 
126
136
  | Method | Description | Returns |
@@ -337,7 +347,7 @@ Fees are collected by the t2000 protocol treasury on-chain.
337
347
 
338
348
  ## MCP Server
339
349
 
340
- The SDK powers the [`@t2000/mcp`](https://www.npmjs.com/package/@t2000/mcp) server — 16 tools and 3 prompts for Claude Desktop, Cursor, and any MCP-compatible AI platform. Run `t2000 mcp` to start.
350
+ The SDK powers the [`@t2000/mcp`](https://www.npmjs.com/package/@t2000/mcp) server — 17 tools and 5 prompts for Claude Desktop, Cursor, and any MCP-compatible AI platform. Run `t2000 mcp` to start.
341
351
 
342
352
  ## License
343
353