Mesh LogoMesh

Utilities

Serializers, deserializers, resolvers, and blueprints for converting between Cardano data formats.

MeshJS provides a comprehensive set of utility functions for working with Cardano data. Use these utilities to serialize scripts into addresses, deserialize on-chain data, resolve hashes, and work with smart contract blueprints.

Overview

UtilityPurpose
BlueprintsCreate and manage smart contract blueprints for spending, minting, and withdrawal validators
SerializersEncode scripts and data into CBOR or bech32 format
DeserializersParse CBOR or bech32 encoded data into usable objects
ResolversConvert between different Cardano data formats (hashes, addresses, epochs)

Quick Start

Install the MeshJS SDK to access all utility functions:

npm install @meshsdk/core

Import the utilities you need:

import {
  serializePlutusScript,
  deserializeAddress,
  resolveDataHash,
  SpendingBlueprint,
} from "@meshsdk/core";

Browse Utilities

On this page