1.12.0 • Published 1 year ago

@cambrianprotocol/anchor-utils v1.12.0

Weekly downloads
-
License
(Apache-2.0 OR MI...
Repository
-
Last release
1 year ago

Ceramic anchor contract utilities

ceramicnetwork MIT license npm.io 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