- wget https://github.com/adi-g15/zeeve-learnings/raw/dev/the-os-cashier/sawtooth-os-cashier-default.yaml
- docker-compose -f sawtooth-os-cashier-default.yaml up
Then in another terminal after docker compose completes,
- docker exec -it sawtooth-shell-default bash
- os-cashier-cli --url http://rest-api:8008 reg username
- curl --request POST --header "Content-Type: application/octet-stream" --data-binary @os-cashier.tmp.batches "http://rest-api:8008/batches"
Then, checking the batch status with given link, we see it is "Pending"... 😢