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

Integrate Onramper #1147

Merged
merged 6 commits into from
Feb 3, 2025
Merged

Integrate Onramper #1147

merged 6 commits into from
Feb 3, 2025

Conversation

nop33
Copy link
Member

@nop33 nop33 commented Jan 17, 2025

  • Translation strings need to be updated in Crowdin
  • ALPH needs to be enabled in Onramper

Useful resources:

Sorry, something went wrong.

Copy link

changeset-bot bot commented Jan 17, 2025

🦋 Changeset detected

Latest commit: c489591

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@alephium/mobile-wallet Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@nop33 nop33 added the 📱 MW Mobile wallet label Jan 17, 2025
@nop33
Copy link
Member Author

nop33 commented Jan 27, 2025

Current issue is that the wallets argument is not properly initializing the Banxa UI. I reported it on TG.

nop33 added 5 commits February 3, 2025 10:59

Verified

This commit was signed with the committer’s verified signature.
danepowell Dane Powell
@nop33 nop33 requested a review from mvaivre February 3, 2025 10:34
@nop33 nop33 marked this pull request as ready for review February 3, 2025 10:34
`&containerColor=${theme.bg.back1.slice(1)}` +
`&primaryTextColor=${theme.font.primary.slice(1)}` +
`&primaryColor=${theme.global.accent.slice(1)}` +
`&secondaryColor=${theme.global.complementary.slice(1)}` +
Copy link
Member

Choose a reason for hiding this comment

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

Let's remove this field. It's a bit much like this, and I've tested, seems to work great without it.

Copy link
Member Author

Choose a reason for hiding this comment

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

done

'https://buy.onramper.com/' +
'?mode=buy' +
`&onlyCryptos=${ALPH_CODE}` +
`&successRedirectUrl=${encodeURIComponent('https://alephium.org/banxa-callback/')}` +
Copy link
Member

Choose a reason for hiding this comment

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

nit: we could rename the URL as https://alephium.org/onramp-callback/

Copy link
Member Author

@nop33 nop33 Feb 3, 2025

Choose a reason for hiding this comment

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

We could yes. But we should be careful to not break backwards compatibility when changing it on the website.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

Copy link
Member

@mvaivre mvaivre left a comment

Choose a reason for hiding this comment

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

LGTM! Just a couple of small comments :)

@nop33 nop33 requested a review from mvaivre February 3, 2025 14:54
@nop33 nop33 merged commit 6352523 into next Feb 3, 2025
5 checks passed
@nop33 nop33 deleted the onramper branch March 4, 2025 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📱 MW Mobile wallet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants