Skip to content
evmtsPublic

About

Build blazingly fast, tiny blockchain applications that run natively on all major desktop and mobile platforms.

Resources

Code of conduct

Contributing

Security policy

Stars

60 stars

Watchers

3 watching

Forks

Latest commit

 

History

33 Commits

Folders and files

Repository files navigation

CI

Krome - Native Blockchain Apps Made Simple

Build blazingly fast, tiny blockchain applications that run natively on all major desktop and mobile platforms.

What is Krome?

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.

✨ Features

  • 🖥️ 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:
  • 🧪 Testing Ready: Comprehensive testing setup for all supported languages

image

Requirements

With Nix, nix develop provides Node, pnpm, rustup, and Foundry.

Quick Start

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 reload

See docs/getting-started.md for details and the tauri 2.0 docs for Tauri specifics.

Scripts

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.

File structure

App logic

Tauri specific files

Documentation

Community

Join our community to get help, share your projects, and contribute:

Contributing

We welcome contributions! Please see our Contributing Guide for details.

License

MIT

About

Build blazingly fast, tiny blockchain applications that run natively on all major desktop and mobile platforms.

Resources

Code of conduct

Contributing

Security policy

Stars

60 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages