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

USDC-on-Polygon integration #465

Merged
merged 73 commits into from
Oct 22, 2023
Merged

USDC-on-Polygon integration #465

merged 73 commits into from
Oct 22, 2023

Conversation

sisou
Copy link
Member

@sisou sisou commented Mar 3, 2023

Generate Polygon address(es) when creating a new account or logging in, and add request to sign OpenGSN relay requests for transferring USDC via Nimiq's USDC-transfer-contract. Also add USDC support to sign-swap request(s).

sisou and others added 29 commits February 3, 2023 08:57
TODOs:
- Copying ethers.js into dist folder and replacing script path
Reason is that ethers.BigNumber cannot represent decimals, only integers.
Converted with browserify.
Use as `new OpenGSN.TypedRequestData()`
Instead of a Polygon transaction.
Misses parsing of RelayRequest, is currently trusting the input.
Remove identicon selection, instead focus more on explaining Login Files.
Also migrate transifex config to new client.
@sisou sisou self-assigned this Mar 3, 2023
danimoh and others added 23 commits October 22, 2023 16:06
Update typescript such that projects can add the Keyguard client via gitpkg without it failing
to build if they include other dependencies which use newer typescript syntax, which somehow
affect the client build.

Also setting the tsconfig.json target to es2021 as our rollup version is not compatible with
the current esnext yet.
To better reflect that this balance relates to the USDC token, not Polygon's native currency.
To reflect that no LoginFile selection is happening anymore.
@sisou sisou merged commit 8d2339a into master Oct 22, 2023
2 checks passed
@sisou sisou deleted the usdc branch October 22, 2023 14:09
danimoh added a commit that referenced this pull request Nov 12, 2023
The Overlay component is not used in the create flow or anywhere else anymore since
USDC support was merged (PR #465), and is incompatible with the changes in the iOS
pointer-events bug fix (PR #470), where pointer-events were enabled on the overlay-frame
when they shouldn't. The incompatibility does not show directly anymore since PR #465 was
merged, but showed on the master branch before PR #465 that PR #470 was originally targeting.
sisou added a commit that referenced this pull request Nov 26, 2023
sisou added a commit that referenced this pull request Nov 26, 2023
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.

4 participants