Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/covenant-gov/pacto-app/llms.txt

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

Pacto is a Tauri v2 desktop app built on a SvelteKit/Svelte frontend backed by a Rust backend. Building it from source requires a Rust toolchain, a recent Node.js runtime, pnpm as the package manager, and a small set of platform-specific system libraries that Tauri and native Rust crates depend on. The guides below walk you through every step for your operating system.

Ubuntu

Install system packages via apt, Rust via rustup, Node.js 20, and pnpm to build Pacto on Ubuntu Linux.

macOS

Install Xcode Command Line Tools, Homebrew packages, Rust, Node.js 20, and pnpm to build Pacto on macOS.

Windows

Set up Visual Studio Build Tools, LLVM, Rust, Node.js 20, and pnpm to build Pacto on Windows.

Common Requirements

The following tools are required on every supported platform:
RequirementVersionHow to install
Rust (via rustup)Any recent stable toolchaincurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Node.jsv18 or later (v20 recommended)NodeSource, nvm, Homebrew, or official installer
pnpmLatest (via Corepack)corepack enable && corepack prepare pnpm@latest --activate
Tauri v2 system depsPlatform-specificSee each platform guide below
pnpm is required. This project uses pnpm workspaces. Do not use npm install or yarn install — they will not resolve the workspace correctly.

Environment Setup

Copy the example environment file and fill in any optional keys before running the app:
cp .env.example .env
The .env.example file contains three optional variables (all commented out by default):
# ALCHEMY_RPC_KEY=
# POCKET_RPC_KEY=
# VITE_WALLET_RPC_DOCS_URL=
The app works without any keys set, but providing an ALCHEMY_RPC_KEY improves RPC reliability for EVM operations.

Running the App

Once prerequisites are installed and pnpm install has completed, you have two run modes: Full desktop app — launches the Tauri window with the Rust backend active:
pnpm tauri:dev
Frontend only — runs the SvelteKit app in your browser without the Rust backend (useful for UI work):
pnpm dev
The very first pnpm tauri:dev can take several minutes while Cargo downloads and compiles all Rust dependencies. Subsequent builds are much faster thanks to the incremental build cache.

Build docs developers (and LLMs) love