Browse Source

fix cli name

linj-disanbo 4 years ago
parent
commit
299a1fe71c
1 changed files with 5 additions and 5 deletions
  1. 5 5
      dump_key.sh

+ 5 - 5
dump_key.sh

@@ -1,9 +1,9 @@
 cd ~/chain33
-./chain33-cli seed generate -l 0  > ~/mySeed.txt
+./bityuan-cli seed generate -l 0  > ~/mySeed.txt
 echo "bty123456" > ~/myPass
-cat ~/mySeed.txt | xargs -I{} ./chain33-cli seed save -p bty123456 -s "{}"
-./chain33-cli  wallet unlock  -p bty123456 -s wallet -t 0
+cat ~/mySeed.txt | xargs -I{} ./bityuan-cli seed save -p bty123456 -s "{}"
+./bityuan-cli  wallet unlock  -p bty123456 -s wallet -t 0
 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 {} "