vegaprotocol / frontend-monorepo

Toolkit for building apps that interact with Vega
https://vega.xyz
MIT License
25 stars 18 forks source link

Cross asset deposit using Vega spot market #6397

Open JonRay15 opened 6 months ago

JonRay15 commented 6 months ago

The Chore

Suggestion here was that if there were sufficiently liquid spot markets the network could etect if you are trying to deposit a certain asset and suggest it would be cheaper to deposit another asset and swap it on chain.

ie.

I want to deposit USDT ETH The network knows that USDT ARB deposits are much cheaper and that there is a liquid USDT ETH / USDT ARB market The network suggests to instead deposit USDT ARB and then swap to USDT ETH. The network executes that chain of activity for you.

Tasks

Additional details / background info

JonRay15 commented 4 months ago

There is not enough spot liquidity at the moment to justify looking at this