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

tech debt: make a proper udenom package #1650

Open
danwt opened this issue Dec 12, 2024 · 0 comments
Open

tech debt: make a proper udenom package #1650

danwt opened this issue Dec 12, 2024 · 0 comments

Comments

@danwt
Copy link
Contributor

danwt commented Dec 12, 2024

Base Denom: The original token name on its source chain (e.g., uatom).
Trace: The sequence of IBC transfers (port/channel hops) taken by the token (e.g., transfer/channel-0/transfer/channel-1).
Denom Trace: The concatenation of the trace and the base denom (e.g., transfer/channel-0/transfer/channel-1/uatom).
Hash: The SHA-256 hash of the denom trace, resulting in a unique string representing the full trace.
IBC Denom: The actual token denomination displayed on the receiving chain, which is ibc/{hash}.
raw Denom: a base denom or denom trace

We should use correct terms consistently, our current code in this area is immensely confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant