Skip to main content
Module

x/lucid/src/utils/utils.ts>fromText

Lucid is a library, which allows you to create Cardano transactions and off-chain code for your Plutus contracts in JavaScript, Deno and Node.js.
Latest
function fromText
import { fromText } from "https://deno.land/x/lucid@0.10.10/src/utils/utils.ts";

Convert a Utf-8 encoded string to a Hex encoded string.

Parameters

text: string

Returns

string