开发者社区> 镜像站> NPM> blockchaindata-lib
blockchaindata-lib
Utilites for blockchain data
Last updated a year ago by kzv .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install blockchaindata-lib 
SYNC missed versions from official npm registry.

Documentation

Presently, we do not have any formal documentation other than our example

Installation

npm install blockchaindata-lib

API

SaveTextToBlockchain( dataString ) dataString - any string that will be saved to blockchain

SaveJSONToBlockchain( objectJSON ) objectJSON - any json object that will be savet to blockchain

SaveFileToBlockchain( data ) data - the javascript File object

GetObjectFromBlockchain( txid ) txid - transaction id

Return values

All "Save" functions are returned the json object {result: boolean, message: string, txid: string}

function GetObjectFromBlockchain returned the json object {type: string, base64: string}

Current Tags

  • 1.0.5                                ...           latest (a year ago)

6 Versions

  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None