/ipns/$IPFSNODEID json publish by PLAYER.refresh.sh

This commit is contained in:
fred 2022-10-28 01:23:41 +02:00
parent 2291ee512b
commit ea7c3625fb
1 changed files with 0 additions and 8 deletions

View File

@ -103,14 +103,6 @@ echo "ENTREE ACCORDEE"
echo
ASTRONAUTENS=$(ipfs key list -l | grep -w "$PLAYER" | cut -d ' ' -f 1)
## IPFSNODEID SIGNALING ##
[[ ! $(grep -w "$ASTRONAUTENS" ~/.zen/game/astronautes.txt ) ]] && echo "$PSEUDO:$PLAYER:$ASTRONAUTENS" >> ~/.zen/game/astronautes.txt
ROUTING=$(ipfs add -q ~/.zen/game/astronautes.txt)
echo "PUBLISHING IPFSNODEID / Astronaute List"
ipfs name publish /ipfs/$ROUTING
######################
echo "$(cat ~/.zen/game/players/.current/.pseudo 2>/dev/null) TW/Moa"
echo "http://127.0.0.1:8080/ipns/$ASTRONAUTENS"
echo "Activation Réseau P2P Astroport !"