UNPKG

@mutants/cardano-tx-builder

Version:

A package that provides utility functions to build and destructure a cardano transaction

9 lines (8 loc) 288 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.hexToHash = void 0; const blakejs_1 = require("blakejs"); const hexToHash = (value) => { return (0, blakejs_1.blake2bHex)(Buffer.from(value, "hex"), undefined, 32); }; exports.hexToHash = hexToHash;