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

Make base32 the default encoding for CID V1 in IPFS .Net #78

Closed
richardschneider opened this issue Jun 12, 2019 · 0 comments
Closed

Make base32 the default encoding for CID V1 in IPFS .Net #78

richardschneider opened this issue Jun 12, 2019 · 0 comments

Comments

@richardschneider
Copy link
Owner

go-ipfs has changed the default encoding to base32 from base58btc for CID V1.

Old school

>echo "hello world" >hello
>>ipfs version
ipfs version 0.4.20

>ipfs add hello
added QmXeKtRSz7SVKp8Qh6tXtv6whRF5WXWQPwsqA38houakhZ hello

>>ipfs add --cid-version=1 hello
added zb2rhfVVf3X6mXmaQ5U4qw9jHNecJGCjEd3sapA1zRKs4p9FG hello

New school

>ipfs --version
ipfs version 0.4.21

>ipfs add hello
added QmXeKtRSz7SVKp8Qh6tXtv6whRF5WXWQPwsqA38houakhZ hello

>ipfs add hello --cid-version=1
added bafkreiedpegc2outvfezshfallhtlersllqndmuig7yqieaprzq6evslum hello
richardschneider added a commit that referenced this issue Jun 15, 2019
BREAKING CHANGE: The default was base58btc, it is now base32.
go-ipfs v0.4.21 has implemented this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant