Build blazingly fast, tiny blockchain applications that run natively on all major desktop and mobile platforms.
Krome is a framework for building blockchain applications that compile to tiny, native binaries for all major platforms. By leveraging Rust and advanced optimizations, Krome apps are typically under 10MB in size while delivering unmatched performance. It combines the best of modern development tools and frameworks:
- Tauri for secure native cross-platform applications
- Svelte 5 for performant, intuitive UI development
- TEVM for Ethereum Virtual Machine integration
- Helios for trustless light client capabilities
- Foundry for Solidity testing and deployment
What sets Krome apart is its uncompromising focus on both user experience and developer productivity. Through its opinionated framework, it delivers a polished, native feel for users while maximizing development speed and maintainability for developers.
- 🖥️ True Native Performance: Build once, run anywhere with Tauri's native capabilities
- 🔗 Blockchain-Ready: Pre-configured with TEVM for seamless blockchain integration
- 🔄 Multi-Language Support:
- 🎨 Performant UI:
- Faster than React-based alternatives
- Intuitive for blockchain and systems developers
- Simple, declarative syntax
- 📱 Mobile First: First-class mobile support out of the box
- 🔒 Security First:
- Tauri's security-focused architecture
- Audited dependencies and minimal attack surface
- ⚡ Optimistic Updates: Built-in support for snappy UIs with optimistic operations
- 👛 Wallet Integration:
- Wallet connection via RainbowKit and wagmi
- 🧪 Testing Ready: Comprehensive testing setup for all supported languages
- Node.js 22.13 or later and pnpm 11 (
corepack enablepicks the pinned version) - Rust stable and the Tauri system dependencies
- Foundry for
contracts/(optional) - For iOS development: Xcode 15+ (guide)
- For Android development: Android Studio Hedgehog+ (guide)
With Nix, nix develop provides Node, pnpm, rustup, and Foundry.
Start a new app from this template:
npx degit evmts/krome my-app # or click "Fork" on GitHub
cd my-app
pnpm install
pnpm tauri dev # native window with hot reloadSee docs/getting-started.md for details and the tauri 2.0 docs for Tauri specifics.
| Command | What it does |
|---|---|
pnpm tauri dev / pnpm tauri build |
Run or bundle the native app |
pnpm dev / pnpm build |
Run or build only the web frontend |
pnpm lint |
svelte-check type check, warnings fail |
pnpm test |
Unit and property (fast-check) tests, plus Tevm contract tests |
pnpm bench |
Vitest benchmarks |
pnpm test:e2e |
Playwright UI tests against the production build (Tauri IPC mocked) |
pnpm test:e2e:contracts |
Deploys to a real Anvil node with viem and forge script |
pnpm contracts:test |
Foundry unit and fuzz tests |
pnpm contracts:deploy |
Deploy BankV1 with viem (RPC_URL, PRIVATE_KEY) |
cd src-tauri && cargo test |
Rust unit and property tests |
See docs/testing.md for what each layer covers.
App logic
- src/ contains the Svelte app; routes live in src/routes
- src/lib/ holds framework-free TypeScript: the typed Rust bridge, block polling, and input validation
- src/react/ mounts React components (RainbowKit) inside Svelte
- Context to help your LLM write Svelte is in src/svelte.llm.txt
- src-tauri/ contains the Rust code; commands are registered in src-tauri/src/lib.rs and implemented in src-tauri/src/helios.rs
- contracts/ contains Solidity, Tevm tests, Foundry tests, and deploy scripts
- e2e/ contains Playwright and Anvil end-to-end tests
Tauri specific files
- src-tauri/tauri.conf.json contains the tauri config
- Additional configuration is in the capabilities file src-tauri/capabilities
Join our community to get help, share your projects, and contribute:
We welcome contributions! Please see our Contributing Guide for details.