🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@sensio/op-sn-save-statements

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sensio/op-sn-save-statements

Save the given statements to the Sensio Network. This operation waits until the records are in finalized state. Accepts the list of claims with the list of signatures for each claim. Mapping is done with the index of the list so `param1[0]` and `param2[0]

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

@sensio/op-sn-save-statements

Blockchain Version bafy2bzacecmqyut2oozadzigqsggrhkqxd2fxovubcy4djibfyci6iq6t4s4u

Description

Save the given statements to the Sensio Network. This operation waits until the records are in finalized state. Accepts the list of claims with the list of signatures for each claim. Mapping is done with the index of the list so param1[0] and param2[0]. If there are mismatches in the either of the params this operation will fail. Meaning that param1.length === param2.length

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

Install

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

# or specific version
yarn add @sensio/op-sn-save-statements@0.1.0

Usage

import snSaveStatements from '@sensio/op-sn-save-statements'

const dataAsUintArray = new U8intArray(7)
const dataAsBuffer = Buffer.from(7)
await snSaveStatements([{data: dataAsUintArray, decode: ()=> dataAsBuffer}])

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