npm.io
5.4.0 • Published 2 years ago

@ceramicnetwork/anchor-utils

Licence
(Apache-2.0 OR MIT)
Version
5.4.0
Deps
4
Size
39 kB
Vulns
0
Weekly
0

Ceramic anchor contract utilities

ceramicnetwork MIT license Twitter

Getting started

Installation

$ npm install @ceramicnetwork/anchor-utils
Usage
import { convertEthHashToCid } from '@ceramicnetwork/anchor-utils'

const cidHash = convertEthHashToCid(stringHash.slice(2))

Development

Run tests:

npm test

Run linter:

npm run lint

Contributing

We are happy to accept small and large contributions. Make sure to check out the Ceramic specifications for details of how the protocol works.

License

MIT or Apache-2.0

Keywords