Z8 error trying to run joinsplit


#1

I'm getting an error "code: -22, TX decode failed" with the following:

zcash/src/zcash-cli zcrawjoinsplit "$rawtx" '{}' "{\"$addr\":1.709}" 1.709 0

where 

$rawtx= 

zcash/src/zcash-cli createrawtransaction '[{"txid":"$txid","vout":0}]' '{}'

and $txid and $addr are long and correct  (no \n's or excess "'s).

#2

Has anyone successfully run the joinsplit as described in the alpha guide?


#3

Make sure your RAWTX, TXID variables are presented in linux environment by type command env in terminal.

Alternatively you can use str4d's basic tool to send the payment. It is on this forum.