@holoscript/marketplace-api
v1.2.6
Published
HoloScript Trait Marketplace API - publishing, discovery, and dependency resolution
Maintainers
Readme
@holoscript/marketplace-api
Public library and service entrypoints for HoloScript trait, plugin, and skill marketplaces. External founders, agents, and service operators can use the in-memory adapters directly or provide their own database, cache, payment, and deployment integrations.
Install
npm install @holoscript/marketplace-apiLibrary
import { InMemoryTraitDatabase, TraitRegistry } from '@holoscript/marketplace-api';
const registry = new TraitRegistry(new InMemoryTraitDatabase());Importing the package does not start a listener, connect to PostgreSQL, or load credentials. Callers own all storage, cache, payment, HoloKey, and receipt verification policy.
Service
PORT=3000 node node_modules/@holoscript/marketplace-api/dist/server.jsThe service uses in-memory adapters unless the caller supplies supported
environment variables such as DATABASE_URL. Validate a running instance with
GET /api/v1/health; deployment receipts remain operator-owned.
Validation
Package maintainers run pnpm run build, pnpm run test, the public tarball
gate, and an isolated registry install before release. The npm package does not
ship founder-local paths, private credentials, or deployment defaults.
Release Boundary
This is a v0-preview contract. Library exports and explicit service startup
are supported. Production durability, payment settlement, rollback, abuse
operations, and data recovery depend on caller-provided adapters and are not
certified by an npm import.
License
MIT
