This is the first time we’re integrating an exchange on the Mixin network into CCXT, but the process is actually more straightforward than expected.
CCXT started as an SDK to simplify connecting to various centralized exchanges. However, with the recent addition of Hyperliquid—a decentralized exchange on an EVM network—CCXT is expanding its reach, paving the way for more DEX integrations across different networks.
To add a new exchange to CCXT, we create a file under /ts/src/
named [exchange-name].ts
. This file defines the methods available when initializing an instance of the exchange. It inherits the base class in /ts/src/base/Exchange.ts
, which contains all possible methods for an exchange. We implement only the necessary ones for the new exchange in the new file.