how to get private key of address?
The validateaddress command will give you some information about a CredaCash destination. If the destination belongs to your wallet, then valudateaddress will give you the "hdmasterkeyid", which is the hash of the master secret used to create the destination. The information needed to spend billets sent to that destination is contained in your wallet's CCWallet.ccw file and could be extracted using the sqlite3 tool. What would you do with that information once you had it?
Thought about to back up private keys of storage addresses, good old practice of mine (and hopefully lot of others)
Easier to store 10 private keys than holding 10x 100 MB wallets.
Hope that will be an option once GUI wallet is available.
When you create a wallet, it prints out the wallet's master secret and gives instructions on how you can store that as a last resort backup. That is intended to serve the same purpose. (There is currently no a way to print out the master secret of an existing wallet, but we may add that in the future.) Even with the master secret, it is still a good idea to back up the wallet file itself occasionally, since reconstructing a wallet from the master secret and password might not be 100% successful. When backing up the wallet file, we recommend putting it into an encrypted archive file first in order to keep it secure.
Thank you for using CredaCash, and please let us know if you have any additional questions.