CryptoBlades / cryptoblades

535 stars 258 forks source link

[Feature] - DEX implementation #1732

Open MrBaptista69 opened 1 year ago

MrBaptista69 commented 1 year ago

Prerequisites

Describe the feature and its requirements

Having an Automated Market Maker, that would swap tokens while holding the ratio of X : Y

Might need more addons during the development of it, which will be posted here.

Is your feature request related to an existing issue? Please describe.

Nope

Is there anything stopping this feature being completed?

FE part only, but devs have been in touch about it.

Describe alternatives you've considered

//Chris' edit

We want to take a different approach and implement a uniswap fork for our Dex system. The instruction on how to do it can be found in here: https://onout.org/uniswapFork/

Steps:

  1. Fork contracts
  2. Adjust all the required variables and constants (as per instruction)
  3. Deploy contracts to required chains
  4. Create a frontend to use Uniswap's contracts features. (might be a big one!)

Note: there is also a frontend we can try to use/base our solution on

Additional context

No response

MrBaptista69 commented 1 year ago

Shall check it out to see its current state