Skip to content

Create ipfs.add flag for specifying base of produced CID #5233

@lidel

Description

@lidel

This is a small, but important piece on the road to CIDv1 in Base32: https://github.com/ipfs/ipfs/issues/337
IMO it should happen before anything else:

To make migration easier, it should be possible for user to opt-in for different base when adding files:

ipfs add --cid-base=base32 (use of --cid-base should imply --cid-version 1)

Note: it is a separate thing from "specifying full default cidv1 parameters", which is tracked in #5230

cc @kevina @kyledrake @alanshaw (for parity with js-ipfs – ipfs/js-ipfs#1440)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions