Why it matters
Flow
Click any step to see how it works. The creator flow tokenizes and seals state. The consumer flow redeems and reconstructs it.
PUBLISHER
CONSUMER
Build on seal.
The TypeScript SDK handles the full protocol loop. Seal capsules off-chain, publish to the registry, or tokenize with SPL-SEAL.
import {
createCapsule, seal, sealAndUpload,
wrapKeyForRecipient,
generateEncryptionKeyPair, ArweaveStorage,
} from '@sealstate/sdk';
// Create a capsule — put anything inside
const capsule = createCapsule(
{ model: 'gpt-4o', memory: ['...'] },
{ schema: 'agent-config/v1' },
);
// Seal: serialize → commit → encrypt (no chain)
const sealed = seal(capsule);
// Upload ciphertext to Arweave
const storage = new ArweaveStorage({ gateway: 'https://arweave.net' });
const { uri, receipt } = await sealAndUpload(capsule, storage);
// Wrap key for a specific recipient
const envelope = wrapKeyForRecipient(
sealed.encryptionKey,
recipient.publicKey,
sender.secretKey,
);Learn
SEALSTATE is schema-agnostic. The protocol defines the envelope — serialization, encryption, commitment, continuity — but does not dictate what goes inside.
Prompt Systems
Tokenize access to a living prompt package — system prompt, tool policy, routing logic, eval cases. Holders decrypt the latest version; the author ships updates as new checkpoints.
Agent Identity
An agent exports its full cognitive state as a sealed capsule — identity kernel, execution manifest, memory index. It can be resumed by anyone with the right keys on any compatible runtime.
Model Configurations
Publish encrypted fine-tuning configs, LoRA weights, or inference parameters as a paid stream. Each checkpoint is a new version.
Training Data
Gate access to curated datasets with verifiable provenance and append-only history. Consumers verify data integrity against on-chain commitments.
Research Artifacts
Anchor experiment states on-chain with timestamps, prove priority, and monetize access. Commit sealed results immediately, disclose later.
Custom Schemas
The capsule format is schema-agnostic. If it serializes to JSON, SEALSTATE can encrypt it, commit it, and build a market around it.

