shard 1 and no persisten bootnodes, let harmony choose
This commit is contained in:
17
README.md
17
README.md
@@ -5,6 +5,7 @@ docker <br />
|
||||
docker-compose <br />
|
||||
DNS A-Record pointing to your server <br />
|
||||
Wireguard-Server: Paste wireguard wg0.conf from wireguard-server to wireguard/config/wg0.conf <br />
|
||||
.env File inside POKT-DOKT with secrets <br />
|
||||
|
||||
#### Usage
|
||||
|
||||
@@ -14,9 +15,9 @@ cd POKT_DOKT
|
||||
git reset --hard origin/main && git pull && ./util/prepare.sh
|
||||
```
|
||||
|
||||
!!! This compose file needs env-vars, for example in a .env file inside the repo root-folder !!!
|
||||
!!! I added a simple test-script (util/test_relay.sh) to see if the (geth)chains are synced. Dont try to relay before they are. <br />
|
||||
To test if relaying chains works, pokt-testnet-service and pokt-mainnet service have to be provided with the following command parameters:
|
||||
# EXAMPLES
|
||||
|
||||
Start POKT in relay mode:
|
||||
```
|
||||
command: pocket start --simulateRelay
|
||||
```
|
||||
@@ -24,8 +25,6 @@ If you want to activly relay. You also have to Stake! <br />
|
||||
Testnet-Faucet: (https://faucet.pokt.network/) <br />
|
||||
How to stake: https://docs.pokt.network/home/paths/node-runner#stake-the-validator <br />
|
||||
|
||||
# EXAMPLES
|
||||
|
||||
POKT QUERY for simulate-relay mode:
|
||||
```
|
||||
Pockt-Testnet:
|
||||
@@ -44,12 +43,6 @@ curl -X POST --data '{"relay_network_id":"0020","payload":{"data":"{\"jsonrpc\":
|
||||
curl -v -X POST --data '{"relay_network_id":"0020","payload":{"data":"{\"jsonrpc\":\"2.0\",\"method\":\"eth_syncing\",\"params\":[],\"id\":1}","method":"POST","path":"","headers":{}}}' http://127.0.0.1:8081/v1/client/sim
|
||||
```
|
||||
|
||||
POKT QUERY im staked mode:
|
||||
```
|
||||
curl -X POST https://$RELAYDOMAIN/v1/query/nodes
|
||||
curl -X POST https://$RLEAYDOMAIN/v1/query/state
|
||||
```
|
||||
|
||||
STANDARD GETH QUERY (from whitelistet server)
|
||||
```
|
||||
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}' https://$RPCNODE/goerli
|
||||
@@ -82,6 +75,6 @@ Telegram get group ids the bot is in:
|
||||
```curl -X POST https://api.telegram.org/bot$TELEGRAM_API_TOKEN/getUpdates```
|
||||
|
||||
### neue NODE
|
||||
Wallet
|
||||
.env
|
||||
rpc-timeout
|
||||
whitelist
|
||||
Reference in New Issue
Block a user