aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-get-akid
blob: 61bc5637fcecab6ae9c142c881621ae1ab87e152 (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-ipfs-key-list-full | grep ak-config | awk '{print $1}') | sed -e 's/\/ipfs\///'