Git Product home page Git Product logo

munstr's Issues

First time usage: error with websocket

Description

I just installed it following the README, I got this in the terminal:

INFO:websocket:Websocket connected
Traceback (most recent call last):
  File "/home/jaonoctus/code/munstr/./start_signer.py", line 19, in <module>
    main(args.wallet_id, args.key_seed, args.nonce_seed)
  File "/home/jaonoctus/code/munstr/./start_signer.py", line 9, in main
    run_signer(wallet_id=wallet_id, key_pair_seed=key_pair_seed, nonce_seed=nonce_seed)
  File "/home/jaonoctus/code/munstr/src/signer/signer.py", line 235, in run_signer
    init_relay_manager(relay_manager, [cordinator_pk])
  File "/home/jaonoctus/code/munstr/src/utils/nostr_utils.py", line 64, in init_relay_manager
    relay_manager.relays[NOSTR_RELAYS[0]].publish(message)
  File "/home/jaonoctus/.local/lib/python3.10/site-packages/nostr/relay.py", line 47, in publish
    self.ws.send(message)
  File "/home/jaonoctus/.local/lib/python3.10/site-packages/websocket/_app.py", line 243, in send
    if not self.sock or self.sock.send(data, opcode) == 0:
  File "/home/jaonoctus/.local/lib/python3.10/site-packages/websocket/_core.py", line 283, in send
    return self.send_frame(frame)
  File "/home/jaonoctus/.local/lib/python3.10/site-packages/websocket/_core.py", line 311, in send_frame
    l = self._send(data)
  File "/home/jaonoctus/.local/lib/python3.10/site-packages/websocket/_core.py", line 525, in _send
    return send(self.sock, data)
  File "/home/jaonoctus/.local/lib/python3.10/site-packages/websocket/_socket.py", line 143, in send
    raise WebSocketConnectionClosedException("socket is already closed.")
websocket._exceptions.WebSocketConnectionClosedException: socket is already closed.
INFO:websocket:Websocket connected

  • OS: Ubuntu 22.04.2 LTS on Windows 10 x86_64
  • Kernel: 5.15.90.1-microsoft-standard-WSL2
  • Shell: bash 5.1.16

[Signer] Import WIF or Seed phrase

We want to be able to import a private key. Eventually, if the signer can use a decent form of entropy we can generate keys.
Same problem for nonces, they need to be randomly generated

[CI] Linting

PRs to the master branch should have GH jobs checking code style

spelling fix

"The maintainers take no [responsibility] for any lost funds or damages incurred."

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.