JSPM

@ceramicnetwork/anchor-utils

5.4.1-rc.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 235
    • Score
      100M100P100Q117367F
    • License (Apache-2.0 OR MIT)

    Ceramic anchor contract constants, interface and utilities

    Package Exports

    • @ceramicnetwork/anchor-utils

    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