sarvalabs / js-moi-sdk

JavaScript library to interact with MOI Protocol via RPC API
https://js-moi-sdk.docs.moi.technology/
Apache License 2.0
24 stars 2 forks source link

refactor: sign/verify with RFC6979, bip66 and ts implementation for bip39 #6

Closed sarvalabs-sai closed 1 year ago

sarvalabs-sai commented 1 year ago

Description

  1. Removed usage of tiny-secp256k1[wasm-implementation]
  2. custom signer.utils for toDER and bip66.Encode
  3. updated sign and verify to use rfc6979
  4. Added custom utils for DER and bip66
  5. New type SigDigest
  6. Typescript modification of BIP39 package