Author

Topic: Where can I understand the technical aspect of AMMs? (Read 103 times)

jr. member
Activity: 840
Merit: 6
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.
jr. member
Activity: 840
Merit: 6
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.
legendary
Activity: 1932
Merit: 1273
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/
newbie
Activity: 5
Merit: 0
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?
Jump to: