Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transactions directly from the wallets #2

Open
dobosmarton opened this issue Jan 22, 2022 · 0 comments · May be fixed by #6
Open

Transactions directly from the wallets #2

dobosmarton opened this issue Jan 22, 2022 · 0 comments · May be fixed by #6
Assignees
Labels
enhancement New feature or request

Comments

@dobosmarton
Copy link
Contributor

dobosmarton commented Jan 22, 2022

For now, the users need to faucet the tokens on the platform before swapping. This is not the right way to build a DEX. We should support any token transaction directly from the user's wallet.

At first, let's have only one liquidity pool with predefined tokens but the tokens have to be valid tokens. We will have a new issue for creating new liquidity pools dynamically.

Steps

  1. Research about the topic, how works these kinds of transactions. Keep in mind that we have liquidity pools and the swap mechanism needs to work based on the available liquidity pools.

  2. Solidity smart contract implementation.

Exmaples

  1. Trading Joe Avalanche DEX: https://github.com/traderjoe-xyz/joe-core

  2. Pangolin Avalanche DEX: https://github.com/pangolindex/exchange-contracts

  3. Uniswap: https://github.com/Uniswap/v2-core (we can use the v2 because probably it is simpler than v3)

@dobosmarton dobosmarton added the enhancement New feature or request label Jan 22, 2022
@dobosmarton dobosmarton self-assigned this Jan 28, 2022
@dobosmarton dobosmarton linked a pull request Jan 29, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant