Cosmos Ecosystem Interface + Sifchain DEX Connector πŸ”Œ Discussion

Dear Hummingbot community,

we have started this thread to discuss all things related to the Cosmos ecosystem-wide interface and Sifchain DEX connector, built with Gateway V2 by Pecunia.Finance. These contributions are linked, as we developed the interface to facilitate the Sifchain DEX connector, in the first place.

What is Sifchain?

Sifchain is a decentralized exchange built with the Cosmos SDK, connecting blockchains together using an advanced bridging technology called β€˜Peggy’, which enables routing from Ethereum mainnet to Cosmos, then from Sifchain to the other Cosmos-based blockchains via the Inter-Blockchain Communication (IBC) protocol.

Sifchain is preparing to release Peggy 2.0, which improves the design by allowing the bridging of assets more easily across all Ethereum Virtual Machine (EVM), non-EVM, and Cosmos blockchains.

What is special about Cosmos?

Because Cosmos-based chains are Application-Specific Blockchains, the blockchain and application are usually the same. This is in contrast to blockchains like Ethereum, where applications (such as all the DeFi smart contracts) are on-chain.

Due to the architecture of Hummingbot, Pull Requests must address both the blockchain and application connections. In Cosmos, the chain and the application usually share the same logic.

Improvement Proposal

Having originally considered only two PR (Gateway+Client), consultation with Hummingbot developers has lead us to adjust to four, a separate PR for each component added:

1️ Cosmos-based Interface which is a scalable abstraction layer of the components used in every Cosmos-related protocol. This interface will facilitate building connectors in the Cosmos ecosystem in the future, for everyone.

2️ Sifchain as a Chain, which establishes the Sifchain protocol within the Interface (protocol communication to the Sifchain RPC).

3️ Sifchain DEX as a Connector, to enable the Sifchain DEX Endpoints.

4️ Client Side update, to complete the API which consumes the Endpoints of the Gateway.

Next Steps

  • :speech_balloon: Monitor and apply community feedback on this post.
  • :memo: We are ready submit a Snapshot for the first PR on 16/10/22.
    • PR1 is a dependency for the remaining Snapshots/PRs.


Please note: Pecunia.Finance is available for questions and opportunities to build other connectors and more.

Hi all!

The first PRP Snapshot [PRP-5658] has been submitted: Snapshot

Cheers and thanks for your support!

Hi guys

Do you already have MR 2 and 3 public? I’m currently investigating the Kujira Cosmos DEX which would use your pending MR1 as a base for Cosmos too.

1 Like

Hi Silvermind,

Our PR2 and PR3 are in development but currently awaiting stability in the Sifchain SDK to proceed. We expect they will be shortly following PR1.

Cheers :nerd_face:

1 Like

Hi all,

In light of recent issues with Sifchain DAO and DEX, we have decided not to pursue a Sifchain DEX connector at this time. However…

The Cosmos Ecosystem Interface is still fully on track! :rocket:

All tests are passed for PR-5658 and it is awaiting merge. Once released, you can use it to build your own Cosmos-based connector :electric_plug:

Pecunia.Finance will continue to pursue Cosmos-based and other DEXs for connector development. We look forward to continue contributing meaningful code to Hummingbot :pray: