Skip to main content

Prerequisites

Before installing Grat, ensure your environment meets the following requirements:
  • Rust: 1.77 or higher
  • Node.js: 20 or higher
  • pnpm: 9 or higher (for monorepo development)

Install CLI

The easiest way to install Grat is via Cargo: bash cargo install grat

Accessing RPC

Grat requires access to a Soroban RPC endpoint to fetch transaction data.
  • Testnet/Mainnet: Works out of the box using public endpoints.
  • Custom: Use the --rpc-url flag or set the SOROBAN_RPC_URL environment variable.