diff --git a/zen/new_file_in_astroport.sh b/zen/new_file_in_astroport.sh index 945a711..cb50432 100755 --- a/zen/new_file_in_astroport.sh +++ b/zen/new_file_in_astroport.sh @@ -100,10 +100,10 @@ if [[ $KEY ]]; then echo "$KEYFILE" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/$type_$TMDB/.ipns.key.keystore_filename echo "$G1PUB" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/$type_$TMDB/.g1_creator touch ~/.zen/ipfs/.${IPFSNODEID}/KEY/$type_$TMDB/.zen - echo "" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/$type_$TMDB/ipns.html +# echo "" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/$type_$TMDB/ipns.html $MY_PATH/jaklis/lib/natools.py encrypt -k $G1PUB -i ~/.ipfs/keystore/$KEYFILE -o ~/.zen/ipfs/.${IPFSNODEID}/KEY/$type_$TMDB/.ipns.key.encrypt.natools fi - +# IPNS index.html Redirect to ipfs streaming link (could be contract !!) echo "" > ~/.zen/ipfs/.${IPFSNODEID}/KEY/$type_$TMDB/index.html NEWIPFS=$(ipfs add -rHq ~/.zen/ipfs/.${IPFSNODEID}/KEY/$type_$TMDB | tail -n 1 ) ipfs name publish --key="$type_$TMDB" $NEWIPFS