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).