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

Donation: Transaction hashes with webapp wallets #73

Open
carina-akaia opened this issue Jun 26, 2024 · 0 comments · Fixed by #81
Open

Donation: Transaction hashes with webapp wallets #73

carina-akaia opened this issue Jun 26, 2024 · 0 comments · Fixed by #81
Assignees
Milestone

Comments

@carina-akaia
Copy link
Collaborator

carina-akaia commented Jun 26, 2024

Currently, the donation modal state is managed internally, without connection to the router, and thus providing the actual URL as callbackUrl to the donation callback in order to retrieve the transaction hash, will reload the page, effectively closing the modal.

The objective of this task is to place the donation modal under control of the router, so that the modal state can be preserved and / or restored via the URL parameters.

UPD ( July 3, 2024, will be continued in #120 )

It became clear that not every NEAR wallet follows the scenario with callback URLs to return transaction hashes.
Further investigation needed to figure out an alternative solution that will allow retrieving transaction hashes regardless of the wallet specifics. Preliminary discussion conclusion implies adding adjustments to Naxios that would allow returning transaction metadata along with the function call result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants