2021-12-16 16:36:38 +01:00
2021-12-16 15:39:08 +01:00
2021-12-15 16:01:33 +01:00
2021-12-13 01:39:17 +01:00
2021-12-16 14:20:11 +01:00
2021-12-16 12:56:42 +01:00
2021-12-13 01:45:58 +01:00
2021-12-16 15:47:53 +01:00
2021-12-16 16:36:38 +01:00

Usage

git clone https://github.com/cventastic/POKT_DOKT.git
git submodule update --init --recursive
git pull --recurse-submodules
cd POKT_DOKT
git reset --hard origin/main && git pull && chown 1005:1001 -R chains/ bootstrap_skript/ && chmod u+x bootstrap_skript/pokt_mainnet.shdocker-compose up -d

this compose file needs the following env-vars for example in a .env file inside the repo root-folder:

POCKET_CORE_KEY=
POCKET_CORE_PASSPHRASE=
POCKET_CORE_KEY_TEST=
POCKET_CORE_PASSPHRASE_TEST=
POCKET_MAIN_SEEDS=
POCKET_MAIN_GENESIS=
POCKET_TEST_SEEDS=
POCKET_TEST_GENESIS=
DOMAIN=

!!! 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. To test if relaying chains works, pokt-testnet-service and pokt-mainnet service have to be provided with the following command parameters:

command: pocket start --simulateRelay

EXAMPLES

POKT QUERY:

curl -X POST --data '{"relay_network_id":"0002","payload":{"data":"{}","method":"POST","path":"v1/query/height","headers":{}}}' http://pocket-testnet:8081/v1/client/sim

GETH QUERY:

curl -X POST --data '{"relay_network_id":"0020","payload":{"data":"{\"jsonrpc\":\"2.0\",\"method\":\"eth_getBalance\",\"params\":[\"0x1a8c807a6E4F624fCab01FEBf76a541d31B8345A\", \"latest\"],\"id\":1}","method":"POST","path":"","headers":{}}}' http://pocket-testnet:8081/v1/client/sim

SSL

I you want to test SSL comment in:

# - "--certificatesresolvers.myresolver.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory" 

Check if there is a file here /traefic/letsencrypt/acme.json if yes, you have to delete it. Otherwise traefik will not issue the certificate for an existing domain.

TODO !!!!

mal alle geth clients mit erigon vergleichen poly_submodule? -> relativer pfad vom submodule, macht probleme wenn man docker-compose vom root des repos aufruft.

POKT:

  • Beim lesen von chain.json braucht pokt rechte auf den chains ordner: chown -R 1005:1001 chains
  • Archive?
  • Monitoring

GOERLI:

  • Bootstrap Archive
  • Monitoring

RINKEBY:

  • Bootstrap Archive
  • Monitoring

ROPSTEN:

  • Bootstrap Archive
  • Monitoring

MAINNET:

  • Bootstrap Archive
  • Monitoring

ERIGON-Trace:

  • Bootstrap Archive
  • Monitoring

AVALANCHE:

Description
No description provided
Readme 33 MiB
Languages
Shell 55.6%
JavaScript 16.3%
Dockerfile 15%
Python 10.8%
Go 2.1%
Other 0.2%