def hash.of
import ezx@1.11.0.0/src/lock/up.bend as Upimport Base
import ezx@1.11.0.0/src/share/sha.bend as Sha
548# the `0x` name a manifest is the digest of
549def hash.of(+manifest: String) -> String:
550 "0x" ++ String.take(Sha.hex(manifest), 32n)