Skip to content

App Development Reference

Introduction

This is the technical-depth companion to the App Development how-to guides. Where the guides walk you through tasks step by step, this section explains what each component is, how it works, and where its limits are: the level of detail you need when integrating against the surface, or when implementing a Host.

A Polkadot Product is a sandboxed application that runs inside a Host. The Product reaches everything sensitive, including signing, chain access, storage, and outbound requests, through one protocol, TrUAPI. This reference covers the software on each side of that boundary: the protocol itself, the Product SDK that wraps it, and the on-chain infrastructure components Products consume.

Depth target

Each page in this section follows the same shape: a short conceptual frame up top, then the developer-facing surface (method groups and Host requirements for the protocol, pallet surface tables for infrastructure) below. The TrUAPI subsection, with one page per method group, is the depth model for protocol reference pages.

Architecture

Your Product sits at the top of a layered stack:

flowchart TD
    P[Your Product] -->|typed calls| S[Product SDK]
    S -->|TrUAPI| H[Host]
    H --> I[On-chain infrastructure: Bulletin Chain, Statement Store, dotNS, Individuality pallets]
  • Product: The application you write. It never holds the user's keys, and it reaches chains and storage only through the Host.
  • Product SDK: The @parity/product-sdk family of TypeScript packages. Each package wraps one or more TrUAPI method groups in typed methods that return a Result.
  • TrUAPI: The protocol between a Product and its Host. It defines the method groups, the permission model, and what a Host must guarantee for each call.
  • Host: Any application that loads Products, enforces the sandbox, and implements TrUAPI. The Host holds or reaches the user's keys, prompts the user for anything sensitive, and routes calls to the chains and services below. Any Host, whoever builds it, implements the same protocol.
  • Infrastructure: The on-chain components Products read from and write to through the Host.

Protocol

The TrUAPI reference documents the contract between Hosts and Products: the sandbox and sub-account model, the 11 method groups (TrUAPI Calls, Permissions, Local Storage, Account Management, Signing, Chat, Statement Store, Preimage, Chain Interaction, Payment, Entropy), the versioning model, and the package map.

Each method-group page serves two readers. Product developers learn what a call does and which SDK package wraps it. Host implementers find a Host Requirements section stating what their Host must enforce, and the TrUAPI overview collects the Host Implementation Notes that cut across groups.

Product SDK

The Product SDK pages document each package: Signer, Chain Client, Transactions, Local Storage, Cloud Storage, Statement Store, Contracts, Individuality, and the lower-level Host package. The Packages page maps each package to the TrUAPI method group it wraps.

Infrastructure

Per-component reference for the on-chain infrastructure Products consume:

  • Bulletin Chain: Content-addressed storage with explicit authorization, chunked uploads, time-bound retention, and renewal.
  • Statement Store: Gossip-distributed, signed statements for real-time signaling between users.
  • dotNS: The .dot name system, including PopRules pricing, the contract architecture, and the registration flow.
  • Proof of Personhood: The Ring-VRF mechanism and the Individuality pallets (people, game, score, identity, universal basic capacity, coinage).
  • HOP: The Hand-Off Protocol for delivering ephemeral, addressed data between users.

Where to Go Next

  • Learn TrUAPI


    Start with the protocol every Product and Host speaks: the sandbox model, the method groups, and the Host requirements.

    Reference

  • Learn playground CLI


    Look up every pg command and flag for building, deploying, and managing Products from the terminal.

    Reference

  • Guide App Development How-To


    If you are new here, start with the how-to guides: set up a Host, then build your first Product against the SDK surface this reference documents.

    Get Started

Last update: November 17, 2026
| Created: November 17, 2026