Build On Storail

This page is for application developers using an existing Storail facility.

A facility provider should give you:

You should not need operator relayer keys or storage-provider API keys.

Configuration

Start from the SDK-local example:

packages/developer/sdk/.env.example

If you are working with the payment demo, also check:

packages/developer/payment-demo-subgraph/.env.example

Packages

Developer-facing packages live under:

packages/developer/

Current developer packages:

SDK Path

Most apps should start with the SDK:

import { createStorailMutationClient } from "@storail/sdk";

Use the SDK to write public-domain records, upload content through the provider's storage proxy, and track the lifecycle from signing to confirmed and indexed.

Continue with:

Dedicated App Path

If your app needs its own command format and derived state machine, use AuthorizedEventHub with an app hook contract and app-specific subgraph.

Continue with: