title_body: How do i calculate the fingerprint of an asset?
upvoted_answer: As per CIP14: User-Facing Asset Fingerprint, we calculate it as:
  assetFingerprint := encodeBech32
    ( datapart = hash
      ( algorithm = 'blake2b'
      , digest-length = 20
      , message = policyId | assetName
      )
    , humanReadablePart = 'asset'
    )
  
  Or you can just use an existing library, such as cip14-js by Emurgo.