Closed mjbrisebois closed 1 month ago
Here is a quick example of how we could start using a library to manage holo-hashes while preserving legacy support.
Most of the helper functions in utils could be replaced by the native methods on HoloHash instances.
HoloHash
sliceDhtLocation
<HoloHash>.getDHTLocation
sliceCore32
<HoloHash>.getHash
sliceHashType
<HoloHash>.getPrefix
@jost-s do you see value in this?
Ready to merge then?
Yes, thanks for starting this off!
Here is a quick example of how we could start using a library to manage holo-hashes while preserving legacy support.
Most of the helper functions in utils could be replaced by the native methods on
HoloHash
instances.sliceDhtLocation
=><HoloHash>.getDHTLocation
sliceCore32
=><HoloHash>.getHash
sliceHashType
=><HoloHash>.getPrefix