mlabs-haskell / purescript-noble-secp256k1

A thin PureScript wrapper over @noble/secp256k1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adds smart constructors for all the domain types

klntsky opened this issue · comments

See the API description: https://github.com/paulmillr/noble-secp256k1

All types are backed by a Uint8Array. We should wrap https://pursuit.purescript.org/packages/purescript-arraybuffer-types/3.0.2/docs/Data.ArrayBuffer.Types#t:Uint8Array behind newtypes instead of using foreign data types. Where applicable, smart constructors should be provided (Message type can be a type synonym).