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: wallet integration portal for secure signing #371

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

peterwht
Copy link
Contributor

@peterwht peterwht commented Dec 9, 2024

No description provided.

@peterwht peterwht force-pushed the peter/feat-wallet-integration branch from 7705462 to dcbf84f Compare December 12, 2024 07:21
Copy link

codecov bot commented Dec 12, 2024

Codecov Report

Attention: Patch coverage is 95.95687% with 15 lines in your changes missing coverage. Please review.

Project coverage is 76.22%. Comparing base (110b9bf) to head (fd962e2).

Files with missing lines Patch % Lines
crates/pop-cli/src/wallet_integration.rs 95.95% 9 Missing and 6 partials ⚠️
@@            Coverage Diff             @@
##             main     #371      +/-   ##
==========================================
+ Coverage   75.65%   76.22%   +0.57%     
==========================================
  Files          59       60       +1     
  Lines       12719    13090     +371     
  Branches    12719    13090     +371     
==========================================
+ Hits         9622     9978     +356     
- Misses       1801     1810       +9     
- Partials     1296     1302       +6     
Files with missing lines Coverage Δ
crates/pop-cli/src/main.rs 43.24% <ø> (ø)
crates/pop-cli/src/wallet_integration.rs 95.95% <95.95%> (ø)

* feat(wallet-integration): implement server and API

* feat(wallet-integration): add a few tests to server. Needs more

* refactor(wallet-integration): just use call_data, remove data types

* feat(wallet-integration): add frontend type for flexible serving

* feat(wallet-integration): StateHandler in WalletIntegrationManager. Add terminate method

* refactor(wallet-integration): move to module with pop-cli crate

* feat(wallet-integration): server-side error handling, update port to 9090

* refactor(wallet-integration): restructure server for easier use in thread

* fix(wallet-integration): remove invalid fn `finish`

* docs(wallet-integration): inline comments

* test(wallet-integration): unit tests for wallet-integration server. Add new frontend type

* feat(wallet-integration): two new routes: error and terminate

* refactor(wallet-integration): consistent comments, remove unnecessary code in tests

* feat: add TransactionData::new

* refactor(wallet-integration: shutdown channel error handling, terminate helper, take_error and TranscationData::new tests

* chore: clippy warning
@peterwht peterwht force-pushed the peter/feat-wallet-integration branch from dcbf84f to fd962e2 Compare December 13, 2024 16:01
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