New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@ariestools/aries-dapp-serve

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ariestools/aries-dapp-serve

Aries dapp REST server: serves a dapp backend's S3 layout from one origin with /state, /data, /index subfolders

latest
npmnpm
Version
0.1.22
Version published
Maintainers
3
Created
Source

@ariestools/aries-dapp-serve

Dev only. This package is a local development fixture — it accepts any S3 credentials, carries no auth or metrics. It is not meant for production; production dapp backends publish to real object storage (S3/R2).

Serves a dapp backend's layout from a single origin using subfolders (/state, /data, /index) — the S3-compatible storage half of the aries dapp local backend. The subfolders are S3 buckets on an embedded S3-compatible server (s3rver), so any S3 client writes into them unchanged while readers (browser dapps, curl) fetch the same layout paths over plain HTTP or optional TLS.

The three buckets:

  • data — immutable, append-only facts (the source of truth).
  • state — mutable current derived view, rebuilt on an interval by the DappActor.
  • index — query-optimized derived views, rebuilt on an interval by the DappActor.

This package is the storage layer only. The DappActor that derives state and index from data, and the composed daemon that runs both the server and the actor, live in @ariestools/aries-dapp-core. aries dapp up spawns that composed daemon.

Backings

KindBehavior
memoryEphemeral temp directory, wiped on close() / process shutdown
diskCaller-owned directory (e.g. ~/.aries/dapp/data); survives restarts; cleanup() is a no-op
import {
  createDiskBacking, createMemoryBacking, startDappServer,
} from '@ariestools/aries-dapp-serve'

const server = await startDappServer({
  backing: createDiskBacking('/var/lib/aries-dapp'),
  port: 8801,
})

s3 (proxy a remote bucket without embedding s3rver) is not implemented yet.

Keywords

ariestools

FAQs

Package last updated on 13 Sep 2026

Related posts