polkadot-statement-store

Publish and subscribe ephemeral statements on the Polkadot Statement Store.

2|2|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/paritytech/polkadot-apps --skill polkadot-statement-store
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: polkadot-statement-store
Source: https://github.com/paritytech/polkadot-apps/tree/main/skills/polkadot-statement-store
Command: npx skills add https://github.com/paritytech/polkadot-apps --skill polkadot-statement-store

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Publish and subscribe ephemeral statements on the Polkadot Statement Store to enable lightweight signaling without bulk data transfer.

Core Features & Use Cases

  • Lifecycle-managed StatementStoreClient with host and local modes, topic/channel creation, and BYOD transport.
  • ChannelStore provides last-write-wins semantics for per-channel state and presence-like patterns.
  • Includes data size limits (512 bytes per statement), TTL, and polling fallback; provides encoding utilities and topic/hash helpers.

Quick Start

Instantiate a StatementStoreClient, connect, then publish and subscribe statements using host or local mode.

Frequently Asked Questions about polkadot-statement-store

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I publish and subscribe to ephemeral statements on Polkadot for lightweight messaging?

Use a StatementStoreClient to publish and subscribe to ephemeral statements on Polkadot, enabling lightweight, near-real-time messaging without bulk data transfer. The client manages lifecycle, topic creation, and distribution.

What is a ChannelStore and how does it manage per-channel state for Polkadot statements?

A ChannelStore is an abstraction that manages per-channel state for Polkadot statements using last-write-wins semantics. It enables presence-like patterns by tracking the latest valid statement within a specific topic.

Can I run the Polkadot statement store in both host (container) and local (standalone) modes?

Yes, the Polkadot statement store supports both host (container) and local (standalone) operation modes. This allows you to deploy the statement store in scalable environments or run it locally for development.

Does the Polkadot statement store support custom transports and TypeScript pubsub patterns?

Yes, the Polkadot statement store supports a pluggable transport architecture and TypeScript pubsub patterns. You can bring your own transport (BYOD) to connect the StatementStoreClient to your specific network backend.

What are the data size limits and TTL constraints for publishing Polkadot statements?

Polkadot statements have a strict data size limit of 512 bytes per statement and include a Time-To-Live (TTL) constraint. The system also provides a polling fallback to handle these ephemeral limits gracefully.