Atproto primitives for Gleam.

`cid.from_bit_array` should perform the content hash. #1

Closed hayleigh.dev
Closed opened by hayleigh.dev

Currently the way this function is implemented, it assumes you've already produces the content hash and want to "wrap" it in a Cid. It's going to be much more useful if the function actually handles the hashing of arbitrary bits though!

Some thought will have to be put into how this is implemented, as the gleam_crypto package won't work in browser environments and at should ideally work anywhere without surprises.

Sign up or Sign in to add to the discussion.