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

Make warp route ID nomenclature stable #533

Open
jmrossy opened this issue Jan 29, 2025 · 1 comment
Open

Make warp route ID nomenclature stable #533

jmrossy opened this issue Jan 29, 2025 · 1 comment

Comments

@jmrossy
Copy link
Collaborator

jmrossy commented Jan 29, 2025

Currently, as new chains are added to a route, the route ID changes. There would be some benefit to IDs that don't change because once they change, Warp UI route whitelists must be updated.

The current nomenclature was chosen because we wanted IDs that satisfy all these requirements:

  1. Token symbol-oriented
  2. Avoids route ambiguity (e.g. btwn two USDC routes)
  3. Derivable from a WarpCore config without the need for user input (e.g. no prompting for an invented label)
  4. Generally human readable (i.e. no random hash for a name)
@jmrossy
Copy link
Collaborator Author

jmrossy commented Jan 29, 2025

The idea of custom labels for IDs (e.g. USDC/renzo) has been proposed but I'm personally skeptical. I'm worried we'll end up with an inconsistent mess of arbitrary names without a good way to map back to what the route really is. Not sure though, might work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant