fix: testnet key naming and add timestamp to sample message send (#151)
This commit is contained in:
parent
fad14e350a
commit
7b1b354fed
|
@ -32,7 +32,7 @@ Modify the `run_node.sh` file to customise your [node's configuration](/guides/n
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
export ETH_CLIENT_ADDRESS=wss://sepolia.infura.io/ws/v3/[INFURA API KEY]
|
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]
|
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' \
|
--header 'Content-Type: application/json' \
|
||||||
--data '{
|
--data '{
|
||||||
"payload": "'$(echo -n "Hello Waku Network - from Anonymous User" | base64)'",
|
"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)'
|
||||||
}'
|
}'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue