JSPM

@ceramicnetwork/anchor-utils

2.4.0-nightly.5+fed99a6e
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 965
    • Score
      100M100P100Q117472F
    • License (Apache-2.0 OR MIT)

    Ceramic anchor contract constants, interface and utilities

    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

    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