Protect coins and then ...?


#1

Am I naive for expecting a more visible guide for learning the features of ZCash? Or is the documentation right it front of me in the source directories somewhere?

z5 no longer allows the transparent spending of newly generated zec. The Public Alpha Guide explains how to protect coins but the following is far from clear to me:

How to query a protected balance.
How to spend a protected balance.
How to convert a protected balance back to a transparent balance.

Is ZCash currently capable of doing these things?


Multiple Instances or Machines?
#2

I'd also like to know how to do those things.


#3

I found this info on transferring protected coins to a transparent address:


#4

Thank you. I don't keep a close eye on the Zcash github...


#5

Has anyone been successful in protecting their zec and then spending it back to a transparent address?

If so, could you document the command line syntax from start to finish (or just copy and paste your command line session after X-ing out private keys and such) to this forum?


#6

Protecting the coins:

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

$ ./src/zcash-cli zcrawkeygen                                                                                                       
{
    "zcaddress" : "tna7vTLMGF2zR9LACKj6SfcgXSnWrAGDWc28tFPvGFqUfVNUGLjsWWAbGVfUqPnucme15CadF2qNJf1FVHsswrP7wsi6C2j",
    "zcsecretkey" : "TKWX4VNtqgHRHRZxN4nDAQbYvnWxAzNqAuELgNNiiXKSyUVi63F8",
    "zcviewingkey" : "30786e73358a4e98ad234f57e08dabf9077019754d2d9b440e3cdbbeb1914d61"
}

