Mini SDK for JavaScript
brickpop opened this issue · 0 comments
brickpop commented
Split the current dvote-js codebase into the following new NPM packages:
- #72
- @vocdoni/encryption
- @vocdoni/wallets
- @vocdoni/hashing
- @vocdoni/signing (json and bytes)
- @vocdoni/models (data models, protobuf, templates, typedefs)
- @vocdoni/net (also
wrappers/GatewayInfo
) - @vocdoni/common (including constants.ts)
- Also include the
utils
functions that are used in several places at once
- Also include the
- Move the single purpose
utils
functions to where their component - @vocdoni/client (network calls to GW's, oracles, blockchain, Vochain, etc. No logic.)
- @vocdoni/census (data computations, if any)
- @vocdoni/voting (data computations, proofs, signatures, blind, etc...)