wormhole-foundation / example-liquidity-layer

Apache License 2.0
11 stars 11 forks source link

Import specific Wormhole SDK packages #161

Closed livthomas closed 4 months ago

livthomas commented 4 months ago

The TypeScript packages in this repository depend on @wormhole-foundation/sdk. But this brings in many unnecessary dependencies as we only need to interact with Solana here.

I quickly went over all the imports and it looks like the dependencies can be reduced to the following subset of Wormhole SDK:

I would recommend changing all imports from @wormhole-foundation/sdk to these specific packages and remove the dependency on the parent package.