user7: If I have an asset with
policy id: 2697bec9e609932eaaaafb34c8e1ea706549d268166ef60285026b85
asset name: redomgrun
How do I calculate the fingerprint asset107k0vzcplp8rjc3d2y8cew6z2gdhvnqru2uluu?

user1900: A Java implementation will be available in cardano-client-lib next release. (0.2.0)
For now, you can refer to "calculateFingerPrint" method of this class (see here for tests).

user28: 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.

7: <p>If I have an asset with</p>
<p>policy id: <code>2697bec9e609932eaaaafb34c8e1ea706549d268166ef60285026b85</code></p>
<p>asset name: <code>redomgrun</code></p>
<p>How do I calculate the fingerprint <code>asset107k0vzcplp8rjc3d2y8cew6z2gdhvnqru2uluu</code>?</p>
 1900: <p>A Java implementation will be available in <a href="https://github.com/bloxbean/cardano-client-lib" rel="nofollow noreferrer">cardano-client-lib</a> next release. (0.2.0)</p>
<p>For now, you can refer to &quot;calculateFingerPrint&quot; method of <a href="https://github.com/bloxbean/cardano-client-lib/blob/master/src/main/java/com/bloxbean/cardano/client/util/AssetUtil.java" rel="nofollow noreferrer">this</a> class (see <a href="https://github.com/bloxbean/cardano-client-lib/blob/master/src/test/java/com/bloxbean/cardano/client/util/AssetUtilTest.java" rel="nofollow noreferrer">here</a> for tests).</p>
 28: <p>As per <a href="https://github.com/cardano-foundation/CIPs/blob/master/CIP-0014/CIP-0014.md" rel="noreferrer">CIP14: User-Facing Asset Fingerprint</a>, we calculate it as:</p>
<pre><code>assetFingerprint := encodeBech32
  ( datapart = hash
    ( algorithm = 'blake2b'
    , digest-length = 20
    , message = policyId | assetName
    )
  , humanReadablePart = 'asset'
  )
</code></pre>
<p>Or you can just use an existing library, such as <a href="https://github.com/Emurgo/cip14-js" rel="noreferrer">cip14-js</a> by Emurgo.</p>
