-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Frank Castellucci edited this page Jan 20, 2018
·
31 revisions
Overviews, notes, etc. for sawtooth-uom development
How I reset my environment to get to version 1.0 of HL/ST.
- Remove all docker images using this command
docker rmi -f $(docker images -a -q)
- Bring down the latest sawtooth compose file
sawtooth-default.yaml
- Execute compose
docker-compose -f ~/sawtooth.misc/sawtooth-default.yaml up
- Clone the latest repository
- Go to the root directory of the repo
cd ~\sawtooth-core
- At a minimum do
bin\build_all -l python
- I am using java so I do a
bin\build_all -l java
as well
Located in the examples folder, I've successfully created uom_intkey, a docker image with the compiler jar file that, when started, connects to the sawtooth-default-validator
To test this I need to submit transactions, which is possible with the sawtooth-rest-api-default
interface, one would do something similar to:
curl --request POST --header "Content-Type: application/octet-stream" --data-binary @filename "http://localhost:8008/batches"
Where@filename
contains an encoded transaction as per Transaction Creation
At the moment I am checking to see if I can work with the sawtooth-shell-default intkey utility
but that I've changed the Transaction family name
I may have to code up the equivalent as per the Transaction Creation link.