Skip to content

toon-protocol/store

Repository files navigation

store

TOON Protocol store — NIP-90 kind:5094 Arweave blob storage. It uploads the blob to Arweave via Turbo and returns the tx id. Built from Dockerfile.store over src/entrypoint-store.ts, which wraps @toon-protocol/sdk's createArweaveDvmHandler. It runs as a payment-oblivious POST /store backend (RouteTermination) behind the connector, which is the front-of-app payment proxy — see deploy/.

Status / follow-ups

  • Trimmed to store-only: the repo is now Dockerfile.store + src/entrypoint-store.ts + src/store-backend.ts. The other images' carried-over build contexts (Dockerfile.{town,mill,townhouse-api,akash-*,oyster,nix,sdk-e2e,toon-client,…}, their src/entrypoint-* files, and the configs/, dev-fixtures/, akash-ator-probe/, townhouse-ator-sidecar/ dirs) have been removed.
  • Image-publish workflows: publish-store-image.yml (the store app → ghcr.io/toon-protocol/store) and publish-store-connector-image.yml (the connector-with-config payment proxy → ghcr.io/toon-protocol/store-connector). Consumers pinning the old …/dvm image must move to …/store.
  • Publishes no npm package (it's a container); kept private.

Extracted from the TOON monorepo with full git history preserved.

Getting started with Devbox

Devbox pins the local toolchain to the exact versions CI uses — Node 22 and pnpm 8.15.x — so pnpm build, pnpm test, and pnpm typecheck run in a reproducible shell without touching your system packages.

Prerequisites: Install devbox (one-liner).

# Enter the pinned shell (downloads packages on first run via Nix)
devbox shell

# Inside the devbox shell, all tools are on PATH:
node --version    # v22.x
pnpm --version    # 8.15.x

# Run the standard targets (defined as devbox scripts)
devbox run build     # pnpm install --frozen-lockfile && pnpm build
devbox run typecheck # pnpm typecheck
devbox run test      # pnpm test

.devbox/ (the Nix symlink/cache dir) is gitignored; devbox.json and devbox.lock are committed.

About

TOON Protocol Arweave DVM node (NIP-90 kind:5094 blob storage)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors