Skip to main content

Documentation Index

Fetch the complete documentation index at: https://prism-ddf93e61.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

The Prism core engine is published as a Rust crate and a WASM package.

Rust Usage

Add prism-core to your Cargo.toml:
[dependencies]
prism-core = "0.1.0"

WASM Usage

Embed Prism into your JavaScript/TypeScript applications:
npm install @prism-soroban/wasm

Public API Highlights

  • decode_error: Returns a structured diagnostic report.
  • resolve_contract_error: Decodes custom error codes via WASM.
  • replay_transaction: Runs a full Tier 2/3 simulation.