🚀 DAY 2 OF LAUNCH WEEK: Unify Your Security Stack with Socket Basics.Learn more →
Socket
Book a DemoInstallSign in
Socket

@sensio/op-sn-cid

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sensio/op-sn-cid

Blockchain Version **bafy2bzacebvd3b7upai2av3w33dwrwqkh7w7qvbon6obi6q4evw6pqe744npu**

latest
Source
npmnpm
Version
0.4.8-alpha.4
Version published
Maintainers
1
Created
Source

@sensio/op-sn-cid

Blockchain Version bafy2bzacebvd3b7upai2av3w33dwrwqkh7w7qvbon6obi6q4evw6pqe744npu

Description

Generic CID, defaults to base32 and dag-cbor for Any kind of data.

  • npm: https://www.npmjs.com/package/@sensio/op-sn-cid
  • repo: repo folder
  • support: Discord server #public-support channel

Install

# install latest version
yarn add @sensio/op-sn-cid

# or specific version
yarn add @sensio/op-sn-cid@0.3.1

Usage

import { stringToU8a } from '@polkadot/util'
import snCid from '@sensio/op-sn-cid'

await snCid([
  {
    data: stringToU8a('demo'),
    decode: () => Buffer.from('demo')
  }
])

Contributing

PRs accepted.

License

Longer version is in LICENSE file

Apache-2.0 © Sensio Group

Keywords

sensio

FAQs

Package last updated on 08 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts