A minimal, production-ready starter template for building SvelteKit apps targeting the TON ecosystem. This repository includes a SvelteKit front-end, Tact contract source, build helpers, and sensible defaults so you can scaffold a new project rapidly.
This template provides a modern SvelteKit application scaffold configured for rapid development with TON smart contracts (Tact). It focuses on a clean developer experience, sensible defaults, and clear places to customize for your project.
contracts/ and build scripts under tact/src/tests/ with Jest configurationClone and install dependencies:
git clone https://github.com/tejks/ton-sveltekit-template
cd ton-sveltekit-template
npm install
Start the dev server:
npm run dev
Build for production and preview:
npm run build
npm run preview
tact.config.json / tact/)Follow the Quick Start above. For contract compilation or local TON node integrations, consult the tact/ scripts and the contracts/ folder.
npm run dev — Start development server (hot reload)npm run build — Create production buildnpm run preview — Preview built appCheck package.json for additional convenience scripts.
package.json — Scripts and dependenciesvite.config.ts, svelte.config.js, tsconfig.json — core build/config filesnpm run lint, npm run format (if configured).npm test or npm run test.See CONTRIBUTING.md for contribution guidelines. Short summary:
CONTRIBUTING.md.This template is provided under the MIT License. See the LICENSE file for details.