Updated requirements.txt
Updated ws_talk.py
This commit is contained in:
parent
baba14373d
commit
758171a27c
|
|
@ -4,3 +4,4 @@ rsa
|
||||||
cryptography
|
cryptography
|
||||||
colorama
|
colorama
|
||||||
pydantic
|
pydantic
|
||||||
|
websocket
|
||||||
|
|
@ -1,2 +1,8 @@
|
||||||
import requests
|
import json
|
||||||
|
from websocket import create_connection
|
||||||
|
|
||||||
|
ws = create_connection("wss://ws.dogechain.info/inv")
|
||||||
|
ws.send(json.dumps({"op":"addr_sub", "addr":"dogecoin_address"}))
|
||||||
|
result = ws.recv()
|
||||||
|
print (result)
|
||||||
|
ws.close()
|
||||||
Loading…
Reference in New Issue
Block a user