I'm trying to configure a sawtooth network with at least 2 Validators and some Transaction Processors. I'm using Ubuntu 18.04 so only possible solution is using docker.
I searched entire day for a working example and still no luck. There is an example on the official website here but not working. The docker images versions is 1.1 which is weird, because there is no such version on docker hub. Furthermore it requires an image (hyperledger/sawtooth-poet-engine) which does not exist anywhere.
I know that the main validator should generate the keys and genesis block and the other validator[s] should use that artifacts. But what is the right configuration for second validator? How it can read the generated artifacts from first validator?
Thanks!
This is the config of first validator:
validator-0:
image: hyperledger/sawtooth-validator:1.0
container_name: sawtooth-validator-default-0
expose:
- 4004
ports:
- "4004:4004"
entrypoint: "bash -c \"\
sawadm keygen && \
sawtooth keygen my_key && \
sawset genesis -k /root/.sawtooth/keys/my_key.priv && \
sawadm genesis config-genesis.batch && \
sawtooth-validator -vv \
--endpoint tcp://validator:8800 \
--bind component:tcp://eth0:4004 \
--bind network:tcp://eth0:8800 \
\""