Kelid Majazi Tabadol Kelid Majazi Tabadol KMT · CORE
فا
Get a consultation

KMT Chain — a dedicated blockchain

Design and launch of a TON-compatible dedicated blockchain as the payment and digital-asset layer for our services, including a validator node, indexer, API, explorer and an operations admin panel.

KMT Chain — a dedicated blockchain

About the project

KMT Chain is a dedicated blockchain built on the TON architecture and fully compatible with its tooling. The goal was an independent payment and digital-asset layer for web and gaming services, so users can hold their credit as KMT tokens, transfer it and spend it across the ecosystem.

The project started with generating the genesis block and configuring a validator node, and grew into six production services on separate domains, all served over HTTPS.

TONValidatorIndexerIndex APIKMT ConnectPostgreSQLNginxLet's Encrypt

Architecture

Every service runs independently under its own systemd unit behind Nginx as a reverse proxy. The indexer reads chain data into PostgreSQL so the explorer and wallet can query transaction history quickly.

Layered KMT Chain architecture: node, indexer, API and applications
Layered KMT Chain architecture: node, indexer, API and applications
  • Validator node: block production and finalisation with health and sync monitoring.
  • Indexer and Index API: extracts transactions, accounts and tokens and serves a fast API to applications.
  • KMT Connect: a wallet-to-dApp connection protocol (inspired by TonConnect) for signing transactions safely on the user side.
  • Admin panel: node health, disk and memory, and start/stop/restart for every service, protected by authentication.

Challenges and solutions

In production, growing logs and the node database filled the disk. We fixed it with log rotation, a separate block-storage volume, and a migration of the node and PostgreSQL data verified byte-for-byte — without changing any service configuration.

Node and chain services monitoring dashboard
Node and chain services monitoring dashboard

Outcome

The explorer, wallet, exchange, token launchpad, NFT marketplace and admin panel now run on this chain, and the infrastructure is ready for new services.

MORE WORK

Related projects

All projects