spacemeshos / smapp

Spacemesh App (Smesher + Wallet) 🏦📊
https://spacemesh.io
Apache License 2.0
132 stars 41 forks source link

Refactor crypto code into standalone lib #1092

Open lrettig opened 1 year ago

lrettig commented 1 year ago

We need a @spacemesh/crypto lib that:

This code all lives in this repository today and can be factored out into a separate library. This will be broadly useful across the Spacemesh ecosystem.

The ed25519-related code, including the wasm library, should probably be moved there too.

lrettig commented 1 year ago

This codebase is quite clean and well organized. It also uses Wasm under the hood as a global standard. Please have a look: https://github.com/polkadot-js/common/tree/master/packages/keyring

API: https://polkadot.js.org/docs/api/start/keyring Docs: https://polkadot.js.org/docs/keyring