@harmoniclabs/pluts-emulator
Version:
Cardano emulator for offchian testing
14 lines (13 loc) • 460 B
TypeScript
import { Address, AddressStr, IUTxO } from "@harmoniclabs/plu-ts";
/**
* Generate a random Bech32 address.
*/
export declare function generateRandomBech32Address(): AddressStr;
/**
* Generate a random transaction hash for testing
*/
export declare function generateRandomTxHash(salt?: number): string;
/**
* Create an initial UTxO for the emulator
*/
export declare function createInitialUTxO(lovelaces: bigint, address: Address, txHash: string): IUTxO;