Methods to convert currency name to currency code
It would be nice to have a util method to convert currency name with more than 4 digits into currency code.
By "currency code", do you mean the 40-character hexadecimal string?
Yes.
The 4-digit currency code (SOLO) is represented as a 40-char HEX value and it would be useful to have these parsers.
HEX values are also used outside of common currency codes, so that would need to be taken into account (e.g. AMM's LP Token).
https://github.com/Transia-RnD/xrpl-helpers/blob/main/ts/src/index.ts
can i work on this issue?
can i work on this issue?
Yes