video licensing

PeerTube downloads can pay creators per unlock.

Videoplugin package0.1.0PeerTube >=6.0.0

integration 03 / PeerTube

Gate a download, route USDC, write a receipt.

Pay the creator in USDC on Arc when their video is downloaded. A permissionless PeerTube payments plugin. Tollgate does not host a public PeerTube instance today; this page mirrors the local Docker validation and the shared Arc FeeRouter rail an operator can attach to their own PeerTube server.

packagepeertube-plugin-tollgate
version0.1.0
PeerTube>=6.0.0
Node>=20
public instancenot hosted
operator setup/video/register
FeeRouter tx statussuccess
plugin validationDownload gating, config, and /router/proof are validated against a running local PeerTube demo instance (demo/VALIDATION.md). That validation ran with payouts disabled and produced zero plugin receipts. The tx above proves the shared FeeRouter rail through plugin settlement code, not a public PeerTube-instance receipt.

how it attaches

PeerTube emits the paid event; Tollgate records the receipt.

Configure wallets

The plugin maps video ids to creator wallets, with a default wallet for videos without an explicit mapping.

Gate downloads

Downloads can require the configured atomic-USDC price before the viewer receives the media file.

Verify receipts

A live operator instance exposes hash-chained plugin receipts, with Arcscan links once its own operator key and creator wallet mapping are configured.