2

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)

3

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.

  • Are they going to bake for free ? – jpic Nov 11 '19 at 23:31
  • It will run with the deposits/rewards/… rules related to the alpha protocol (that is to say the current mainnet protocol). As the bootstrap accounts have plenty of tokens, it should be ok. – vect0r Nov 12 '19 at 9:50
  • Thanks ! are they going to bake automatically even for new accounts ? – jpic Nov 12 '19 at 11:56
  • If the baker can access to the secret keys of these accounts, I think it will. – vect0r Nov 12 '19 at 14:44
2

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

  • Thanks Seb ! I can't seem to be able to use flextesa for now because it really wants interactive mode, i'm just looking to start a sandbox in a docker compose service and run my rpc call tests, perhaps you can provide a solution in this question ? Have a great day tezos.stackexchange.com/questions/1740/… – jpic Nov 8 '19 at 17:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.