@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

/@ceramicnetwork/anchor-utils/

    Package Sidebar

    Install

    npm i @ceramicnetwork/anchor-utils

    Weekly Downloads

    2,864

    Version

    5.4.0

    License

    (Apache-2.0 OR MIT)

    Unpacked Size

    40.3 kB

    Total Files

    54

    Last publish

    Collaborators

    • dav1do
    • ceramic-velvetshark
    • cb3box
    • jpham2023
    • npm.3box
    • smrz2001
    • oed
    • paul_lecam
    • stbrody
    • ukstv