Concordium / concordium-node-sdk-js

TypeScript SDK for using the Concordium blockchain

Home Page:http://developer.concordium.software/concordium-node-sdk-js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Split code into separate entrypoints

soerenbf opened this issue · comments

To facilitate users of the SDK to limit the amount of code included from the SDK in their bundle, the code can be separated into different modules. This allows for importing only the parts of the SDK needed for the use case. In particular, it is important to ensure that the WASM module is not included in modules where it’s not needed.

Entrypoints should include bodies of code that logically stands alone, such as (but not limited to) @concordium/web-sdk/cis2, @concordium/web-sdk/cis4, @concordium/web-sdk/grpc.

Sub tasks

  • Split into separate entrypoints
  • Split WASM module
  • Testing