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

feature(ripple): Add support for non-standard currency code #4235

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

satoshiotomakan
Copy link
Collaborator

Description

Currently, WalletCore supports ISO-4217 currency codes only (3 symbols, e.g. USD) when generating transactions (TrustSet, TokenPayment).
This PR adds support for non-standard currency code like 524C555344000000000000000000000000000000 which requires a different serialization.

Ref: https://xrpl.org/docs/references/protocol/binary-format#currency-codes

How to test

Run C++ tests

Types of changes

Checklist

  • Create pull request as draft initially, unless its complete.
  • Add tests to cover changes as needed.
  • Update documentation as needed.
  • If there is a related Issue, mention it in the description.

If you're adding a new blockchain

  • I have read the guidelines for adding a new blockchain.

Copy link

Binary size comparison

➡️ aarch64-apple-ios: 12.77 MB

➡️ aarch64-apple-ios-sim: 12.77 MB

➡️ aarch64-linux-android: 16.56 MB

➡️ armv7-linux-androideabi: 14.00 MB

➡️ wasm32-unknown-emscripten: 11.72 MB

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

Successfully merging this pull request may close these issues.

1 participant