Hats-Protocol/hats-protocol

Consider embedding the topHat id into the id of its child hats

Closed this issue · 1 comments

The current pure integer approach to hat ids is dead simple, but the result is that identifying which topHat a given Hat is associated with requires traversing the full hat tree back to its root (the topHat).

An id scheme that combined the topHat id with the hat's id would enable much easier and more flexible identification of a hat's domain (ie topHat).

Even further, perhaps a Hat id could include information about the entirety of its own branch of its hat tree??

addressed in #19