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
solana/ -- Contains Solana `Platform` and `Protocol` implementations
27
27
etc...
28
28
29
-
sdk/ -- Metapackage that depeneds on the rest of the packages, meant to be a simpler way to install/use. Exports packages in a way that allows for tree shaking unused packages and splitting chunks.
29
+
sdk/ -- Metapackage that depeneds on the rest of the packages, meant to be a simpler way to install/use.
30
30
31
31
examples/ -- Examples, also used for README string replace
32
32
```
@@ -48,6 +48,14 @@ A Protocol (fka `Module`) is a specific application, it provides a set of method
48
48
49
49
To allow platform agnostic access to Protocols, each Platform that provides the protocol should have its own implementation.
50
50
51
+
# Connect package
52
+
53
+
The `connect` package provides access to all the `Platform` and `Protocol` implementations through their interfaces.
54
+
55
+
The `Wormhole` class represents a context to register specific Platforms and set some initial configuration overrides. It provides utility methods to do things like create a `ChainContext` or parse an address.
56
+
57
+
The `routes` directory contains the logic to make use of the Protocol implementations by composing a route through the use of one or more Protocol interfaces.
58
+
51
59
# SDK package
52
60
53
61
The `@wormhole-foundation/sdk` package was created to reduce the confusion reported by devs around what they needed to install and use.
0 commit comments