Currently, tezos sandboxed mode blocks transactions until something like this is ran:
tezos-client bake for bootstrap1
Question: how to enable auto-bake ? (like geth --dev)
Tezos Stack Exchange is a question and answer site for users, experts, and developers of the Tezos blockchain project. It only takes a minute to sign up.
Sign up to join this communityCurrently, tezos sandboxed mode blocks transactions until something like this is ran:
tezos-client bake for bootstrap1
Question: how to enable auto-bake ? (like geth --dev)
You can use the sandboxed baker using the tezos-baker-alpha
binary. To do so, run ./tezos-baker-alpha -P 18731 run with local node /path/to/generated/data_dir
where both the node's rpc and generated data directory should be logged in the sandobxed node logs.
I recommend using a persistent and static data directory to avoid copy/pasting the path at each run. To do so run the sandboxed node using the DATA_DIR
environment variable. For example: DATA_DIR=/path/to/data_dir1 ./src/bin_node/tezos-sandboxed-node.sh 1
; then run your baker using that path.
You can also use tezos-sandbox mini-net
to run full network sandboxes with bakers, endorsers, etc.
→ https://tezos.gitlab.io/developer/flextesa.html
& tezos-sandbox mini-net --help