Bitcoin Forum
May 26, 2024, 10:19:29 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Where can I understand the technical aspect of AMMs?  (Read 82 times)
Coral99 (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
August 19, 2021, 01:46:53 PM
 #1

Hi

So looking at AMMs, like Pancake Swap.
Where can I find out about the technical aspects.

Some thought come to mind are PCS currently relies on a third party wallet such as metamask, so how can a transaction be made without a wallet, for example if all you have is your private key.
Another question is, what happens to a transaction if it gets stuck, typically I wait for a few minutes for a transaction to confirm. Are there any safety measures like if the tx doesnt confirm after hours or days the tx can be cancelled?
Also when swapping can you guarantee you get the swap at the price when you swap, so if it takes a while for the tx to confirm the price could change, and you could receive less tokens than you thought you were swapping for.

So for aspects such as above where can I find out about the technical aspects of AMMs?
vv181
Legendary
*
Offline Offline

Activity: 1932
Merit: 1273


View Profile
August 19, 2021, 09:53:41 PM
Merited by DarkStar_ (10), The Sceptical Chymist (5)
 #2

Some thought come to mind are PCS currently relies on a third party wallet such as metamask, so how can a transaction be made without a wallet, for example if all you have is your private key.
You can't. you need a wallet to be able to make the transaction.

Another question is, what happens to a transaction if it gets stuck, typically I wait for a few minutes for a transaction to confirm. Are there any safety measures like if the tx doesnt confirm after hours or days the tx can be cancelled?
Pancakeswap or Uniswap does have a feature to mitigate that, it is called transaction deadline, each dex has its own default number, like Pancakeswap 20min and Uniswap 30min. If the time passed the deadline, the transaction/swap will be canceled.
Also when swapping can you guarantee you get the swap at the price when you swap, so if it takes a while for the tx to confirm the price could change, and you could receive less tokens than you thought you were swapping for.
The guarantee is the minimum slippage tolerance that you pick.

So for aspects such as above where can I find out about the technical aspects of AMMs?
The docs page of the AMM, usually explains all of that above.
https://docs.uniswap.org/
https://docs.pancakeswap.finance/
RussianEnglishTranslation
Jr. Member
*
Offline Offline

Activity: 840
Merit: 6


View Profile
August 20, 2021, 04:29:09 AM
 #3

Hi

So looking at AMMs, like Pancake Swap.
Where can I find out about the technical aspects.

Some thought come to mind are PCS currently relies on a third party wallet such as metamask, so how can a transaction be made without a wallet, for example if all you have is your private key.
Another question is, what happens to a transaction if it gets stuck, typically I wait for a few minutes for a transaction to confirm. Are there any safety measures like if the tx doesnt confirm after hours or days the tx can be cancelled?
Also when swapping can you guarantee you get the swap at the price when you swap, so if it takes a while for the tx to confirm the price could change, and you could receive less tokens than you thought you were swapping for.

So for aspects such as above where can I find out about the technical aspects of AMMs?
Ref Finance doesn't require metamask because it's on NEAR protocol, which means you only need to log into your webwallet on a website and you can access all DApps. No more metamask required. Using DeFi on NEAR is just like using a normal website, it's easy.
RussianEnglishTranslation
Jr. Member
*
Offline Offline

Activity: 840
Merit: 6


View Profile
August 20, 2021, 04:30:10 AM
 #4

Hi

So looking at AMMs, like Pancake Swap.
Where can I find out about the technical aspects.

Some thought come to mind are PCS currently relies on a third party wallet such as metamask, so how can a transaction be made without a wallet, for example if all you have is your private key.
Another question is, what happens to a transaction if it gets stuck, typically I wait for a few minutes for a transaction to confirm. Are there any safety measures like if the tx doesnt confirm after hours or days the tx can be cancelled?
Also when swapping can you guarantee you get the swap at the price when you swap, so if it takes a while for the tx to confirm the price could change, and you could receive less tokens than you thought you were swapping for.

So for aspects such as above where can I find out about the technical aspects of AMMs?
Ref Finance doesn't require metamask because it's on NEAR protocol, which means you only need to log into your webwallet on a website and you can access all DApps. No more metamask required. Using DeFi on NEAR is just like using a normal website, it's easy.
I forgot to mention, there are no high gas fees- they are a fraction of a penny and it auto calculates the fee and there is no time out, the trade is instant.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!