blob: 303d59514331147f388875da0b58f266ac6b50cb (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/bash
# Outputs all the "ipfs" values from the DATA blocks of our ZCHAIN
if [ ! -z $1 ]
then
ak-enter $1 | jq | grep ipfs | awk '{print $2}' | sed -e 's/"//g;s/,//g'
else
ak-enter | jq | grep ipfs | awk '{print $2}' | sed -e 's/"//g;s/,//g'
fi
|