turbos-finance / turbos-clmm-sdk

6 stars 5 forks source link

Request for trade functionality in SDK and new public function for aggregator integration #1

Open Godxia opened 1 year ago

Godxia commented 1 year ago

Hello @turbo-team,

I've been using the Turbo DEX SDK and noticed that it currently lacks the trade functionality. I was wondering if there are any plans to add this feature in the near future? Trading is a core functionality for a DEX, and having it readily available in the SDK would be highly beneficial for developers.

In addition, I would like to propose a new public function in the contract to better integrate Turbo DEX with aggregator services. It would be great if you could add a function with the following signature:

public fun<A, B>(coinA: Coin): Coin

This function would allow aggregators to easily fetch the output Coin given an input Coin, making it simpler to integrate Turbo DEX into their platforms.

I hope you will consider these suggestions for improving the Turbo DEX SDK and contract. Please let me know if you have any questions or need additional information.

Thank you for your time and consideration.