• Make a registry for use by the wallet instances.

    This doesn't need to persist durably because the assetPublisher has a "pinned" topic and call to getAssetSubscription gets a fresh stream of all the assets that it knows of.

    Parameters

    Returns {
        get: ((brand) => BrandDescriptor);
        has: ((brand) => boolean);
        values: (() => Iterable<BrandDescriptor>);
    }

    • get: ((brand) => BrandDescriptor)
        • (brand): BrandDescriptor
        • Parameters

          • brand: Brand<AssetKind>

          Returns BrandDescriptor

    • has: ((brand) => boolean)
        • (brand): boolean
        • Parameters

          • brand: Brand<AssetKind>

          Returns boolean

    • values: (() => Iterable<BrandDescriptor>)
        • (): Iterable<BrandDescriptor>
        • Returns Iterable<BrandDescriptor>

Generated using TypeDoc