On this page

latest contributor to this doc

Last Edit:

@gcharang

Additional Notes

The Komodo DeFi Framework API is built to have a core component that can serve many front-end graphical-user interfaces (GUIs).

Various front-end GUIs exist in our ecosystem, some of them built by the volunteer efforts of our community members.

This also allows developers and entrepreneurs the freedom to create your own front-end implementation for your own purposes. For example, you can create your own front-end implementation that acts on the same atomic-swap network as other communities. Or, you could make a front-end implementation for your own private network.

The documentation here only concerns the core component, the Komodo DeFi Framework API. This component is typically accessed via an API or a terminal interface.

Documentation for GUIs based on Komodo DeFi Framework API are not yet available.

Users who worked with the previous version of the Komodo DeFi Framework API software, MarketMaker 1.0 (MM1), will note several differences with the new release.

MM1 used nanomsg technology for its off-chain network layer (e.g. orderbook propagation, ordermatching, client traffic routing, and other technologies that are not active on the blockchain itself).

Komodo DeFi Framework API replaced nanomsg with Rust TCP implementation and also uses libtorrent as a torrent/DHT network system for the off-chain network layer. This p2p software is widely used and highly reliable, granting a greater development experience.

MM1 was based on ANSI C.

For Komodo DeFi Framework API we ported the system to Rust, utilizing the cargo ecosystem. Internal benchmarks prove this to be more efficient. Furthermore, the Rust code base supports mobile devices, including Android & iOS. This is a key benefit, as we expect mobile devices to be a key component of Komodo DeFi Framework API adoption.

MM1 had limited multi-tasking capabilities. Also, the bob-side technology was not reliable when using MM1 in lite mode (SPV), wherein blockchain syncing is not required for end-users.

Komodo DeFi Framework API has multi-threading. This allows it to reliably manage multiple concurrent requests.

Komodo is pleased to announce that Komodo DeFi Framework API is preparing for release on compatible Android and iOS devices. The software is currently undergoing quality tests and external reviews before publication.

Notable aspects of the Mobile Komodo DeFi Framework software include:

  • Optimization for low-data usage and CPU consumption
  • Low storage requirements (less than 50 MB)
  • Integrates seamlessly with the desktop Komodo DeFi Framework API software

Through the Komodo API, mobile-device developers can integrate Komodo DeFi Framework API for Mobile into other software packages.

Please reach out to our team on Discord to be involved with the software release.

All coins that are built on the BTC and ETH core software can be added to the Komodo DeFi Framework API quickly and simply. Coins built on other software frameworks may be able to be added as well, depending on specific details. Specifically, a coin must support functionality that is similar to the "CheckLockTimeVerify" of the Bitcoin protocol, wherein a utxo can be locked for a specific amount of time and then released in a manner determined by the developer. For more information, please reach out to our team on Discord.

To add your BTC or ETH-based coin to Komodo DeFi Framework API, first follow the linked checklist below:

Link to checklist for adding coin to Komodo DeFi Framework API

Upon completing the checklist, please submit your proposed coin configuration files to the same repository with a pull request.

Komodo DeFi Framework holds support for SPV Electrum-based coins. This feature allows a user to trade with their coins without downloading their coins' blockchain data. This feature is available for all Bitcoin-protocol based coins running native-coin daemons, Ethereum, and Ethereum-based ERC20 tokens. The Komodo DeFi Framework API is built to handle the nature of the SPV requirements, providing additional functionality to developers.

Komodo DeFi Framework also enables a feature known as Liquidity Multiplication, a protocol that allows the same funds to be used in multiple requests on Komodo DeFi Framework "orderbooks." The first request to fill completes the trade, and all outstanding requests are immediately cancelled. This feature is available to the user when providing liquidity to the exchange (called a "Bob-side" trade).

Liquidity Multiplication therefore allows an initial amount of funding to create an exponentially higher amount of liquidity on the exchange. This also provides a special advantage for traders that like to wait for below-market dumps. While this feature is something that any other exchange could implement, few do.

On Komodo DeFi Framework, all orderbook entries are 100% backed by real funds, as opposed to a centralized exchange’s vouchers, which may be one reason why Komodo DeFi Framework can more readily offer this feature.