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