Closed Try-Parser closed 4 months ago
Hi @Try-Parser - thanks for your question.
The library does support issued currency codes that are longer than 3 characters. However, you'll need to use a special encoding (hex, plus padding). Only XRP
and 3-character ISO codes are supported in raw text.
For an example of how this can work in Java, see here.
And for a full description, you can read more here about how currency codes work.
Hi @sappenin that make sense thank you for responding ill close this ticket
Hi guys i just have questions if this library only support 3 character coin in CurrencyType as i saw in the
https://github.com/XRPLF/xrpl4j/blob/3c4a07692e8debf1aacb7ef924a47d8c8b2e07fa/xrpl4j-core/src/main/java/org/xrpl/xrpl4j/codec/binary/types/CurrencyType.java#L65-L72
example :