New release 0.5.0 of pynostr

In this release the timeout parameter has moved to the class init function.

relay_manager.run_sync(timeout=2) ->

relay_manager = RelayManager(timeout=2)

relay_manager.run_sync()

and

io_loop.run_sync(r.connect, timeout=2) ->

io_loop.run_sync(r.connect)

I added a new example for sending and receiving dms:

https://void.cat/d/M7CgHTmFnAfSAfedFGiwx6.webp

https://void.cat/d/QaeXj1371iDytBMhfL31gH.webp

https://github.com/holgern/pynostr

Reply to this note

Please Login to reply.

Discussion

No replies yet.