Skip to content

Komodo DeFi Framework v2.6.0-beta

Latest

Choose a tag to compare

@DeckerSU DeckerSU released this 01 Dec 09:02
· 4 commits to main since this release
475cdb4

SIA Integration, Solana Preview, and Enhanced UTXO Support

This release introduces SIA as a new supported blockchain protocol, expanding the Komodo DeFi Framework's multi-chain capabilities. It also delivers a preview of Solana integration, significant enhancements to UTXO coin handling including a new consolidation RPC and WalletConnect support, expirable maker orders for better order management, and numerous stability improvements across swap protocols and event streaming.

Release Notes

Features:

  • SIA Integration

    • Complete SIA coin integration was implemented by @Alrighttt, adding SIA as a new protocol with activation in both Iguana and HD modes using the m/44'/1991'/0'/0'/0' derivation path. Wallet operations, transaction history v1, and legacy swaps are supported.
    • Relevant PR: #2540
  • WalletConnect for UTXO

    • BTC/UTXO coin activation via WalletConnect was implemented by @mariocynicys, aligning UTXO with existing EVM/Cosmos activations.
    • Relevant PR: #2499
  • Expirable Maker Orders

    • A new timeout_in_minutes field was added by @onur-ozkan to setprice, allowing maker orders to automatically expire after a configurable duration while maintaining backwards compatibility.
    • Relevant PR: #2516
  • UTXO Consolidation

    • A consolidate_utxos RPC was introduced by @mariocynicys to merge small outputs and reduce fee overhead.
    • Relevant PR: #2587

Work in Progress (WIP) Features

Solana Protocol:

  • Initial wallet-only Solana implementation was added by @onur-ozkan with WASM support. Activation, token handling, and RPC wiring are available; swaps and transaction history are not yet supported.
  • Relevant PRs: #2586, #2598, #2622, #2679

Liquidity Routing:

  • A best_swap RPC was added by @dimxy that performs ask-side liquidity routing to find the optimal route for a desired outcome amount.
  • Relevant PR: #2362

Enhancements

Swaps and Order Matching:

  • Maker Banning: Makers are now banned after failed swap negotiation attempts to prevent repeated retries. #2688 by @dimxy
  • Swap v2 Improvements: Offline validation was hardened by reusing offline maker/taker checks, and visibility gates with one-shot rebroadcast fallback were added. #2646, #2618 by @shamardy
  • Orderbook Performance: The orderbook trie was split from the orderbook to reduce lock contention during propagation. #2661 by @shamardy

UTXO:

  • Fixed-Fee Option: A fixed-fee option was added for DINGO-like chains. #2454 by @dimxy
  • Chain Variant Config: UTXO chain variants were made explicit via chain_variant config, replacing hardcoded ticker handling. #2692 by @shamardy

EVM / ETH:

  • Gas Fee Policy: Gas fee policy handling was refined (adjustment params, renamed RPC) for swap/signing flows. #2533 by @dimxy

Tendermint / Cosmos:

  • Trade Fee: The get_trade_fee RPC was implemented for Tendermint-based assets. #2663 by @onur-ozkan

Event Streaming:

  • OS Signals: OS shutdown signals are now broadcast via the streaming manager. #2667 by @onur-ozkan

CLI:

  • Clap Migration: The CLI was migrated to clap, standardizing -h/--help and version output. #2510 by @BigFish2086

Bug Fixes:

