Skip to content

Get the ipfs CID from the name of a block filename.

License

Notifications You must be signed in to change notification settings

nlko/ipfs-block-to-cid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get the ipfs CID from the name of a block filename.

Example:

If there is a file in a repo named CIQENVCICS44LLYUDQ5KVN6ALXC6QRHK2X4R6EUFRMBB5OSFO2FUYDQ.data and you want to know the CID, you can do this :

./ipfs-block-to-cid CIQENVCICS44LLYUDQ5KVN6ALXC6QRHK2X4R6EUFRMBB5OSFO2FUYDQ
QmT78zSuBmuS4z925WZfrqQ1qHaJ56DQaTfyMUF7F8ff5o

Build

run the provided build script or go build ipfs-block-to-cid.go

About

Get the ipfs CID from the name of a block filename.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages