-
Notifications
You must be signed in to change notification settings - Fork 9
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
[BRO-9] Add addCIS2Tokens to the wCCD example #452
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
soerenbf
reviewed
Apr 3, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works well, but I have the following suggestions:
Co-authored-by: Søren Bruus Zeppelin <[email protected]>
Co-authored-by: Søren Bruus Zeppelin <[email protected]>
Co-authored-by: Søren Bruus Zeppelin <[email protected]>
Clean yarn.lock
Use BrowserWalletConnector instead of detectConcordiumProvider
Ivan-Mahda
commented
Apr 3, 2024
abizjak
approved these changes
Apr 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
It would be both good user experience to suggest to add the newly wrapped token to the user's wallet, as well as a good example to demonstrate this functionality in an example app to spread its visibility.
Changes
Created new button "Add Token to wallet" that calls addCIS2Tokens from browser-wallet-api-helpers
Checklist
hard-to-understand areas.
CLA acceptance
_Remove if not applicable.
By submitting the contribution I accept the terms and conditions of the
Contributor License Agreement v1.0
link: https://developers.concordium.com/CLAs/Contributor-License-Agreement-v1.0.pdf
I accept the above linked CLA.
![Screenshot from 2024-03-27 12-24-21](https://private-user-images.githubusercontent.com/164325149/317247333-b0fea972-ce04-42ec-ad8a-7e3e1313a726.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzOTU0NzAsIm5iZiI6MTczOTM5NTE3MCwicGF0aCI6Ii8xNjQzMjUxNDkvMzE3MjQ3MzMzLWIwZmVhOTcyLWNlMDQtNDJlYy1hZDhhLTdlM2UxMzEzYTcyNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQyMTE5MzBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lMzU5NDIyYzViYzA3NjQzYjg0N2U5ZDYxNzQzNTNjNDY2ZTVhZjI4NTZhMWM3NTMxYTMxZGIwYTM4ZjYwZjFmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.j4McjsS5OIisIHtN5M46ZmNFDHIbi0WJ5qup-L2R8Go)
Screencast from 27.03.24 12:13:57.webm