$ ./src/zcash-cli zcrawpour 0100000001ffe33288ebf0ea6040a0573de829fdf65863473dc6652bb5b5e3f24da85167d90000000000ffffffff0000000000 '{}' '{"tna7vTLMGF2zR9LACKj6SfcgXSnWrAGDWc28tFPvGFqUfVNUGLjsWWAbGVfUqPnucme15CadF2qNJf1FVHsswrP7wsi6C2j":4.69}' 4.69 0
{
    "encryptedbucket1" : "0091f7dbab3b110e3fcffec783f9ab8bbcb3cffe24eb0e1206edd65e0143a478239c8a1ce92382d103fb3861bfbbc4b361508a4451fa7f211f101d3151ed15b7f791bff40345b93ae92d4be7e606a67a95592fb88dc97acc066b68f41433fa1da7fbabe16ed9270bcd544598b95057a87f65d33df7ac58edf2d8e130c415b990e64e2493b3f0a041c2f93e079d859ec8456277a741244396dce8bd9674fcaf6d2d3d67c5821c95b942be9d5a7e4007363db3c5fa41f4913a6979a66fed60221919853b98d0c017c4862331831b917064dea58e19c21f259a83e214ec0ded41b9bdf678391fee0ca35db7358428794f65c63a9fe146ce50fcb609e4cf7a3d16d9481c9970d199f8d8409ab3bb3c64204858077458af86c6c344e3",
    "encryptedbucket2" : "0191f7dbab3b110e3fcffec783f9ab8bbcb3cffe24eb0e1206edd65e0143a4782361aefc1e17bcdd846ef0e201217e0b219ca6219f4368bb45f99da51595124d20c7a569e37c08852490fb29ea8e521cb2ee70cc9cf63adaa9329fb46464049b8d499f0a109e234c71fc3b485cdc33f675208aad888709ac9b724ac7a59bd5db54648ce5c106e8342152222e23be6b343c7f13d6ff6edca48111fd9003afffc344273b448eafb363d733a077cf38e9fc07ca73762d633826f578ef5e8e1c4af65b97d1e66e1de827b7a03404c586a597836e7342ef9b20ad5d5ff60bcb3ba948be75af2ff658e9748b742186f6abed519eed0639f6551bf49903e4cf7a3d16d9481c9970d199f8d8409ab3bb3c64204858077458af86c6c344e3",
    "rawtxn" : "0200000001ffe33288ebf0ea6040a0573de829fdf65863473dc6652bb5b5e3f24da85167d90000000000ffffffff000000000001405ff41b000000000000000000000000781307d1f80f0124fbd3e384fad90497c90bcef8626a579d3cb03e6c18ea4f10cf649c01b10c22647c989bc190071699e921775d5d8559c3b400d163fb3dd8799e35d0b328de9111ec447d15a40f36c7e7f6e92b75c2cb49995eef370c222e48dd1df8a8a87e2debfef1278994958834b767b1e18fae4f00de90f18135a77c1257349ff743cc1a2ae0f9840ef3d244e6858ec7d012fc7f3f36020deb9752e98191f7dbab3b110e3fcffec783f9ab8bbcb3cffe24eb0e1206edd65e0143a478239c8a1ce92382d103fb3861bfbbc4b361508a4451fa7f211f101d3151ed15b7f791bff40345b93ae92d4be7e606a67a95592fb88dc97acc066b68f41433fa1da7fbabe16ed9270bcd544598b95057a87f65d33df7ac58edf2d8e130c415b990e64e2493b3f0a041c2f93e079d859ec8456277a741244396dce8bd9674fcaf6d2d3d67c5821c95b942be9d5a7e4007363db3c5fa41f4913a6979a66fed60221919853b98d0c017c4862331831b917064dea58e19c21f259a83e214ec0ded41b9bdf678391fee0ca35db7358428794f65c63a9fe146ce50fcb60961aefc1e17bcdd846ef0e201217e0b219ca6219f4368bb45f99da51595124d20c7a569e37c08852490fb29ea8e521cb2ee70cc9cf63adaa9329fb46464049b8d499f0a109e234c71fc3b485cdc33f675208aad888709ac9b724ac7a59bd5db54648ce5c106e8342152222e23be6b343c7f13d6ff6edca48111fd9003afffc344273b448eafb363d733a077cf38e9fc07ca73762d633826f578ef5e8e1c4af65b97d1e66e1de827b7a03404c586a597836e7342ef9b20ad5d5ff60bcb3ba948be75af2ff658e9748b742186f6abed519eed0639f6551bf49903c77cb3df41f7c2127432f864938f6f4f233613db8fc161a91bebf97fcc54b28f7b7fcb3d98d017a0d038c8c6ea3be7da2db826edf563cfd7e603132ddfdd14bbf0479959425b57059dc8a707998c31e11d5b7ea506e072c982ba6e4229930ee530813109cc50183b065b42f522164f8397d3e00243fc18cb15bd91ece8958daa268100ebe841ffc254835184c3a4bb2a8f40ce6a5efbfa5a94468fe849eca848133055c3d200ccd87b761927b5e3305980406f9b5cd8e959c51d91a2540cb597ad1ca180435ddeed5797338392a69915e916ace5321ad2e45ef3e0f40b281cc17b033010d30216ff3c6ebef8ed36e61602fc3e86eedcd2b698d3eb071c57c2b1da351d955bd3fb67bba5172150844b7979e057944634a41b34593f5f0f46ed6593822ece9a9f346dd8c40937f1d5a8bb044474fcec90c81900c62d23d58c648027b81b24e73fcea562271082553f624b57b64f1fc3c576bfe8c16465d0066be2c74e0e3035b2fee7559b5ef5d6f24d9220165b4aced8f339ca009d563259d24aa1f8090dfab0356d3223f6dfd62bb39850ff770dd5976badf848409de1f80fd4fcca500c30ed688bce52078395f21f513b66094cd22b2bf88accf722f2ae4fd55f5ee71717fba6c44a45bef9bb6a1408c322652fe15ffcb8e110ac64a4842af638e9ca312230f6d31792dcd1461285c038901bb7376c76a8c29102a6bcc8bf430ff8558e5c112ad5d673649af059f7ff774f7b35ab175c30c9c1ea061f22eb5f5a85db78c41a306a549a62838b689a74281d0ddaecff435e5aacb92f93200fae5755a3959fee0d49a48650ce6d875dd5b00b0edf24913ee17cbd6cbd928376e5e534d449e5072e300ff8a05f1ee4e153edc77c6e9e9e1acf4ef9d09a45bcd7333fd32f8fd77a1d1cecc9c6197e6dbb6b30c036f52cbdc65f7420481cc31566f0356677600c428e025df374ec9480b913443b20c7d52122fb9e5b6faba49820996b0c2b2636a1e44ea45eff26d578178b7ff6310199a40cf73d250c75731f74e6a7ac86fe5b3daeddc3b70f28435858903ee93fba5b1b0a11889a766bda43f9eb9e6db7c384d8080c"
}

