Creating account on relay nodes with:
Response for all nodes is:
{"error":""}
But if we do:
url = f"http://{pod}:3333/statusgo/InitializeApplication"
payload = {
"apiLogging": True,
"dataDir": "/usr/status-user",
"logEnabled": True,
"logLevel": "DEBUG"
}
response = requests.post(url, json=payload)
Response for relay node A is:
Response for Relay node B is:
If we start the messenger in both nodes with:
rpc_url = f"http://{pod}:3333/statusgo/CallRPC"
messenger_payload = {
"jsonrpc": "2.0",
"method": "wakuext_startMessenger",
"params": [],
"id": random.randint(1, 9999)
}
messenger_response = requests.post(rpc_url, json=messenger_payload)
We obtain in Node A and node B (same result):
If we start the wallet in both nodes with:
wallet_payload = {
"jsonrpc": "2.0",
"method": "wallet_startWallet",
"params": [],
"id": random.randint(1, 9999)
}
wallet_response = requests.post(rpc_url, json=wallet_payload)
We obtain in both nodes:
{"jsonrpc":"2.0","id":6543,"result":null}
{"jsonrpc":"2.0","id":2192,"result":null}
Create a community in node A with:
response = requests.post(base_url, json={
"jsonrpc": "2.0",
"method": "wakuext_createCommunity",
"params": [{
"name": name,
"description": "Test community",
"membership": 1,
"color": "#000000"
}],
"id": random.randint(1, 9999)
})