IPNS PLAYER Key restore On VISA delegated Station

This commit is contained in:
fred 2022-11-17 12:07:23 +01:00
parent 728a9cdc5f
commit 65bfa4a4ab
1 changed files with 3 additions and 1 deletions

View File

@ -42,7 +42,9 @@ for PLAYER in $(ls -t ~/.zen/game/players/); do
&& mv ~/.zen/game/players/$PLAYER ~/.zen/game/players/.$PLAYER && continue
## MY PLAYER.
ipfs key rename $G1PUB $PLAYER
ipfs key export $G1PUB -o ~/.zen/tmp/$PLAYER.key
ipfs key import $PLAYER ~/.zen/tmp/$PLAYER.key
rm -f ~/.zen/tmp/$PLAYER.key
## REFRESH CACHE
rm -Rf ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/