wallet-cli
wallet-cli copied to clipboard
del
Could you attach the output of cat ~/.dusk/config.toml
command?
Curious to know if you're waiting the tx to be included in a block before you start to send another tx
Would be nice to see what sendbatch.sh
does.
Regardless, try running with --wait-for-tx
flag set or add wait_for_tx = true
under you [chain]
section of the config file. This will make sure that the transaction has actually been included in a block (as opposed to just being propagated to the network).
Let us know how it goes!
Looks like you might need to explicitly set the value to true
:
RUSK_WALLET_PWD=chosen_pw ./rusk-wallet -n chosen_name --wait-for-tx true transfer --key "$i" --rcvr chosen_address -amt 1
Also, if you're putting an &
at the end of the line, the command will run in background, so I'm not sure the --wait-for-tx
would have any effect. If the idea is to run these transfers sequentially I'd definitely remove that.