subscribe

This commit is contained in:
callebtc
2023-02-09 11:55:12 +01:00
parent 56fff73af4
commit be948b6ca3
2 changed files with 8 additions and 2 deletions

View File

@@ -28,6 +28,11 @@ async def dm():
)
client = NostrClient(privatekey_hex=pk)
if not pk:
print(f"Your private key: {client.private_key.hex()}")
print(f"Your public key: {client.public_key.hex()}")
# await asyncio.sleep(1)
t = threading.Thread(
target=client.get_dm,