swarm-desktop
swarm-desktop copied to clipboard
Do not depend on https://tokenservice.ethswarm.org/token_price
https://www.ethswarm.org/get-bzz fetches the price from https://bff.cow.fi/1/tokens/0x19062190B1925b5b6689D7073fDfC8c2976EF8Cb/usdPrice
Another idea is to call the Uniswap smart contract directly to fetch price from chain
@Kexort More info: it seems the tokenservice endpoint provides the price from the (shut down) bonding curve. Therefor it is stuck at $0.45, which is highly off. This causes inaccurate swap estimations in the Bee Dashboard counterpart of this feature.