Skip to content

Add EURC and XLM assets from Pendulum #1

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

Closed
wants to merge 69 commits into from

Conversation

gianfra-t
Copy link
Collaborator

@gianfra-t gianfra-t commented Apr 16, 2025

Related issue: Tasks/#434

@gianfra-t gianfra-t changed the title add eurc and xlm, asset and config structure Add EURC and XLM assets from Pendulum Apr 17, 2025
@gianfra-t gianfra-t marked this pull request as ready for review April 17, 2025 19:15
@gianfra-t gianfra-t requested a review from ebma April 17, 2025 19:15
Copy link
Member

@ebma ebma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please link to the related ticket in the description of this PR.

new AssetRoute({
source: {
asset: eurc,
balance: BalanceBuilder().substrate().system().account(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure that this is correct? Only the native asset balance can be accessed in the system::account() query so I guess this is wrong?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may be right, I didn't think about this and it wasn't important to create the transaction itself according to the tests, but it may be for the UI.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha yeah I guess it's important, otherwise the balance won't show correctly.

Copy link
Member

@ebma ebma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it looks good to me. Feel free to not merge this PR but create a new PR to the upstream repository with the changes on this branch.

@gianfra-t
Copy link
Collaborator Author

Thanks! Here is the PR to upstream. I think last step is to test once they provide the preview. And add the icons, but for that we need to confirm the id's are okay.

@gianfra-t gianfra-t closed this May 9, 2025
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.

6 participants