newdump.sh 567 B

123456789
  1. cd /33cn/bityuan
  2. ./bityuan-cli seed generate -l 0 > /33cn/mySeed.txt
  3. echo "bty123456" > /33cn/myPass
  4. cat /33cn/mySeed.txt | xargs -I{} ./bityuan-cli seed save -p bty123456 -s "{}"
  5. ./bityuan-cli wallet unlock -p bty123456 -s wallet -t 0
  6. sleep 15
  7. ./bityuan-cli account list | grep "airdropaddr" -B 2 | grep addr -w | cut -d '"' -f 4 > /33cn/myAirdropAddr
  8. cat /33cn/myAirdropAddr | xargs -I{} ./bityuan-cli account dump_key -a {} > /33cn/myAirdropPriv
  9. cat /33cn/myAirdropPriv | grep data| cut -d '"' -f 4 | xargs -I{} echo "account import_key -l ali00001 -k {} "