GitHub - Cloudxtreme/blockstack-js: Blockstack JS Library · GitHub
Skip to content

Cloudxtreme/blockstack-js

 
 

Folders and files

Repository files navigation

Blockstack JS

CircleCI npm npm npm Slack

Blockstack JS is an all-encompassing JS library for Blockstack libraries and functions.

Child Libraries

Installation

$ npm install blockstack

Importing

ES6

import { profiles, zones, keychain, tokens } from 'blockstack'

Node

var blockstack = require('blockstack')

Usage

Available Functions

{ profiles: 
   { signTokenRecord: [Function: signTokenRecord],
     signTokenRecords: [Function: signTokenRecords],
     getProfileFromTokens: [Function: getProfileFromTokens],
     verifyTokenRecord: [Function: verifyTokenRecord],
     prepareZoneFileForHostedFile: [Function: prepareZoneFileForHostedFile],
     Profile: [Function: Profile],
     Person: [Function: Person],
     Organization: [Function: Organization],
     CreativeWork: [Function: CreativeWork],
     nextYear: [Function: nextYear] },
  keychain: 
   { getChildKeypair: [Function: getChildKeypair],
     getEntropy: [Function: getEntropy],
     PrivateKeychain: [Function: PrivateKeychain],
     PublicKeychain: [Function: PublicKeychain],
     numberToEntropy: [Function: numberToEntropy] },
  tokens: 
   { TokenSigner: [Function: TokenSigner],
     TokenVerifier: [Function: TokenVerifier],
     decodeToken: [Function: decodeToken],
     MissingParametersError: [Function: MissingParametersError],
     SECP256K1Client: 
      { [Function: SECP256K1Client]
        algorithmName: 'ES256K',
        createHash: [Function],
        loadPrivateKey: [Function],
        loadPublicKey: [Function],
        privateKeyToPublicKey: [Function],
        signHash: [Function],
        loadSignature: [Function],
        verifyHash: [Function] } },
  zones: 
   { makeZoneFile: [Function: makeZoneFile],
     parseZoneFile: [Function: parseZoneFile],
     ZoneFile: [Function: ZoneFile] } }

About

Blockstack JS Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • JavaScript 100.0%