@antseed/node 0.2.172 → 0.2.173

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
@@ -4,9 +4,9 @@
4
4
  [![Node.js](https://img.shields.io/badge/node-%3E%3D20.0.0-brightgreen.svg)](https://nodejs.org/)
5
5
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.3+-blue.svg)](https://www.typescriptlang.org/)
6
6
 
7
- Core protocol SDK for AntSeed — a peer-to-peer AI services network. Providers offer AI services, buyers discover providers via DHT and send requests over encrypted P2P connections.
7
+ Core protocol SDK for Antseed — a peer-to-peer AI services network. Providers offer AI services, buyers discover providers via DHT and send requests over encrypted P2P connections.
8
8
 
9
- > **Important:** AntSeed is designed for providers who build differentiated services on top of AI APIs — such as TEE-secured inference, domain-specific skills and agents, fine-tuned models, or managed product experiences. Simply reselling raw API access or subscription credentials is not the intended use and may violate your upstream provider's terms of service.
9
+ > **Important:** Antseed is designed for providers who build differentiated services on top of AI APIs — such as TEE-secured inference, domain-specific skills and agents, fine-tuned models, or managed product experiences. Simply reselling raw API access or subscription credentials is not the intended use and may violate your upstream provider's terms of service.
10
10
 
11
11
  ## Installation
12
12
 
@@ -153,7 +153,7 @@ interface NodeConfig {
153
153
  | `dhtPort` | `6881` / `0` | UDP port for DHT. Seller defaults to 6881, buyer uses OS-assigned |
154
154
  | `signalingPort` | `6882` | TCP port for P2P signaling and incoming connections (seller only) |
155
155
  | `maxUploadBodyBytes` | `64 MiB` | Maximum request body a seller accepts per proxied upload. Raise this for large Codex-style `/v1/responses` payloads while keeping the aggregate pending-upload budget bounded. |
156
- | `bootstrapNodes` | AntSeed nodes | Additional DHT bootstrap nodes merged with the official AntSeed infrastructure |
156
+ | `bootstrapNodes` | Antseed nodes | Additional DHT bootstrap nodes merged with the official Antseed infrastructure |
157
157
  | `payments` | disabled | Optional seller-side payment channel + settlement lifecycle wiring |
158
158
 
159
159
  Use `publicAddress` when the DHT announce source IP is not the address buyers should dial, such as Kubernetes or other load-balanced deployments:
@@ -179,7 +179,7 @@ Every node has a secp256k1 identity keypair. The private key (32 bytes, stored a
179
179
  Identity loading follows this priority:
180
180
 
181
181
  1. **Environment variable (recommended for CLI/server)** — if `ANTSEED_IDENTITY_HEX` is set (64 hex chars, optional `0x` prefix), it is used directly and cleared from the environment immediately after read. Use this with secrets managers for production deployments.
182
- 2. **Desktop keychain (recommended for Desktop)** — AntSeed Desktop encrypts the key at rest via Electron `safeStorage` and the OS keychain (macOS Keychain / Windows DPAPI / Linux libsecret).
182
+ 2. **Desktop keychain (recommended for Desktop)** — Antseed Desktop encrypts the key at rest via Electron `safeStorage` and the OS keychain (macOS Keychain / Windows DPAPI / Linux libsecret).
183
183
  3. **Custom IdentityStore** — if `identityStore` is passed in `NodeConfig`, it is used to load/save the key (e.g., KMS, HSM).
184
184
  4. **Plaintext file (not recommended)** — reads/writes `identity.key` in `dataDir` (`~/.antseed/` by default) with `0600` permissions. Since this key is also your on-chain wallet, avoid storing it unencrypted on disk in production.
185
185
 
@@ -235,7 +235,7 @@ const node = new AntseedNode({
235
235
 
236
236
  ### Desktop App
237
237
 
238
- The AntSeed Desktop app encrypts the identity at rest using Electron's `safeStorage` API. The encryption key is stored in the OS keychain (macOS Keychain / Windows DPAPI / Linux libsecret) and the encrypted blob is stored at `~/.antseed/identity.enc`. On first launch, any existing plaintext `identity.key` is migrated to the encrypted store and deleted.
238
+ The Antseed Desktop app encrypts the identity at rest using Electron's `safeStorage` API. The encryption key is stored in the OS keychain (macOS Keychain / Windows DPAPI / Linux libsecret) and the encrypted blob is stored at `~/.antseed/identity.enc`. On first launch, any existing plaintext `identity.key` is migrated to the encrypted store and deleted.
239
239
 
240
240
  ## On-Chain Settlement Flow
241
241
 
@@ -558,4 +558,4 @@ The CLI reads these keys from environment variables and passes them as a `Record
558
558
  ## Links
559
559
 
560
560
  - [npm](https://www.npmjs.com/package/@antseed/node)
561
- - [GitHub](https://github.com/AntSeed/node)
561
+ - [GitHub](https://github.com/Antseed/node)
@@ -51,7 +51,7 @@ export declare class PeerLookup {
51
51
  *
52
52
  * 1. Wildcard topic, alone. Its broad reach pulls many peers and warms
53
53
  * the local DHT routing table with nodes that already know about
54
- * AntSeed traffic.
54
+ * Antseed traffic.
55
55
  * 2. Each subnet topic, one at a time, against that hot routing table.
56
56
  * Each subnet only holds ~total/SUBNET_COUNT announcers, which keeps
57
57
  * us well under the K-closest saturation limit that made the single
@@ -56,7 +56,7 @@ export class PeerLookup {
56
56
  *
57
57
  * 1. Wildcard topic, alone. Its broad reach pulls many peers and warms
58
58
  * the local DHT routing table with nodes that already know about
59
- * AntSeed traffic.
59
+ * Antseed traffic.
60
60
  * 2. Each subnet topic, one at a time, against that hot routing table.
61
61
  * Each subnet only holds ~total/SUBNET_COUNT announcers, which keeps
62
62
  * us well under the K-closest saturation limit that made the single
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antseed/node",
3
- "version": "0.2.172",
3
+ "version": "0.2.173",
4
4
  "description": "Antseed Network protocol SDK — P2P inference marketplace",
5
5
  "type": "module",
6
6
  "files": [
@@ -81,9 +81,9 @@
81
81
  "ethers": "~6.16.0",
82
82
  "node-datachannel": "^0.7.0",
83
83
  "tokenx": "^1.3.0",
84
- "@antseed/api-adapter": "0.1.58",
85
- "@antseed/buyer-core": "0.1.41",
86
- "@antseed/protocol": "0.1.16"
84
+ "@antseed/api-adapter": "0.1.59",
85
+ "@antseed/buyer-core": "0.1.42",
86
+ "@antseed/protocol": "0.1.17"
87
87
  },
88
88
  "optionalDependencies": {
89
89
  "keytar": "^7.9.0"