Convex - Lattice technology for Open Economic Systems

June 19, 2026 · View on GitHub

Maven Central

Convex is a decentralised network and execution platform that powers the Internet of Value. It realises the vision of a true Stateful Internet, where the network itself securely hosts, executes, and persists both code and data.

Convex provides a full-stack platform for decentralised applications and programmable economic systems that manage digital assets. Ownership of accounts and assets is cryptographically enforced and can be governed (optionally) through smart contracts.

Core Technology: Lattice-Based Architecture

Unlike traditional blockchains, Convex is built on Lattice Technology, which leverages the mathematical properties of lattices to deliver superior consensus and verifiability. This foundation yields significant advantages over conventional blockchain designs:

FeatureConvex Advantage
Global State ModelSingle, consistent global state with immutable data structures and atomic transactions
Virtual MachineLambda-calculus-based VM supporting fully Turing-complete smart contracts
ThroughputTens of thousands of write TPS today; designed to scale to millions in the future
NetworkingSimple, robust random-gossip protocol
Confirmation LatencyMillisecond-range global consensus (network-speed dependent)
Energy Efficiency100% Green – powered by Convergent Proof-of-Stake (no energy-intensive mining)
Programming LanguageIntegrated on-chain compiler for Convex Lisp (a modern, secure Lisp dialect)

Why Convex?

  • Developer-friendly: Write smart contracts in a powerful, functional Lisp that compiles and executes directly on-chain.
  • Instant finality: Transactions confirm in milliseconds with cryptographic guarantees.
  • Truly scalable: Lattice agreement eliminates the bottlenecks of linear blockchains.
  • Sustainable by design: Minimal energy footprint while maintaining full decentralisation and security.

Convex is the high-performance, eco-friendly backbone for the next generation of decentralised finance, agentic economies, self-sovereign ownership, and beyond.

About this repository

This repository contains the core Convex distribution including:

  • The Convex Virtual Machine (CVM) including data structures and execution environment
  • The standard Convex Peer server implementation (NIO based) implementing Convergent Proof of Stake (CPoS) for consensus
  • CLI Tools for operating Peers, scripting transactions and more
  • The Etch database for persistent data storage
  • SQL database layer with JDBC driver and PostgreSQL wire protocol server
  • A Swing GUI for managing local peers / exploring the network
  • A simple REST API server
  • JMH Benchmarking suite
  • Java Client API

The repository also contains core "on-chain" libraries providing key full-stack functionality and tools for decentralised applications, including:

  • convex.fungible - Fungible Tokens
  • asset.nft.simple - Basic lightweight Non-fungible tokens
  • convex.asset - library for managing arbitrary digital assets using a common abstraction
  • convex.trust - library for access control and trusted operations
  • torus.exchange - decentralised exchange for trading fungible tokens and currencies
  • Example code and templates for various forms of smart contracts

Modules

NameDescriptionMavenJavadoc
convex-coreCVM, data structures and consensusMaven Centraljavadoc
convex-peerPeer implementation and networkingMaven Centraljavadoc
convex-cliCommand Line ToolsMaven Centraljavadoc
convex-guiConvex Desktop GUI InterfaceMaven Centraljavadoc
convex-dbSQL database with JDBC and PostgreSQL protocolMaven Centraljavadoc

For local use of Convex data structures and CVM execution, convex-core is typically sufficient. To run a peer or communicate with one over the network, include convex-peer as a dependency. Other modules are designed primarily as standalone applications or client libraries.

Key features

  • Convex Virtual Machine (CVM) - Secure, Lambda Calculus-based environment for smart contracts and autonomous agents.
  • Decentralised Consensus - Tamper-proof and censorship-resistant via Convergent Proof of Stake (CPoS).
  • Performance and Scalability - Processes tens of thousands (and sometimes up to millions) of transactions per second with sub-second global consensus.
  • Eco-Friendly - Minimal energy consumption with CPoS, ensuring a sustainable platform.

Getting Started

Your first transaction (no install)

The fastest way to try Convex is the Web Sandbox — a live REPL on the public testnet. Evaluate an expression, then deploy and call a one-line smart contract:

;; Free query — no account needed
(+ 1 2 3)
;; => 6

;; With a faucet-funded account, deploy and call an actor (a smart contract)
(deploy '(defn ^:callable greet [name] (str "Hello, " name "!")))
;; => #1234   ;; your new actor's address
(call #1234 (greet "world"))
;; => "Hello, world!"

Want the full walkthrough — including the TypeScript, Python, and Java SDKs against the testnet? See the Quick Start guide.

Prerequisites

Quick Install

macOS / Linux:

curl -fsSL https://convex.world/install.sh | bash

Windows (PowerShell):

irm https://convex.world/install.ps1 | iex

This installs convex.jar and adds a convex command to your PATH.

Other options

Download directly:

Docker:

docker pull convexlive/convex:latest
docker run convexlive/convex peer start

Build from source:

git clone https://github.com/Convex-Dev/convex.git
cd convex
mvn clean install

Running Convex

Launch the desktop GUI:

convex desktop

Start a local peer test network with GUI:

convex local gui

See all available commands:

convex --help

Examples

Contributing

Contributions are welcome under the Convex Public License. Contributors retain copyright but must accept the license terms. A Contributors Agreement is required for all submissions to the core repository.

The Convex Foundation may award Convex Coins to contributors for significant ecosystem contributions. These native utility tokens enable network service access and may be exchangeable for other digital assets.

Community

We use Discord as for discussing Convex - you can join the public server at https://discord.com/invite/xfYGq4CT7v

Alternatively, email: info(at)convex.world

Copyright 2017-2025 The Convex Foundation and Contributors

Unless otherwise specified, source code is available under the terms of the Convex Public License