I can’t see to get my T address from zcash-cli. I only have it because I copied it when following the setup instructions.
I also found it odd that people were referring to “wallet.dat”, yet I couldn’t find a wallet.dat anywhere on my system. I issued a zcash-cli dumpwallet command to create a wallet.dat but I’m not sure that is normal…
Any idea what’s going on? I’m a Linux and altcoin noob, so any help is appreciated!
keep the key that it dumps out, then wipe your existing zcash setup and perform the following (make sure you wipe the .zcash folders that appear hidden):
from here, for a clean install:
sudo apt-get update
sudo apt-get install -y build-essential pkg-config libc6-dev m4 g+±multilib autoconf libtool ncurses-dev unzip git python zlib1g-dev wget bsdmainutils automake
git clone GitHub - zcash/zcash: Zcash - Internet Money
cd zcash/
git checkout v1.0.0
./zcutil/fetch-params.sh
./zcutil/build.sh -j4
cd src
./zcashd -server -daemon -rpcuser=briank -rpcpassword=FHIWEUIFEW82394234 -rpcbind=127.0.0.1 -rpcallowip=127.0.0.1 -addnode=mainnet.z.cash
to watch daemon sync:
tail -f /root/.zcash/debug.log
then, to get yer phat cash back:
./zcash-cli -rpcuser=briank -rpcpassword=FHIWEUIFEW82394234 -rpcconnect=127.0.0.1 importprivkey keythatyoukeptfromearlier
yep, my standard method…
rpc password is very important… using rpc-json calls you can basically administer a wallet remotely (even over public ip/internet with SSL), as if you were logged in right in front of the machine that ran it - allowing for transfers/withdrawals, or anything that you could do now…
perhaps not important for someone giving a new currency a go, but an essential mechanism for somewhere like an exchange with hundreds of coin daemons running across their servers.
let me know if you have any hassles (obviously use a diff password haha)
Maybe making zcash.conf in .zcash directory would be better because rpcpassword will be shown at the process commandline all the time. (It’s too public)
zcash.conf example -----------------
addnode=mainnet.z.cash
rpcuser=username
rpcpassword=hellopassword
(end) -----------------------------------
If you run zcashd without zcash.conf, then zcashd will suggest some random password. Using that password would be good as it’s complex enough.