2.0.2 • Published 5 months ago

@substrate/smoldot-discovery v2.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

A TypeScript package extended from the @substrate/discovery NPM package, which enables the discovery and filtering of Smoldot extension providers from a list of providers.

To be utilized by dApps, extensions should implement the SmoldotExtensionProviderDetail interface. This can be achieved by following the extension side of the discovery protocol as detailed here, and then returning the implemented interface.

Installation

You can install the package using npm or yarn:

corepack pnpm i @substrate/smoldot-discovery

Usage

Here's an example of how to use the package:

import { getSmoldotExtensionProviders } from "@substrate/smoldot-discovery"

const smoldotProviders = getSmoldotExtensionProviders()

console.log(smoldotProviders)
2.0.2

5 months ago

2.0.1

8 months ago

2.0.0

9 months ago

1.2.0

9 months ago

1.1.0

11 months ago

1.0.1

12 months ago

1.0.0

12 months ago

0.0.9

12 months ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago