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

feat: add event listeners for bridgeTokensBack() and bridgeNonFungibleTokensBack() #11

Open
thomas779 opened this issue Nov 23, 2023 · 0 comments
Labels
HP High Priority

Comments

@thomas779
Copy link
Member

Problem
The frontend lacks the necessary event listeners to handle bridgeTokensBack() and bridgeNonFungibleTokensBack() events emitted by the smart contract. This omission hinders the real-time update of UI components and user feedback.

Solution
Implement event listeners in the frontend to capture and handle events emitted by the smart contract for bridgeTokensBack() and bridgeNonFungibleTokensBack().

Requirements

  • Create and set up listeners for both bridgeTokensBack() and bridgeNonFungibleTokensBack() events.
  • Ensure that the UI is updated in real-time when these events are emitted.
  • Implement any additional logic required to handle these events gracefully.

Additional Information
This step is crucial for providing a smooth and responsive user experience. It ensures that users receive immediate feedback on their actions related to bridging tokens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HP High Priority
Projects
None yet
Development

No branches or pull requests

1 participant