Skip to content

Installation

Installing the packages? You are in the right place. For the services you need running (LocalNet indexer, public testnet, wallet daemon) see Prerequisites & presets.

ootle.ts is split into focused packages published under the @tari-project scope. Install only what you need.

Every application needs the core package:

Terminal window
pnpm add @tari-project/ootle

The provider reads chain state and submits transactions. Currently, the only provider implementation is the indexer:

Terminal window
pnpm add @tari-project/ootle-indexer

Choose the signer that fits your use case:

Delegates signing to a running tari_ootle_walletd process. The secret key never enters JavaScript memory.

Terminal window
pnpm add @tari-project/ootle-wallet-daemon-signer

Holds the secret key in JavaScript memory and uses WASM crypto for signing. Not recommended for production.

Terminal window
pnpm add @tari-project/ootle-secret-key-wallet
  • Node.js 22 or later (build / dev tooling).
  • A bundler that supports ESM — Vite (recommended; what the example apps use), esbuild, or webpack 5+.
  • The bundler must handle WASM imports from @tari-project/ootle-wasm. With Vite, add vite-plugin-wasm and vite-plugin-top-level-await.
  • Node ≥ 22.
  • NODE_OPTIONS=--experimental-wasm-modules when running under tsx or plain node — Node still gates .wasm ESM imports behind this flag. See examples/node/README.md for the rationale and forward plan.
  • No bundler required.