dumpkey.sh 488 B

1234567891011
  1. cd /root/bityuan
  2. ./bityuan-cli net info
  3. pass="123456"
  4. [ -e ~/myPass ] && pass=`cat ~/myPass`
  5. ./bityuan-cli wallet unlock -p $pass -s wallet -t 0
  6. sleep 15
  7. ./bityuan-cli account list | grep "airdropaddr" -B 2 | grep addr -w | cut -d '"' -f 4 > ~/myAirdropAddr
  8. cat ~/myAirdropAddr | xargs -I{} ./bityuan-cli account dump_key -a {} > ~/myAirdropPriv
  9. cat ~/myAirdropPriv | grep data| cut -d '"' -f 4 | xargs -I{} echo "Run the cmd in wallet PC: account import_key -l ali00001 -k {} "