Skip to content

Share a single warm connection to common chains (individuality, bulletin, assethub) for all Applications to use #65

Description

@charlesHetterich

In reference to Reusable Components

Products should not have to worry about fetching chain types/descriptors or opening fresh connections to chains (which makes app startup slower)

All apps will be interacting with the same 3 chains (asset hub, bulletin, individuality). The Product SDK should expose some unified typed interface to these chains, which is routed through a warm connection the Host owns making apps more snappy on startup. The Host would own which environment this points to (Paseo vs Polkadot vs Preview Net)

Something like:

import { chains } from "@novasamatech/product-sdk"

chains.assetHub.<regular papi TypedAPI>
chains.bulletin.<regular papi TypedAPI>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions