Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tool for converting hashes #5229

Closed
kyledrake opened this issue Jul 13, 2018 · 3 comments
Closed

Tool for converting hashes #5229

kyledrake opened this issue Jul 13, 2018 · 3 comments
Assignees
Labels
topic/cidv1b32 Topic cidv1b32

Comments

@kyledrake
Copy link

Create a tool / subcommand within go-ipfs for converting between cidv0 and cidv1, and different bases (base58, base32, etc).

https://github.com/ipfs/ipfs/issues/337

@kevina

@Stebalien
Copy link
Member

Take a look at the cid-fmt command in the go-cid package. The command you're looking for is cid-fmt -b b -v 1 '%s'. It could definitely be better documented and more user friendly...

@magik6k magik6k added the topic/cidv1b32 Topic cidv1b32 label Jul 14, 2018
@kevina kevina self-assigned this Jul 15, 2018
@kevina
Copy link
Contributor

kevina commented Aug 9, 2018

I am thinking this should be a sub-command of go-ipfs. See #5357.

@ghost ghost added the status/in-progress In progress label Aug 15, 2018
@alanshaw
Copy link
Member

alanshaw commented Sep 12, 2018

JS CID tool coming together here: https://github.com/ipfs-shipyard/js-cid-tool - it can be integrated with ipfs as ipfs cid but can also be used as a standalone CLI tool.

alanshaw pushed a commit to ipfs/js-ipfs that referenced this issue Sep 13, 2018
This PR adds a `jsipfs cid` command with tools for formatting, converting and discovering properties of CIDs.

All the docs are here: https://github.com/ipfs-shipyard/js-cid-tool
Will resolve this for JS: ipfs/kubo#5229
go-ipfs counterpart: ipfs/kubo#5385

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
@ghost ghost removed the status/in-progress In progress label Oct 2, 2018
alanshaw pushed a commit to ipfs/js-ipfs that referenced this issue Oct 16, 2018
This PR adds a `jsipfs cid` command with tools for formatting, converting and discovering properties of CIDs.

All the docs are here: https://github.com/ipfs-shipyard/js-cid-tool
Will resolve this for JS: ipfs/kubo#5229
go-ipfs counterpart: ipfs/kubo#5385

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
alanshaw pushed a commit to ipfs/js-ipfs that referenced this issue Oct 17, 2018
This PR adds a `jsipfs cid` command with tools for formatting, converting and discovering properties of CIDs.

All the docs are here: https://github.com/ipfs-shipyard/js-cid-tool
Will resolve this for JS: ipfs/kubo#5229
go-ipfs counterpart: ipfs/kubo#5385

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/cidv1b32 Topic cidv1b32
Projects
None yet
Development

No branches or pull requests

5 participants