@bizinikiwi/smoldot-discovery

npm GPL-3.0-or-later



A TypeScript package extended from the [`@bizinikiwi/discovery`](../discovery/README.md) 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](../discovery/README.md), and then returning the implemented interface. ## Installation You can install the package using npm or yarn: ```sh corepack pnpm i @bizinikiwi/smoldot-discovery ``` ## Usage Here's an example of how to use the package: ```ts import { getSmoldotExtensionProviders } from "@bizinikiwi/smoldot-discovery" const smoldotProviders = getSmoldotExtensionProviders() console.log(smoldotProviders) ```