Click to expand
  • Swaps:

    • Legacy swap payment broadcast intervals were reduced for faster propagation on mobile devices. #2680 by @dimxy
    • Order subscriptions on kickstart were fixed and GC of own pubkeys was skipped. #2597 by @shamardy
    • Dexfee balance checks for TPU swaps were corrected to avoid false failures. #2600 by @dimxy
  • Wallet and Keys:

    • Shielded HD derivation path formatting in get_private_keys responses was corrected. #2685 by @DeckerSU
    • A critical bug where get_private_keys returned incorrect keys in iguana mode when loading wallets from KDF encrypted storage was fixed. #2683 by @shamardy
  • Hardware Wallet:

    • Trezor UTXO/EVM calls were updated to match recent firmware changes. #2565 by @dimxy
  • UTXO / Electrum:

    • Electrum block-count queries were switched to sequential mode to avoid server bans on endpoints with strict per-IP limits. #2666 by @mariocynicys
    • Minimum trading volume for fixed-fee UTXO coins was revised to account for HTLC spend fees. #2564 by @shamardy
    • ScriptSig signature parsing was relaxed to stop rejecting valid inputs. #2591 by @dimxy
    • Block-header deserialization for AuxPoW/KAWPOW variants, PIVX Sapling, Namecoin, XEC, Cheetahcoin, and others was overhauled. #2583, #2563, #2572 by @shamardy
  • EVM / ETH:

    • Activation validation tweaks were added and EVM timeouts were increased. #2543 by @dimxy
    • ETH max withdrawal logic was fixed and underflow on low balances was prevented. #2531 by @shamardy
    • Structured EIP-1559 withdrawal errors with network-required fee info were added. #2532 by @shamardy
  • WalletConnect:

  • RPCs:

    • get_enabled_coins, task::init_trezor::init, and wc_get_sessions now accept empty params fields. #2612 by @onur-ozkan
  • Event Streaming:

    • Handling of SIGINT/SIGTERM/SIGQUIT when the signal handler runs was improved. #2669 by @onur-ozkan
    • Client-id parsing was fixed and query parameters now pass through to event-stream endpoints. #2677, #2678 by @onur-ozkan and @mariocynicys
    • iOS certificate validation for Tendermint balance streaming was fixed. #2674 by @smk762

Other Changes:

Click to expand

NB - Backwards compatibility breaking changes

ETH Clients:

EVM / ETH Withdrawal Errors:

  • EIP-1559 withdrawal failures now return structured error objects containing network-required fees; clients parsing RPC strings should handle the new schema. #2532

Fixed-Fee UTXO Coins:

  • Minimum trading volume calculation was revised for fixed-fee UTXO coins, which may change minimum order sizes on those networks. #2564, #2591, #2692

CLI Modes:

  • Unused/undocumented CLI modes were removed during the migration to clap; scripts relying on them may need updates (RPC API unchanged). #2510

New Contributors

Full Changelog: v2.5.2-beta...v2.6.0-beta

Checksum & VirusTotal Analysis:

Link SHA256
kdf-macos-universal2-475cdb4.zip 90e7ad6c9cc084cb7a9ae2da0b3f375081a03f3ae265b316a342b63525cb6a8d
kdf_475cdb4-android-aarch64.zip 56b79ab33f4b86236c120ce982b04ccc23d8cdd43b34f66398ea1f8b011becd3
kdf_475cdb4-android-armv7.zip b21e17f04df13d9b600405f880663f0fdf99c85b2b1e53db4bd85bc933345831
kdf_475cdb4-ios-aarch64.zip aa791e8f269dc56c0fc80c5ca224839074ea2ae554993ee237b98599fe0e659f
kdf_475cdb4-linux-x86-64.zip 4bfabfcfe44b33b32799a90dcd8d373ba5847d8b56e820a1ce5d702dfb76e2cc
kdf_475cdb4-wasm.zip 8f16eaf4cc401bad35f8a5c47c512b232d20f2501b38ec6c2b4bcd015c76c32f
kdf_475cdb4-win-x86-64.zip 1b845b4b36aa27a122edfd291dfe01cc8581083da4bd99941c8a66b1de069c27
libkdf-macos-universal2-475cdb4.zip 99ede51902aceed8dd07f0b47201fef759c8390cd07171dc682855e1720692f1

This release was signed by https://keybase.io/deckersu (GPG fingerprint: FD9A 772C 7300 F4C8 94D1 A819 FE50 4808 62E6 451C).

🛡 VirusTotal analysis