Hubert - Distributed Infrastructure for Secure Multiparty Transactions - v1.0.0-alpha.20
    Preparing search index...

    Function deriveIpfsKeyName

    • Derive an IPNS key name from an ARID.

      Returns a 64-character hex string suitable for use as an IPFS key name.

      Port of derive_ipfs_key_name() from arid_derivation.rs lines 31-37.

      Parameters

      • arid: ARID

        The ARID to derive from

      Returns string

      64-character hex string

      const keyName = deriveIpfsKeyName(arid);
      // => "a1b2c3d4e5f6..." (64 hex characters)