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