0.0.8 • Published 2 years ago

cid-prototypes v0.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

cid-prototypes

import 'cid-prototypes'
import { CID } from 'multiformats'

const cids = 'bafybeih3qajng5kyjv4apiiughyjhflfc2kn747ggujq7d6ulkritfqx4e'.getCIDs()
const fromHEX = `f01701220fb8012d375584d7807a11431f09395651694dff3e635130f8fd45aa2899617e1`.parseCID()
const toV0 = CID.parse(cids.v0)

console.log(toV0.toV1().equals(fromHEX), cids.v0)
0.0.8

2 years ago

0.0.5

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago