Run compose with optinal logging (open http://localhost in your browser for app):
docker-compose up -d
docker logs ajuna-network_worker_1 -f
Bash into the worker container to start sending trusted calls:
docker exec -it ajuna-network_worker_1 /bin/bash
From the worker container:
# run the whole thing
demo_connect_four.sh -u ws://ajuna-node
# or run individual calls
export CLIENT="integritee-cli -u ws://ajuna-node"
export MRENCLAVE=$($CLIENT list-workers | awk '/ MRENCLAVE: / { print $2; exit }')
$CLIENT trusted --mrenclave ${MRENCLAVE} --direct set-balance //Alice 1000
$CLIENT trusted --mrenclave ${MRENCLAVE} --direct set-balance //Bob 1000
$CLIENT queue-game //Alice
$CLIENT queue-game //Bob