Very new to this and can not really find anything on this, these two numbers 50 and 10000 do they = the same slippage?
Is this auto slippage?
I want 20% slippage for a launch today.
async function swapTokens(token1, token2, amount, slippage = **"50"**) { //slippage
slippageTolerance = new Percentslippage, "**10000**"; // 50 bips, or 0.50% - Slippage tolerance
Best Answer
You can't set a fix slippage for tokens. If your goal is to set a fixed percent slippage for DEX swaps, the answer is you can't do it.
Slippage is related to liqudity pools and the token reserves in it. Big liquidity pools have low slippage, small lp's have a higher slippage as less reserve is available from the pair token.