JSPM

  • Created
  • Published
  • Downloads 37488
  • Score
    100M100P100Q143726F
  • License Apache 2.0

SDK to interact with the Casper blockchain

Package Exports

  • casper-js-sdk
  • casper-js-sdk/dist/lib.js
  • casper-js-sdk/dist/lib.node.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (casper-js-sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

CasperLabs SDK for JavaScript

Installation

If you start new project it's recommended to use 2.x version which contains some breaking changes (the 1.x will stop being supported in a few months).

# Basic Node.JS installation
npm install casper-js-sdk@next --save

To use the legacy version run

# Basic Node.JS installation
npm install casper-js-sdk --save

Documentation

Documentation generated from code for 2.x and 1.x.

Tests

npm run test

Examples

Basic examples of library usage are stored inside /test directory.