@ceramicnetwork/anchor-utils
TypeScript icon, indicating that this package has built-in type declarations

5.4.0 • Public • Published

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

Dependencies (4)

Dev Dependencies (3)

Package Sidebar

Install

npm i @ceramicnetwork/anchor-utils

Weekly Downloads

1,706

Version

5.4.0

License

(Apache-2.0 OR MIT)

Unpacked Size

40.3 kB

Total Files

54

Last publish

Collaborators

  • npm.3box
  • smrz2001
  • oed
  • stbrody
  • ukstv
  • dav1do