Skip to content

Commit 5be655d

Browse files
authored
docs: connect discovery (#2276)
1 parent cf6746a commit 5be655d

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

packages/connect-discovery/README.md

+22
Original file line numberDiff line numberDiff line change
@@ -1 +1,23 @@
11
# @substrate/connect-discovery
2+
3+
A TypeScript package to discover and filter Substrate Connect Extension providers from a list of providers using the [@substrate/discovery protocol](../discovery).
4+
5+
## Installation
6+
7+
You can install the package using npm or yarn:
8+
9+
```sh
10+
corepack pnpm i @substrate/connect-discovery
11+
```
12+
13+
## Usage
14+
15+
Here's an example of how to use the package:
16+
17+
```ts
18+
import { getSubstrateConnectExtensionProviders } from "@substrate/connect-discovery"
19+
20+
const connectExtensionProviders = getSubstrateConnectExtensionProviders()
21+
22+
console.log(connectExtensionProviders)
23+
```

packages/smoldot-discovery/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# @substrate/smoldot-discovery
22

3-
A TypeScript package to discover and filter Smoldot extension providers from a list of providers.
3+
A TypeScript package to discover and filter Smoldot extension providers from a list of providers using the [@substrate/discovery protocol](../discovery).
44

55
## Installation
66

0 commit comments

Comments
 (0)