Skip to content

Building

TONresistor edited this page Apr 11, 2026 · 1 revision

Building from Source

Prerequisites

  • Node.js 22+
  • npm 9+
  • Go 1.22+ (for building native binaries)
  • git, python3

Development

git clone https://github.com/TONresistor/Tonnet-Browser.git
cd Tonnet-Browser
npm install
bash scripts/build-binaries-from-source.sh
npm run dev

The build-binaries-from-source.sh script compiles all Go binaries (tonutils-proxy, tonutils-bridge, tonutils-storage, adnl-tunnel) from source using pinned tags defined in scripts/binary-versions.json.

Production Build

# Linux
npm run build:linux

# Windows
npm run build:win

# macOS
npm run build:mac

Builds are output to the release/ directory.

Tests

npm test

Clone this wiki locally