Practical overview
When it fits
Use Opencx when you want to work directly with Go exchange software, build its server or CLI, or explore its configurable coin and optional Lightning settings. The project is explicitly a work in progress and its README advises against production use.
Who it is for
- Developers prototyping cryptocurrency exchange components or studying exchange design.
- Contributors interested in adapting or extending an open-source exchange toolkit.
Documented uses
- Build and run an experimental exchange server backed by a MySQL-compatible database.
- Build and use the command-line client without a database.
- Configure supported coins and whether Lightning is enabled.
- Explore designs aimed at non-custodial trading and public orderbook auditability.
Requirements & limits
- The server requires Go, GMP and a MySQL-compatible database; the CLI does not require a database.
- Database credentials are configured in ~/.opencx/db/sqldb.conf.
- The README documents configurable coins, Lightning support, connection settings and an option to use the NOISE protocol for authentication.
- The project’s security-related properties are stated as goals; the README warns against production use while the project is a work in progress.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Build and start the Opencx server
Prepare and launch the server component with a MySQL-compatible database.
Before you start
- Go 1.12 or later
- GMP (GNU Multiple Precision Arithmetic Library)
- MariaDB or another MySQL-compatible database
- A Linux or macOS environment, following the README’s platform-specific GMP and database instructions
Steps
Install GMP using the README’s Debian or macOS instructions.
Clone the repository and install its Go dependencies with the documented commands.
Start MariaDB or the chosen MySQL-compatible database.
Configure database authentication in ~/.opencx/db/sqldb.conf.
Build the server and launch the resulting opencxd executable using the README commands.
Expected outcome
The documented setup launches the Opencx server component against a configured database.
Guide limitations
- The project is marked as work in progress; its README says not to use it in production.
- The setup instructions do not establish production readiness or security guarantees.
Build and start the Opencx CLI client
Build and launch the command-line client without setting up a database.
Before you start
- Go 1.12 or later
- GMP (GNU Multiple Precision Arithmetic Library)
Steps
Install GMP using the README’s Debian or macOS instructions.
Clone the repository and install its Go dependencies with the documented commands.
Build the client using the documented command and launch the ocx executable.
Consult the cxrpc README for the client command set.
Expected outcome
The documented setup launches the Opencx CLI client; the repository directs users to cxrpc documentation for its commands.
Guide limitations
- The client does not require a database, but the server does.
- The project is marked as work in progress and is not recommended for production use.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 16 October 2026
- Original website title
- mit-dci/opencx · Official homepage title · retained in its source language

