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

Convert Back to Async Wallet Interface #42

Merged
merged 13 commits into from
Apr 1, 2022
Merged

Convert Back to Async Wallet Interface #42

merged 13 commits into from
Apr 1, 2022

Conversation

bhgomes
Copy link
Contributor

@bhgomes bhgomes commented Mar 23, 2022

We need to convert the Wallet interface back into async to support Javascript interoperability. JS-based wallets must be able to run fully asynchronously because interfacing with the blockchain state is an asynchronous operation (using polkadot-JS) and once you use async in Javascript, you can no longer block the application, ever.

This PR also adds more infrastructure to support simulated HTTP communication between the mock ledger and wallet as well as simulation API that simplifies simulating against manta-signer.

@bhgomes bhgomes self-assigned this Mar 23, 2022
@bhgomes bhgomes marked this pull request as ready for review March 24, 2022 07:34
@bhgomes bhgomes requested review from a team and stechu March 24, 2022 07:58
@bhgomes bhgomes marked this pull request as draft March 24, 2022 18:08
@bhgomes bhgomes marked this pull request as ready for review March 24, 2022 23:00
@bhgomes bhgomes added this to the Version 0 milestone Mar 31, 2022
@bhgomes bhgomes requested review from stechu, tsunrise and Kevingislason and removed request for a team and stechu April 1, 2022 12:50
@stechu stechu merged commit 16e142f into main Apr 1, 2022
@stechu stechu deleted the convert-to-async-api branch April 1, 2022 21:19
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.

2 participants