Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Liquidity graph view #16

Open
3 tasks
hdevalence opened this issue May 7, 2024 · 0 comments
Open
3 tasks

Liquidity graph view #16

hdevalence opened this issue May 7, 2024 · 0 comments

Comments

@hdevalence
Copy link
Member

Penumbra’s on-chain routing means liquidity should be thought of as existing on a graph, rather than in individual pairs or pools. To highlight this to users, the main view of the dashboard should be an interactive graph, probably using SigmaJS or similar tooling. The vertices of the graph should be the assets, and the edges should be trading pairs. The graph view should show users an overview of all of the liquidity in the system, allowing them to see which assets have the most volume, deepest liquidity, and which pairs have direct vs indirect connections.

This should eventually be the landing page for the explorer.

  • Add basic SigmaJS graph showing just vertices and edges
  • Navigation from a node or edge in the graph to a trading pair view. The app should have a default numeraire, set initially to test_usd but configurable so that it can be set to USDC later, so that clicking on a node (asset) goes to the trading pair view for that token against the numeraire.
  • Augment graph styling to visualize DEX data (e.g., volume, slippage, etc). This can be done later.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🗄️ Backlog
Development

No branches or pull requests

1 participant