All Projects → mit-dci → Opencx

mit-dci / Opencx

Licence: mit
An open-source cryptocurrency exchange toolkit for implementing experimental exchange features

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Opencx

Exchange Core
Ultra-fast matching engine written in Java based on LMAX Disruptor, Eclipse Collections, Real Logic Agrona, OpenHFT, LZ4 Java, and Adaptive Radix Trees.
Stars: ✭ 801 (+831.4%)
Mutual labels:  bitcoin, cryptocurrency, cryptocurrency-exchanges, exchange
Multicurrencywallet
Bitcoin, Ethereum, ERC20 crypto wallets with Atomic Swap exchange. Release announce: https://twitter.com/SwapOnlineTeam/status/1321844352369500160
Stars: ✭ 136 (+58.14%)
Mutual labels:  bitcoin, cryptocurrency, exchange, crypto
Ccxt.net
CCXT.NET – CryptoCurrency eXchange Trading Library for .NET
Stars: ✭ 89 (+3.49%)
Mutual labels:  bitcoin, cryptocurrency, exchange, crypto
Peatiocryptoexchange
An open-source Crypto-Currency exchange. Peatio v3.0 Coming Soon !
Stars: ✭ 141 (+63.95%)
Mutual labels:  bitcoin, cryptocurrency, cryptocurrency-exchanges, crypto
Ccxt
A JavaScript / Python / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges
Stars: ✭ 22,501 (+26063.95%)
Mutual labels:  bitcoin, cryptocurrency, exchange, crypto
Qtbitcointrader
Secure multi crypto exchange trading client
Stars: ✭ 520 (+504.65%)
Mutual labels:  bitcoin, cryptocurrency, exchange, crypto
Kupi Terminal
Ccxt based, open source, customized, extendable trading platform that supports 130+ crypto exchanges.
Stars: ✭ 104 (+20.93%)
Mutual labels:  bitcoin, cryptocurrency, exchange, crypto
Socktrader
🚀 Websocket based trading bot for 💰cryptocurrencies 📈
Stars: ✭ 152 (+76.74%)
Mutual labels:  bitcoin, cryptocurrency, exchange, crypto
Ccxt Rest
Open Source Unified REST API of 100+ Crypto Exchange Sites (18k+ docker pulls) - https://ccxt-rest.io/
Stars: ✭ 210 (+144.19%)
Mutual labels:  bitcoin, cryptocurrency, exchange, crypto
Bitcoinlib
Bitcoin Core RPC compatible, battle-tested .NET library and RPC wrapper for Bitcoin and Altcoins
Stars: ✭ 350 (+306.98%)
Mutual labels:  bitcoin, cryptocurrency, cryptocurrency-exchanges, exchange
Awesome Blockchain
Curated list of blockchain services and exchanges 🔥🏦🔥🏦🔥🏦🔥
Stars: ✭ 604 (+602.33%)
Mutual labels:  bitcoin, cryptocurrency, exchange, crypto
Eclair
A scala implementation of the Lightning Network.
Stars: ✭ 892 (+937.21%)
Mutual labels:  bitcoin, cryptocurrency, lightning
Hth Legacy Old Chain
Old Binaries and source code for HTH. Deprecated.
Stars: ✭ 22 (-74.42%)
Mutual labels:  bitcoin, cryptocurrency, crypto
Aeternity
æternity: solving scalability problems by making sense of state-channels
Stars: ✭ 923 (+973.26%)
Mutual labels:  bitcoin, cryptocurrency, crypto
Raspibolt
Bitcoin & Lightning full node on a Raspberry Pi
Stars: ✭ 842 (+879.07%)
Mutual labels:  bitcoin, cryptocurrency, lightning
Crypto Supplies
Cryptocurrency circulating, maximum and total supplies
Stars: ✭ 26 (-69.77%)
Mutual labels:  bitcoin, cryptocurrency, crypto
Lightning App
An easy-to-use cross-platform Lightning wallet
Stars: ✭ 872 (+913.95%)
Mutual labels:  bitcoin, cryptocurrency, lightning
Gekko Strategies
Strategies to Gekko trading bot with backtests results and some useful tools.
Stars: ✭ 1,022 (+1088.37%)
Mutual labels:  cryptocurrency, cryptocurrency-exchanges, crypto
Siis
Trading bot including terminal, for crypto and traditionals markets. Assisted or fully automated strategy.
Stars: ✭ 45 (-47.67%)
Mutual labels:  bitcoin, cryptocurrency, crypto
Octobot
Cryptocurrency trading bot: high frequency, daily trading, social trading, ...
Stars: ✭ 706 (+720.93%)
Mutual labels:  bitcoin, cryptocurrency, exchange

opencx

Build Status License GoDoc

Cryptocurrency exchanges are some of the largest businesses in the cryptocurrency space, and their reserves are often viewed as "honeypots" of cryptocurrencies. Because of this, cryptocurrency exchanges have been a hotbed of crime in the form of hacks, front-running, wash trading, fake orderbooks, and much more. In order for cryptocurrency to be successful, we need safe, trustworthy ways to exchange cryptocurrencies, without fear that coins will be stolen, or trades executed unfairly. Additionally, the vast majority of exchange software is closed-source, and exchanges have historically not implemented technological upgrades that would substantially decrease risk for users.

OpenCX hopes to solve this problem by making it trivially easy to run a secure, scalable cryptocurrency exchange which implements many of these features, including:

  • Layer two compatibility
  • Non-custodial exchange
  • Anti front-running
  • Public orderbook auditability
  • More to come...

Additionally, all of the components of OpenCX are designed to be swappable, secure, and scalable. The goal is to fit those requirements and implement features similar to that of modern cryptocurrency exchanges, while keeping high quality software.

DO NOT use in a production environment, this project is a work in progress!

Pull requests and issues encouraged!

Demo

gif of program in normal use

Contributing

Please see the contributing file to get started with contributing!

Setup

Requirements

  • Go 1.12+
  • A MySQL Database (not needed for client)
  • GMP (GNU Multiple Precision Arithmetic Library)

Installing

Installing GMP

Debian

sudo apt-get install libgmp3-dev

macOS

brew install gmp

Clone repo and install dependencies

git clone [email protected]/mit-dci/opencx.git
cd opencx
go get -v ./...

Running opencx server / exchange

You will need to run MariaDB or any other MySQL database in-order to run the server. You can configure authentication details for your database at ~/.opencx/db/sqldb.conf

Start your database (MariaDB in this case)

Linux

sudo systemctl start mariadb

macOS

mysql.server start

Now build and run opencx

go build ./cmd/opencxd/...
./opencxd

Running opencx CLI client

go build ./cmd/ocx/...
./ocx

You can now issue any of the commands in the cxrpc README.md file.

Configuration

There are configuration options (both command line and .conf) for the client and the server, and by default home folders for these files will be created at ~/.opencx/opencxd/ and ~/.opencx/ocx/ respectively. You can decide whether or not to use the NOISE protocol for authentication, which hostnames and ports to use for connecting to certain clients, which coins you would like to support, and whether or not to support lightning.

If you'd like to add your own coins, just add a coinparam struct like in lit.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].