You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+26-36
Original file line number
Diff line number
Diff line change
@@ -1,56 +1,53 @@
1
-
# Connect SDK
1
+
# Wormhole TS SDK
2
2
3
-
The Connect SDK is a TypeScript SDK for interacting with the chains Wormhole supports and the [protocols](#protocols) built on top of Wormhole.
3
+
The Wormhole Typescript SDK is useful for interacting with the chains Wormhole supports and the [protocols](#protocols) built on top of Wormhole.
4
4
5
5
## Warning
6
6
7
7
:warning: This package is a Work in Progress so the interface may change and there are likely bugs. Please [report](https://github.com/wormhole-foundation/connect-sdk/issues) any issues you find. :warning:
8
8
9
9
## Installation
10
10
11
-
Install the primary package
11
+
### Basic
12
+
13
+
Install the (meta) package
12
14
13
15
```bash
14
-
npm install @wormhole-foundation/connect-sdk
16
+
npm install @wormhole-foundation/sdk
15
17
```
16
18
17
-
As well as any other platforms you wish to use
19
+
This package combines all the individual packages in a way that makes setup easier while still allowing for tree shaking.
A developer would use the connect-sdk package in conjunction with one or more of the chain context packages. Most developers don't use every single chain and may only use a couple, which allows developers to import only the dependencies they actually need.
36
-
37
41
Getting started is simple, just import and pass in the [Platform](#platforms) modules you wish to support as an argument to the Wormhole class.
// Useful to do things like get the rpc client, make Protocol clients,
@@ -187,11 +184,6 @@ Each Protocol, if available, will have a Platform specific implementation. These
187
184
The protocol that underlies all Wormhole activity is the Core protocol. This protocol is responsible for emitting the message containing the information necessary to perform bridging including [Emitter address](https://docs.wormhole.com/wormhole/reference/glossary#emitter), the [Sequence number](https://docs.wormhole.com/wormhole/reference/glossary#sequence) for the message and the Payload of the message itself.
0 commit comments