$ ./src/zcash-cli signrawtransaction 0200000001ffe33288ebf0ea6040a0573de829fdf65863473dc6652bb5b5e3f24da85167d90000000000ffffffff000000000001405ff41b000000000000000000000000781307d1f80f0124fbd3e384fad90497c90bcef8626a579d3cb03e6c18ea4f10cf649c01b10c22647c989bc190071699e921775d5d8559c3b400d163fb3dd8799e35d0b328de9111ec447d15a40f36c7e7f6e92b75c2cb49995eef370c222e48dd1df8a8a87e2debfef1278994958834b767b1e18fae4f00de90f18135a77c1257349ff743cc1a2ae0f9840ef3d244e6858ec7d012fc7f3f36020deb9752e98191f7dbab3b110e3fcffec783f9ab8bbcb3cffe24eb0e1206edd65e0143a478239c8a1ce92382d103fb3861bfbbc4b361508a4451fa7f211f101d3151ed15b7f791bff40345b93ae92d4be7e606a67a95592fb88dc97acc066b68f41433fa1da7fbabe16ed9270bcd544598b95057a87f65d33df7ac58edf2d8e130c415b990e64e2493b3f0a041c2f93e079d859ec8456277a741244396dce8bd9674fcaf6d2d3d67c5821c95b942be9d5a7e4007363db3c5fa41f4913a6979a66fed60221919853b98d0c017c4862331831b917064dea58e19c21f259a83e214ec0ded41b9bdf678391fee0ca35db7358428794f65c63a9fe146ce50fcb60961aefc1e17bcdd846ef0e201217e0b219ca6219f4368bb45f99da51595124d20c7a569e37c08852490fb29ea8e521cb2ee70cc9cf63adaa9329fb46464049b8d499f0a109e234c71fc3b485cdc33f675208aad888709ac9b724ac7a59bd5db54648ce5c106e8342152222e23be6b343c7f13d6ff6edca48111fd9003afffc344273b448eafb363d733a077cf38e9fc07ca73762d633826f578ef5e8e1c4af65b97d1e66e1de827b7a03404c586a597836e7342ef9b20ad5d5ff60bcb3ba948be75af2ff658e9748b742186f6abed519eed0639f6551bf49903c77cb3df41f7c2127432f864938f6f4f233613db8fc161a91bebf97fcc54b28f7b7fcb3d98d017a0d038c8c6ea3be7da2db826edf563cfd7e603132ddfdd14bbf0479959425b57059dc8a707998c31e11d5b7ea506e072c982ba6e4229930ee530813109cc50183b065b42f522164f8397d3e00243fc18cb15bd91ece8958daa268100ebe841ffc254835184c3a4bb2a8f40ce6a5efbfa5a94468fe849eca848133055c3d200ccd87b761927b5e3305980406f9b5cd8e959c51d91a2540cb597ad1ca180435ddeed5797338392a69915e916ace5321ad2e45ef3e0f40b281cc17b033010d30216ff3c6ebef8ed36e61602fc3e86eedcd2b698d3eb071c57c2b1da351d955bd3fb67bba5172150844b7979e057944634a41b34593f5f0f46ed6593822ece9a9f346dd8c40937f1d5a8bb044474fcec90c81900c62d23d58c648027b81b24e73fcea562271082553f624b57b64f1fc3c576bfe8c16465d0066be2c74e0e3035b2fee7559b5ef5d6f24d9220165b4aced8f339ca009d563259d24aa1f8090dfab0356d3223f6dfd62bb39850ff770dd5976badf848409de1f80fd4fcca500c30ed688bce52078395f21f513b66094cd22b2bf88accf722f2ae4fd55f5ee71717fba6c44a45bef9bb6a1408c322652fe15ffcb8e110ac64a4842af638e9ca312230f6d31792dcd1461285c038901bb7376c76a8c29102a6bcc8bf430ff8558e5c112ad5d673649af059f7ff774f7b35ab175c30c9c1ea061f22eb5f5a85db78c41a306a549a62838b689a74281d0ddaecff435e5aacb92f93200fae5755a3959fee0d49a48650ce6d875dd5b00b0edf24913ee17cbd6cbd928376e5e534d449e5072e300ff8a05f1ee4e153edc77c6e9e9e1acf4ef9d09a45bcd7333fd32f8fd77a1d1cecc9c6197e6dbb6b30c036f52cbdc65f7420481cc31566f0356677600c428e025df374ec9480b913443b20c7d52122fb9e5b6faba49820996b0c2b2636a1e44ea45eff26d578178b7ff6310199a40cf73d250c75731f74e6a7ac86fe5b3daeddc3b70f28435858903ee93fba5b1b0a11889a766bda43f9eb9e6db7c384d8080c
{
    "hex" : "0200000001ffe33288ebf0ea6040a0573de829fdf65863473dc6652bb5b5e3f24da85167d90000000048473044022027a8f2f1c4f0569b6c00809593646e27e5e33b9284a7bbc585410f67bc9d648302204ac4599968bf0346232d5a9cae482f141866fb1bdfa494ed367f5d392b6ae4ce01ffffffff000000000001405ff41b000000000000000000000000781307d1f80f0124fbd3e384fad90497c90bcef8626a579d3cb03e6c18ea4f10cf649c01b10c22647c989bc190071699e921775d5d8559c3b400d163fb3dd8799e35d0b328de9111ec447d15a40f36c7e7f6e92b75c2cb49995eef370c222e48dd1df8a8a87e2debfef1278994958834b767b1e18fae4f00de90f18135a77c1257349ff743cc1a2ae0f9840ef3d244e6858ec7d012fc7f3f36020deb9752e98191f7dbab3b110e3fcffec783f9ab8bbcb3cffe24eb0e1206edd65e0143a478239c8a1ce92382d103fb3861bfbbc4b361508a4451fa7f211f101d3151ed15b7f791bff40345b93ae92d4be7e606a67a95592fb88dc97acc066b68f41433fa1da7fbabe16ed9270bcd544598b95057a87f65d33df7ac58edf2d8e130c415b990e64e2493b3f0a041c2f93e079d859ec8456277a741244396dce8bd9674fcaf6d2d3d67c5821c95b942be9d5a7e4007363db3c5fa41f4913a6979a66fed60221919853b98d0c017c4862331831b917064dea58e19c21f259a83e214ec0ded41b9bdf678391fee0ca35db7358428794f65c63a9fe146ce50fcb60961aefc1e17bcdd846ef0e201217e0b219ca6219f4368bb45f99da51595124d20c7a569e37c08852490fb29ea8e521cb2ee70cc9cf63adaa9329fb46464049b8d499f0a109e234c71fc3b485cdc33f675208aad888709ac9b724ac7a59bd5db54648ce5c106e8342152222e23be6b343c7f13d6ff6edca48111fd9003afffc344273b448eafb363d733a077cf38e9fc07ca73762d633826f578ef5e8e1c4af65b97d1e66e1de827b7a03404c586a597836e7342ef9b20ad5d5ff60bcb3ba948be75af2ff658e9748b742186f6abed519eed0639f6551bf49903c77cb3df41f7c2127432f864938f6f4f233613db8fc161a91bebf97fcc54b28f7b7fcb3d98d017a0d038c8c6ea3be7da2db826edf563cfd7e603132ddfdd14bbf0479959425b57059dc8a707998c31e11d5b7ea506e072c982ba6e4229930ee530813109cc50183b065b42f522164f8397d3e00243fc18cb15bd91ece8958daa268100ebe841ffc254835184c3a4bb2a8f40ce6a5efbfa5a94468fe849eca848133055c3d200ccd87b761927b5e3305980406f9b5cd8e959c51d91a2540cb597ad1ca180435ddeed5797338392a69915e916ace5321ad2e45ef3e0f40b281cc17b033010d30216ff3c6ebef8ed36e61602fc3e86eedcd2b698d3eb071c57c2b1da351d955bd3fb67bba5172150844b7979e057944634a41b34593f5f0f46ed6593822ece9a9f346dd8c40937f1d5a8bb044474fcec90c81900c62d23d58c648027b81b24e73fcea562271082553f624b57b64f1fc3c576bfe8c16465d0066be2c74e0e3035b2fee7559b5ef5d6f24d9220165b4aced8f339ca009d563259d24aa1f8090dfab0356d3223f6dfd62bb39850ff770dd5976badf848409de1f80fd4fcca500c30ed688bce52078395f21f513b66094cd22b2bf88accf722f2ae4fd55f5ee71717fba6c44a45bef9bb6a1408c322652fe15ffcb8e110ac64a4842af638e9ca312230f6d31792dcd1461285c038901bb7376c76a8c29102a6bcc8bf430ff8558e5c112ad5d673649af059f7ff774f7b35ab175c30c9c1ea061f22eb5f5a85db78c41a306a549a62838b689a74281d0ddaecff435e5aacb92f93200fae5755a3959fee0d49a48650ce6d875dd5b00b0edf24913ee17cbd6cbd928376e5e534d449e5072e300ff8a05f1ee4e153edc77c6e9e9e1acf4ef9d09a45bcd7333fd32f8fd77a1d1cecc9c6197e6dbb6b30c036f52cbdc65f7420481cc31566f0356677600c428e025df374ec9480b913443b20c7d52122fb9e5b6faba49820996b0c2b2636a1e44ea45eff26d578178b7ff6310199a40cf73d250c75731f74e6a7ac86fe5b3daeddc3b70f28435858903ee93fba5b1b0a11889a766bda43f9eb9e6db7c384d8080c",
    "complete" : true
}
$ ./src/zcash-cli sendrawtransaction 0200000001ffe33288ebf0ea6040a0573de829fdf65863473dc6652bb5b5e3f24da85167d90000000048473044022027a8f2f1c4f0569b6c00809593646e27e5e33b9284a7bbc585410f67bc9d648302204ac4599968bf0346232d5a9cae482f141866fb1bdfa494ed367f5d392b6ae4ce01ffffffff000000000001405ff41b000000000000000000000000781307d1f80f0124fbd3e384fad90497c90bcef8626a579d3cb03e6c18ea4f10cf649c01b10c22647c989bc190071699e921775d5d8559c3b400d163fb3dd8799e35d0b328de9111ec447d15a40f36c7e7f6e92b75c2cb49995eef370c222e48dd1df8a8a87e2debfef1278994958834b767b1e18fae4f00de90f18135a77c1257349ff743cc1a2ae0f9840ef3d244e6858ec7d012fc7f3f36020deb9752e98191f7dbab3b110e3fcffec783f9ab8bbcb3cffe24eb0e1206edd65e0143a478239c8a1ce92382d103fb3861bfbbc4b361508a4451fa7f211f101d3151ed15b7f791bff40345b93ae92d4be7e606a67a95592fb88dc97acc066b68f41433fa1da7fbabe16ed9270bcd544598b95057a87f65d33df7ac58edf2d8e130c415b990e64e2493b3f0a041c2f93e079d859ec8456277a741244396dce8bd9674fcaf6d2d3d67c5821c95b942be9d5a7e4007363db3c5fa41f4913a6979a66fed60221919853b98d0c017c4862331831b917064dea58e19c21f259a83e214ec0ded41b9bdf678391fee0ca35db7358428794f65c63a9fe146ce50fcb60961aefc1e17bcdd846ef0e201217e0b219ca6219f4368bb45f99da51595124d20c7a569e37c08852490fb29ea8e521cb2ee70cc9cf63adaa9329fb46464049b8d499f0a109e234c71fc3b485cdc33f675208aad888709ac9b724ac7a59bd5db54648ce5c106e8342152222e23be6b343c7f13d6ff6edca48111fd9003afffc344273b448eafb363d733a077cf38e9fc07ca73762d633826f578ef5e8e1c4af65b97d1e66e1de827b7a03404c586a597836e7342ef9b20ad5d5ff60bcb3ba948be75af2ff658e9748b742186f6abed519eed0639f6551bf49903c77cb3df41f7c2127432f864938f6f4f233613db8fc161a91bebf97fcc54b28f7b7fcb3d98d017a0d038c8c6ea3be7da2db826edf563cfd7e603132ddfdd14bbf0479959425b57059dc8a707998c31e11d5b7ea506e072c982ba6e4229930ee530813109cc50183b065b42f522164f8397d3e00243fc18cb15bd91ece8958daa268100ebe841ffc254835184c3a4bb2a8f40ce6a5efbfa5a94468fe849eca848133055c3d200ccd87b761927b5e3305980406f9b5cd8e959c51d91a2540cb597ad1ca180435ddeed5797338392a69915e916ace5321ad2e45ef3e0f40b281cc17b033010d30216ff3c6ebef8ed36e61602fc3e86eedcd2b698d3eb071c57c2b1da351d955bd3fb67bba5172150844b7979e057944634a41b34593f5f0f46ed6593822ece9a9f346dd8c40937f1d5a8bb044474fcec90c81900c62d23d58c648027b81b24e73fcea562271082553f624b57b64f1fc3c576bfe8c16465d0066be2c74e0e3035b2fee7559b5ef5d6f24d9220165b4aced8f339ca009d563259d24aa1f8090dfab0356d3223f6dfd62bb39850ff770dd5976badf848409de1f80fd4fcca500c30ed688bce52078395f21f513b66094cd22b2bf88accf722f2ae4fd55f5ee71717fba6c44a45bef9bb6a1408c322652fe15ffcb8e110ac64a4842af638e9ca312230f6d31792dcd1461285c038901bb7376c76a8c29102a6bcc8bf430ff8558e5c112ad5d673649af059f7ff774f7b35ab175c30c9c1ea061f22eb5f5a85db78c41a306a549a62838b689a74281d0ddaecff435e5aacb92f93200fae5755a3959fee0d49a48650ce6d875dd5b00b0edf24913ee17cbd6cbd928376e5e534d449e5072e300ff8a05f1ee4e153edc77c6e9e9e1acf4ef9d09a45bcd7333fd32f8fd77a1d1cecc9c6197e6dbb6b30c036f52cbdc65f7420481cc31566f0356677600c428e025df374ec9480b913443b20c7d52122fb9e5b6faba49820996b0c2b2636a1e44ea45eff26d578178b7ff6310199a40cf73d250c75731f74e6a7ac86fe5b3daeddc3b70f28435858903ee93fba5b1b0a11889a766bda43f9eb9e6db7c384d8080c
e900d6e3719a16cae81709678b41bf41ba898d125cfc8857a219c22331220fcb

You can send them to a confidential or a transparent address now. It's a lot easier to send it to another confidential address, but here's how you send it to a transparent one:

$ ./src/zcash-cli createrawtransaction '[]' '{"mzExyJpawgHpgTnBEJ3UfYi2tDrR5yhq6W":4.68}'
010000000001001de51b000000001976a914cd644ca98e53949202c4e305dc68f110d223001588ac00000000

$ ./src/zcash-cli zcrawreceive TKWX4VNtqgHRHRZxN4nDAQbYvnWxAzNqAuELgNNiiXKSyUVi63F8 0091f7dbab3b110e3fcffec783f9ab8bbcb3cffe24eb0e1206edd65e0143a478239c8a1ce92382d103fb3861bfbbc4b361508a4451fa7f211f101d3151ed15b7f791bff40345b93ae92d4be7e606a67a95592fb88dc97acc066b68f41433fa1da7fbabe16ed9270bcd544598b95057a87f65d33df7ac58edf2d8e130c415b990e64e2493b3f0a041c2f93e079d859ec8456277a741244396dce8bd9674fcaf6d2d3d67c5821c95b942be9d5a7e4007363db3c5fa41f4913a6979a66fed60221919853b98d0c017c4862331831b917064dea58e19c21f259a83e214ec0ded41b9bdf678391fee0ca35db7358428794f65c63a9fe146ce50fcb609e4cf7a3d16d9481c9970d199f8d8409ab3bb3c64204858077458af86c6c344e3
{
    "amount" : 4.69000000,
    "bucket" : "00405ff41b00000000a01248b308d307b1514864f993091762c3adfe008421b3b0b06d24bc808de7b19f10a99fcc09d2403bac6ae8d27e4ce452ffe2d2a01fa1129cc7ac94900c91d4f600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    "exists" : true
}

$ # notice the "exists": true above, meaning it's in the blockchain now
$ ./src/zcash-cli zcrawpour 010000000001001de51b000000001976a914cd644ca98e53949202c4e305dc68f110d223001588ac00000000 '{"00405ff41b00000000a01248b308d307b1514864f993091762c3adfe008421b3b0b06d24bc808de7b19f10a99fcc09d2403bac6ae8d27e4ce452ffe2d2a01fa1129cc7ac94900c91d4f600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"TKWX4VNtqgHRHRZxN4nDAQbYvnWxAzNqAuELgNNiiXKSyUVi63F8"}' '{}' 0 4.69
{
    "encryptedbucket1" : "00f66e29b48ef0f70eda215248e1b7baf4585de8639f8d55c457e91513dafce00d512e8f3123ce5da52f864435cdcd3b04875ae2534f455f3fcf28fd73642f0f2dc1a02f3a3a78f8e6a933cc5246850be0d759f25ab7ca317cf0614d7c79769e44dca66ed6e19ce54794695473f7338b9fb50f7fac1627a473f85388941d09016720d0e405449a03b5e7bc525ef013112451bc60ec5866019fa7815ef3a3cdd0fc63ada273b0577190d623c83e35649934cb146b67e455dbf897d57b19a25ad39da81fd3e7e8abc042e74f24d73a0f44d41105a9d69d10c0a64d175a616e82173d9b34f530beacaa8c28ab13175c6078038b9ea1c1360cc1bbdc4c960275cab6e57c319676cd69d81391d0be05a25f7389832f8615a199609373",
    "encryptedbucket2" : "01f66e29b48ef0f70eda215248e1b7baf4585de8639f8d55c457e91513dafce00d741ae57b0981a73cd1787c7aceb5b08691f30a899c913136d205535bf6d7bb3b24edb3bd293123da207f9e9e44cfb8c5ce4e1936070ceb5f20b70509c1628b0530ac37fbdabe2a08022234f83365b136f111d8a7aaee3f44fd5e95465255a9a2d96a83900b1a5b2515961eb98ef952faabe318e74e9fe3b3d30ab57ccf6de241340111e7ca60f80772ce0b9ac8340f2305bfa946745aedb127a1f2e7e86b29261e10cd5d5a52d374918e653729d5a14f39d114ae18756010f84b9cf5e2e6ff9017926b122a98baf5cf0f5b7fe0cfc33dab8c397d1852141b1d4c960275cab6e57c319676cd69d81391d0be05a25f7389832f8615a199609373",
    "rawtxn" : "020000000001001de51b000000001976a914cd644ca98e53949202c4e305dc68f110d223001588ac00000000010000000000000000405ff41b0000000082baddd30696997b4708098e301e71b46796002a2be8b3ced4c25629efc4153a788be33bd6217af66dd7780283c8d92162db4040eaaa4b3606b5f457ebe71e3a7f1d54fd7d4f4b2027dba73c519383b595c3a53b73e8089c8216557e9c394d7ff3f987da52c476f532cae08b916f17d627b0ecc11960bf2dc5c88a987274ed4e813ce3aaecfd98918d926afca9e64b3ec5e9b58db822a3ff074493426b9845c7f66e29b48ef0f70eda215248e1b7baf4585de8639f8d55c457e91513dafce00d512e8f3123ce5da52f864435cdcd3b04875ae2534f455f3fcf28fd73642f0f2dc1a02f3a3a78f8e6a933cc5246850be0d759f25ab7ca317cf0614d7c79769e44dca66ed6e19ce54794695473f7338b9fb50f7fac1627a473f85388941d09016720d0e405449a03b5e7bc525ef013112451bc60ec5866019fa7815ef3a3cdd0fc63ada273b0577190d623c83e35649934cb146b67e455dbf897d57b19a25ad39da81fd3e7e8abc042e74f24d73a0f44d41105a9d69d10c0a64d175a616e82173d9b34f530beacaa8c28ab13175c6078038b9ea1c1360cc1bbdc741ae57b0981a73cd1787c7aceb5b08691f30a899c913136d205535bf6d7bb3b24edb3bd293123da207f9e9e44cfb8c5ce4e1936070ceb5f20b70509c1628b0530ac37fbdabe2a08022234f83365b136f111d8a7aaee3f44fd5e95465255a9a2d96a83900b1a5b2515961eb98ef952faabe318e74e9fe3b3d30ab57ccf6de241340111e7ca60f80772ce0b9ac8340f2305bfa946745aedb127a1f2e7e86b29261e10cd5d5a52d374918e653729d5a14f39d114ae18756010f84b9cf5e2e6ff9017926b122a98baf5cf0f5b7fe0cfc33dab8c397d1852141b1d40da2bc8c7835edbcb51b6fb6cedb48f1ecdf8928face020525133627c6cf70bc00377389725a8ad45359b0b446135f9003b5f2578f40e3707883bcc21ba8868d23e9fb396f959b10c56993a0e15238f9f68aae2d27f210900d6d7d5c09f93e0301788dea57ef3d701ac3f7db6adad0b6ca13468d829bbbd6e2f5875777354c10db01c48b0db77b5130892e99734ab3f11099e773fdf091bd7b8d244d3e70e3b2b304d49f90bb9d4ea346441ae10d996cb0d1dba6e6e2b3035902acacdee873bcc0f50a3520a4dfabac4536a5cf78820e308e3b9f437e400354ef2271813f5c5952b30c8dd2b0793fb689fac4a866ef956c8caa85873f8c6f82b617a6ba6d2ff6a240f48ed4b2ad3b4f7d645611fd32a100282ac590db5c10f91cb44ab132513037d0669726b0ca0f6da16226a8e9211bec448b03878c71bd05b4e95b0349a84cbda1e425b1e3ce388bb3ccf7ddd9aeed3e509bcce633c6105c5784d34029f9b07532f301ae03700048d3b400514bc10e9e8622550b7949d75bd86e8e7ee6bb823e25419601ffc530ff41bf4c36f4d66187ffa57eb47e48935f718a88d20e1e9cf316d1d30ba57e2c85bd5576584d372bed15d2aaf2cbe55d9c06989aa6e7e0d5a5fef0c11b5d4b089755d16d26c2fdfecc508a1527219dcb0998f43cf48e5bda0eff7eb0530e1660fd4fe1de08a5749aa9b1270d5a38950ce47a63e31eb88fe40c8338fc80b8a69066631ed6863fbc639003e713710840d7424bb31d5754f396d2dfd41061830d80a2b8053ada5316d2b2dc2810e8f95bc33d45c6b6ca623ce1be971ab61e10c86ab1c09d6444f290306d7b385199c685c0f2270cc9fc000aaa0e19c8a39290b307c0c8d0f866b7eb32cef018caa672d00c6608bfc8bf88e39dbe0fea42e583230708182ae41732e5ca708a6ab898b13c8234ce43f12f95235b2682697686c4126eaf4271d3468cffaba8d65c56bf95f21196b542e5acef503f82818717eb1960b4ea4cb2e7d91ec54fe32428047328efca1995cd6b243e74a87827ab14128d6c1fe803ba0f1acede718bf73476066131bb8a38895a0f10a4e82489079548ee203"
}

