Sign inSign up

decdn/sponsord

By decdn

•Updated 1 day ago

deCDN sponsorship daemon: signs capped download capabilities against a USDC PaymentPool.

Image
0

930

decdn/sponsord repository overview

⁠sponsord

The deCDN⁠ sponsorship daemon. A publisher runs it to pay for their users' downloads: it signs capped, expiring capabilities against the publisher's PaymentPool and keeps the pool topped up from a treasury wallet. Users then download through the onramp⁠ without a wallet of their own.

The network is a public testnet on Arbitrum Sepolia. Wire, config and storage formats change without compatibility shims until the mainnet deployment.

⁠Quick start

The daemon is stateless and configured by SPONSORD_* environment variables, with its secrets in mounted files. The operator guide⁠ walks through them, and deploy/sponsord/compose.yaml⁠ runs the daemon and the onramp together:

docker pull decdn/sponsord
docker run --rm decdn/sponsord --help

The image listens on 8090 (/v1/capabilities, /v1/info, /healthz, /metrics) and runs as uid 1000. Keep it inside your network: only the onramp is public.

⁠Tags

TagPoints at
latestthe newest stable release
<version>, e.g. 0.2.1that release
<major>.<minor>, e.g. 0.2the newest stable release in that minor line

A prerelease (for example 0.3.0-rc1) gets only its exact version tag. The version is the deCDN release the daemon shipped with.

This image is built for linux/amd64 and linux/arm64. It is also on GitHub Container Registry as ghcr.io/decdn/sponsord⁠, with the same digest.

⁠Verify the image

A maintainer signs each release's image digest with GPG, and every tag is created only after that signature. To pin the exact bytes, import the maintainer keys from KEYS⁠ (gpg --import KEYS). Download sponsord-image-digest.txt and its .asc from the release⁠, then run:

gpg --verify sponsord-image-digest.txt.asc sponsord-image-digest.txt
docker pull "decdn/sponsord@$(cut -d@ -f2 sponsord-image-digest.txt)"

SECURITY.md⁠ has the key fingerprints to check against and the full steps.

Tag summary

Content type

Image

Digest

sha256:56f5d0cbe…

Size

33.8 MB

Last updated

1 day ago

docker pull decdn/sponsord