Page cover

🛠️Technical Stack

🔗 Blockchain

Deployed on Base, a layer-2 scaling solution on Ethereum, Clarnium benefits from Base’s 1,000+ transactions-per-second (TPS) capacity and gas fees as low as 0.01¢, with 99.9% uptime as reported in early 2025 Base network metrics. This enables rapid, cost-effective token launches and trading on ClarFun.

⚙️ Off-Chain Processing

AI Agents and complex tasks (e.g., NLP for promotion, image generation) base of Grok model are handled off-chain using Node.js microservices hosted on Amazon AWS, ensuring low latency and high throughput for marketing automation. Data is synced with Base via secure APIs with TheGraph chain indexer, maintaining decentralization where it matters.

🔐 Smart Contracts

Written in Solidity, Clarnium’s contracts power token creation, trading pools, airdrop distributions, and payment processing. Initial audits are planned with CertiK and Solidproof by Q2 2025, ensuring security and trust for users and investors.


The Clarnium architecture can be visualized as follows:

👁 Top Layer (User Interface)

ClarFun’s web and Telegram mini-app, ClarPay checkout links, and ClarFun dashboards, accessible via browser or mobile.

📈 Middle Layer (Application Logic)

Node.js microservices on AWS handle AI Agents’ NLP and image generation, interfacing with Base via RESTful APIs for real-time data sync (e.g., token stats, trading volume) through TheGraph chain indexer layer.

🧠 Bottom Layer (Blockchain)

Base network hosts Solidity smart contracts for token deployment, trading pools, payment processing, fee distribution to token creators (30% of trading and 0.25 ETH migration fees), and Airdrops for trading volume rewards, secured by Ethereum’s L1 finality.

🧬 Flow

A token launched on ClarFun triggers an AI Agent campaign off-chain, syncs trading data to Base, distributes 30% of trading and migration fees to the token creator, and allocates Airdrops for trading volume rewards — all orchestrated seamlessly across layers.

Last updated