Solana: Decimal precision error for token in phantom
Oshibba Solana Phantom: Tsesiac Cost oshchyk on Tikeno
As distilled -in -law (dapp), which changes the tokens from the liquidity pool, you are supposed to not coincide with the problem of Solan blockchain data. One general problem that can take the way to use Solana Pantom introduces the most token use. In this condition, we did not satisfy why it could be protected and intended.
Problem: Tessesiatic toss
After replacing the tokens from the Single liquidity fund in the second, Phantom Point will select the sum of ten -format (for example, 1000 Sol). However, if you find amounts like 1000, the automatic interconnecting part of the phantom is overall available. For example:
- If you have $ 10,000,000.
- From the general amount of crashes in 1000 tokens (ten form) per 1/10,000,000 000.
Problem
The problem occurs when the conversion does not eat constant. Fiction or a tenth of the liquidity basin in the real wall of the pool, not accurately shown in Solana tokens, may be satisfied. This can be accepted upon demand for demand on tokens, so when the phantom is able to disperse the wrong behavior.
That
Some factors are adjusted with this score:
1.
- A small presentation : Some token or liquidity funds may be satisfied with the fraction that is not primarily shown in the token system.
3.
** Resolution: Kutter Phantom on Imper
To solve this problem, you can set your Koshalek Solana Pantom tenth edge suffering:
- Set k
Settings> Koshelki> Solan Koshelek
- Select the filament pool where you want to sweep the tokens.
- Under
Settings Token , Switch
Small Introduction.
Primer configuration
For example, if you have a liquidity fund with a small presentation:
`JSON
{
"Name": "Fluid",
"Simvol": "X",
"Tip": "Flowing",
"MinAMount": 1000,
"Maxamount": 1000000000,
“Fractionated presentation”: Pravda,
}
With this configuration, the phantom will dissipate the amount of tokens in a small form (for example, 1000/10,000).
Best Projects
To continue to reduce the above scoop:
- Revenge that your licking pool has a slight presentation.
- Regularly weld the configuration of the koshlka to reduce all changes in the protocol or marker Solana.
The next stage and the best practitioners, you can reduce the most ticket dying wealth to replace tokens with solanium with help pantoma.