fix: testnet key naming and add timestamp to sample message send

This commit is contained in:
Prem Chaitanya Prathi 2023-12-09 14:10:08 +05:30
parent fad14e350a
commit 7fc23faefc
No known key found for this signature in database

View File

@ -32,7 +32,7 @@ Modify the `run_node.sh` file to customise your [node's configuration](/guides/n
```shell
export ETH_CLIENT_ADDRESS=wss://sepolia.infura.io/ws/v3/[INFURA API KEY]
export ETH_TESTNET_KEY=[INFURA API KEY]
export ETH_TESTNET_KEY=[TESTNET PRIVATE KEY]
export KEYSTORE_PASSWORD=[RLN MEMBERSHIP PASSWORD]
```
@ -85,7 +85,8 @@ curl --location 'http://127.0.0.1:8645/relay/v1/auto/messages' \
--header 'Content-Type: application/json' \
--data '{
"payload": "'$(echo -n "Hello Waku Network - from Anonymous User" | base64)'",
"contentTopic": "/my-app/2/chatroom-1/proto"
"contentTopic": "/my-app/2/chatroom-1/proto",
"timestamp":'$(date +%s)'
}'
```