e-Money.com
Published in

e-Money.com

A tour of the e-Money DEX

The bread and butter of e-Money continues to be our currency-backed, interest-bearing tokens.

To maximise the utility of our tokens, we are introducing a new DEX into the Cosmos ecosystem, boosting the utility of our tokens while offering a valuable service to the community.

It is designed from the group up to ensure a superior trading experience:

  • No execution fees are charged on trades. Only transaction fees are paid.

There is a classic saying that a GIF says more than a thousand words. In that spirit, we hope you’ll enjoy this quick tour!

Let’s start with the cast of characters: Alice, Bob and Carlo — Carols younger brother. Each of them wants to exchange their tokens to something else.

Alice places an order to exchange eeur tokens for echf:

After adding the order, Alice’s account balance is unchanged because the order is not yet filled. No tokens are locked up and only the transaction fees were deducted.

Further, there was no initial listing process before placing the order: The DEX creates the required eeurechf instrument after verifying that Alice has a sufficient balance and that echf is a known denomination.

Independently of Alice, Bob has decided to exchange some echfeusd:

Did you notice how quickly the order was added? The on-demand block generation ensures that transactions are finalised in approximately 500ms.

Unfortunately Alice and Bob’s orders can’t be matched, as they are for different instruments. Enter Carlo, looking to exchange eusdeeur.

As we can see below, Carlo’s order is immediately matched against those of Alice and Bob. It first matches with Bob (eusdechf) and then proceeds to match the received echf with Alice (echfeeur).

Carlo never notices that his order traded through an unrelated token. The matching engine also ensures that Carlo doesn’t end up with any unwanted echf.

In case there were a better direct price (eeureusd) in the market, Carlo’s order would have been matched with that. The matching engine ensures that trades always occur at the best available price, be it directly or via multiple instruments.

We can now see that all three participants have had their orders filled and any remaining orders have been updated:

In closing, the above demonstrates the core functionality of the e-Money DEX using the command-line tools.

We will obviously be working on providing a web-based user interface similar to what people have come to expect, and are working with web and mobile wallet providers to ensure integration of our exchange functionality.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store