Package Exports
- @ceramicnetwork/anchor-utils
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ceramicnetwork/anchor-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Ceramic anchor contract utilities
Getting started
Installation
$ npm install @ceramicnetwork/anchor-utilsUsage
import { convertEthHashToCid } from '@ceramicnetwork/anchor-utils'
const cidHash = convertEthHashToCid(stringHash.slice(2))Development
Run tests:
npm testRun linter:
npm run lintContributing
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