$ ./src/zcash-cli sendrawtransaction 020000000001001de51b000000001976a914cd644ca98e53949202c4e305dc68f110d223001588ac00000000010000000000000000405ff41b0000000082baddd30696997b4708098e301e71b46796002a2be8b3ced4c25629efc4153a788be33bd6217af66dd7780283c8d92162db4040eaaa4b3606b5f457ebe71e3a7f1d54fd7d4f4b2027dba73c519383b595c3a53b73e8089c8216557e9c394d7ff3f987da52c476f532cae08b916f17d627b0ecc11960bf2dc5c88a987274ed4e813ce3aaecfd98918d926afca9e64b3ec5e9b58db822a3ff074493426b9845c7f66e29b48ef0f70eda215248e1b7baf4585de8639f8d55c457e91513dafce00d512e8f3123ce5da52f864435cdcd3b04875ae2534f455f3fcf28fd73642f0f2dc1a02f3a3a78f8e6a933cc5246850be0d759f25ab7ca317cf0614d7c79769e44dca66ed6e19ce54794695473f7338b9fb50f7fac1627a473f85388941d09016720d0e405449a03b5e7bc525ef013112451bc60ec5866019fa7815ef3a3cdd0fc63ada273b0577190d623c83e35649934cb146b67e455dbf897d57b19a25ad39da81fd3e7e8abc042e74f24d73a0f44d41105a9d69d10c0a64d175a616e82173d9b34f530beacaa8c28ab13175c6078038b9ea1c1360cc1bbdc741ae57b0981a73cd1787c7aceb5b08691f30a899c913136d205535bf6d7bb3b24edb3bd293123da207f9e9e44cfb8c5ce4e1936070ceb5f20b70509c1628b0530ac37fbdabe2a08022234f83365b136f111d8a7aaee3f44fd5e95465255a9a2d96a83900b1a5b2515961eb98ef952faabe318e74e9fe3b3d30ab57ccf6de241340111e7ca60f80772ce0b9ac8340f2305bfa946745aedb127a1f2e7e86b29261e10cd5d5a52d374918e653729d5a14f39d114ae18756010f84b9cf5e2e6ff9017926b122a98baf5cf0f5b7fe0cfc33dab8c397d1852141b1d40da2bc8c7835edbcb51b6fb6cedb48f1ecdf8928face020525133627c6cf70bc00377389725a8ad45359b0b446135f9003b5f2578f40e3707883bcc21ba8868d23e9fb396f959b10c56993a0e15238f9f68aae2d27f210900d6d7d5c09f93e0301788dea57ef3d701ac3f7db6adad0b6ca13468d829bbbd6e2f5875777354c10db01c48b0db77b5130892e99734ab3f11099e773fdf091bd7b8d244d3e70e3b2b304d49f90bb9d4ea346441ae10d996cb0d1dba6e6e2b3035902acacdee873bcc0f50a3520a4dfabac4536a5cf78820e308e3b9f437e400354ef2271813f5c5952b30c8dd2b0793fb689fac4a866ef956c8caa85873f8c6f82b617a6ba6d2ff6a240f48ed4b2ad3b4f7d645611fd32a100282ac590db5c10f91cb44ab132513037d0669726b0ca0f6da16226a8e9211bec448b03878c71bd05b4e95b0349a84cbda1e425b1e3ce388bb3ccf7ddd9aeed3e509bcce633c6105c5784d34029f9b07532f301ae03700048d3b400514bc10e9e8622550b7949d75bd86e8e7ee6bb823e25419601ffc530ff41bf4c36f4d66187ffa57eb47e48935f718a88d20e1e9cf316d1d30ba57e2c85bd5576584d372bed15d2aaf2cbe55d9c06989aa6e7e0d5a5fef0c11b5d4b089755d16d26c2fdfecc508a1527219dcb0998f43cf48e5bda0eff7eb0530e1660fd4fe1de08a5749aa9b1270d5a38950ce47a63e31eb88fe40c8338fc80b8a69066631ed6863fbc639003e713710840d7424bb31d5754f396d2dfd41061830d80a2b8053ada5316d2b2dc2810e8f95bc33d45c6b6ca623ce1be971ab61e10c86ab1c09d6444f290306d7b385199c685c0f2270cc9fc000aaa0e19c8a39290b307c0c8d0f866b7eb32cef018caa672d00c6608bfc8bf88e39dbe0fea42e583230708182ae41732e5ca708a6ab898b13c8234ce43f12f95235b2682697686c4126eaf4271d3468cffaba8d65c56bf95f21196b542e5acef503f82818717eb1960b4ea4cb2e7d91ec54fe32428047328efca1995cd6b243e74a87827ab14128d6c1fe803ba0f1acede718bf73476066131bb8a38895a0f10a4e82489079548ee203
e462d689b40ad1c2490f3aefeaaee56fe0775095584b0a81d97c3677a90b0781

This will send 4.68 to the recipient, with a 0.01 fee.


Any tutorials for complete idiots?
#7

Keep in mind that this API is only temporary. We hope to have an API that abstracts away nearly all of this.


#8

@ebfull thank you! I have been stuck for days trying to figure this out...


#9

This is a link to a document in which I coloured various inputs and outputs from ebfull's example to help track them and identify where data is coming from throughout this procedure. http://s000.tinyupload.com/index.php?file_id=12431891893086228951


Any tutorials for complete idiots?
How can we send coins from z-cash address to bitcoin address?
#10

Thank you. I just did it according to your steps.


#11

Is there a way to transfer the entire wallet content or do I have to transfer it as one "amount" at a time since listunspent only gives you a list of small amounts with separate addresses and not a total sum with an attached address. And is there going to be a GUI wallet to use by launch day?


#12

The z_exportwallet and z_importwallet RPC commands added in z9 can be used to transfer the whole wallet content.