aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-akid-get-ipfs-hash
blob: 996a34ffbcf9c931b98c2976fbbb5affd36e4651 (plain)
1
2
3
4
5
#!/bin/bash
# Resolves the IPNS key "ak-config" to its current IPFS value
# Return IPFS CIDv0 without /ipfs/ prefix
ak-ipfs-name-resolve /ipns/$(ak-akid-get-ipns-key) | sed -e 's/\/ipfs\///'