Converts hex string to bech32 format

  • Parameters

    • prefix: string

      Bech32 prefix

    • hex: string

      Hex string to convert

    Returns `${Lowercase<string>}1${string}`

    Bech32 encoded string