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

[signer, readme] cleanup signer + update e2e test instructions #18

Merged
merged 2 commits into from
May 2, 2023

Conversation

satsie
Copy link
Collaborator

@satsie satsie commented May 1, 2023

Signer: Some code cleanup. Sorry this PR isn't more organized. Still in hackathon mode 😄

  • New synchronous wait_for_coordinator method for commands that expect one response from the coordinator
  • convert a bunch of print statements to logging
  • correct spelling of "coordinator" in some places :)
  • use src.utils.nostr_utils methods to read nsec and coordinator public key
  • new SignerCommands enum for all the valid commands a signer can provide

README: Update steps on how to start the signer. Right now the key and nonce seeds are required.

Tested this locally and executed the new wallet, send pk and address commands. Did not test signing, but I also didn't touch much of that code.

@satsie satsie requested a review from 0xBEEFCAF3 May 1, 2023 19:55
src/signer/signer.py Outdated Show resolved Hide resolved
Copy link
Owner

@0xBEEFCAF3 0xBEEFCAF3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lookn good

Co-authored-by: Armin Sabouri <armin@team.casa>
@satsie satsie merged commit 01942e9 into main May 2, 2023
@satsie satsie deleted the signer-cleanup branch May 2, 2023 13:42
@satsie satsie mentioned this pull request May 10, 2023
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