owlprotocol / merkledb

Bridge web2.0 databases with decentralized smart contracts
1 stars 1 forks source link

OrbitDB Parse as CBOR #5

Closed leovigna closed 2 years ago

leovigna commented 2 years ago

Description

Convert document entries into CBOR encoding in preparation to be inserted into a Merkle tree as leaves.

Links

https://github.com/paroga/cbor-js

leovigna commented 2 years ago

Note that objects always have their keys sorted to ensure deterministic encoding.