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

New API #9

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

New API #9

wants to merge 9 commits into from

Conversation

Twey
Copy link
Collaborator

@Twey Twey commented Sep 4, 2024

This PR introduces a new non-static API. It has objects for:

  • a wallet
  • the protocol client
  • the frontend-available interface, proxied to the client

Now that we have a long-lived client object, it also runs a chain listener to process messages. However, there is a bug in which, once started, the chain listener will block the service worker's thread, preventing it from processing any more messages.

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.

1 participant