Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@substrate/smoldot-discovery

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@substrate/smoldot-discovery

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1K
increased by108.9%
Maintainers
0
Weekly downloads
 
Created
Source



@substrate/smoldot-discovery

npm GPL-3.0-or-later



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)

FAQs

Package last updated on 02 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc