Klever Vesting -- Open Source Token Sale with Configurable Vesting for KleverChain

Hey everyone,

We just open-sourced Klever Vesting – a complete token sale platform with built-in vesting for KleverChain. It’s MIT licensed and we’re looking for developers who want to build on it, fork it, or contribute.

What it does:
Token owners launch sales where purchased tokens are automatically locked in a smart contract and released over time. Buyers connect their Klever wallet, purchase tokens, and watch them unlock according to configurable schedules. Think of it as a launchpad with built-in vesting – no separate staking contract needed.

Key features:

  • Configurable vesting schedules with cliff periods and linear unlock
  • Early-exit penalty (configurable %) – users can leave early but forfeit a percentage
  • Extension bonus – users who lock longer earn extra tokens (funded by early-exit penalties, creating a self-sustaining incentive loop)
  • Multi-phase sales with different prices, caps, whitelists, and time windows
  • Hardened security: user funds are protected on-chain (owner cannot drain vested tokens), two-step ownership transfer, schedule terms locked at purchase time
  • 7 languages, dark/light theme, responsive design

Tech stack:

  • Smart Contract: Rust / klever_sc 0.45.0 (KVM WASM) – 63 endpoints, ~35KB
  • Frontend: SolidJS + Vite + TypeScript
  • Backend API: Rust / Axum + PostgreSQL + Redis
  • Event Listener: Rust / Tokio + WebSocket

The contract is deployed and tested on Klever testnet. The frontend reads live data from the chain. Everything compiles and works.

What we’re looking for:

  • Frontend developers (SolidJS/TypeScript) – the UI works but could use more polish, charts, and animations
  • Smart contract reviewers – extra eyes on the security model are always welcome
  • Translation contributors – we have 7 languages but they could be improved, especially Japanese and Chinese
  • Anyone interested in building on KleverChain

Links:

If you’re interested in KleverChain development or token sale mechanics, check it out and let us know what you think. PRs welcome!

2 Likes