ntls-io / nautilus-wallet

Nautilus Wallet
GNU Affero General Public License v3.0
8 stars 4 forks source link

Split out TypeScript SDK #150

Open PiDelport opened 2 years ago

PiDelport commented 2 years ago

Parts to split out:

  1. Core enclave communication
  2. DLT interfaces: Algorand, XRP
  3. Onfido interface

It would almost certainly make sense to make the different DLT interfaces conditional, in order to not have to pull in all the different underlying SDKs if a project only uses one, but NPM's packaging doesn't really have an easy way to do conditional features, so it probably makes sense to treat these as optional add-ons to the core library.

The work for this split should include the work to support:

Related work

This work will probably be a precursor to finishing out the asset support in the front-end:

PRs

PiDelport commented 2 years ago

Proposed folder structure: a top-level sdk-typescript Yarn workspace, with sub-packages for each of the Node libraries above. (We can then use the same prefix for top-level directories of other SDK targets, like sdk-android, and so on.)

For the individual TypeScript Node packages, perhaps nautilus-wallet-client as a common prefix?