ss
ss
Pseudo-code in #86 1. Low impact (blue color)  2. High impact (red color)  Values match with numbers shown by Raydium
After swaps go through, the second token's balance is updated but the first one's not. This leaves end-users confused. 1. Before swap: 0.1 SRM, 0.04 USDC.  2. After swap:...
Extends upon #64 . Saves created OpenOrders and associated token accounts in cache, allowing swaps to be performed for new tokens. As a design change, a "no balance" message is...
I plan on working on this. Any resources / API on how price impact can be found? Currently plan on looking at the bid / ask slab. Will traverse down...
Please put up https://project-serum.github.io/swap-ui/. It was convenient for testing and comparing features
Currently swaps are routed through USDC and USDT markets, which is inefficient when direct routes are available. For instance there's a SRM/SOL market available, but swap goes through two markets...
Currently `context/Dex.ts` and `context/Token.ts` use a hacky approach to update state. https://github.com/project-serum/swap-ui/blob/4a92cad65a703d87afae5aebc725dc61c7e5cc2d/src/context/Dex.tsx#L227 A `useState` hook explicitly for refreshing is used after new values for `_ORDERBOOK_CACHE` are fetched via websockets. Ideally...
There's over a 30 second delay before swaps are acknowledged. A red error box shows up, which breaks user experience even though the transaction goes through. We're noticing this for...
Currently swaps fail if the referral account doesn't have the right associated token account present. It is not practical to anticipate and create every token account in advance, especially as...