Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.45 KB

File metadata and controls

46 lines (32 loc) · 1.45 KB

JoyStream Node

npm package

joystream-node is the core javascript library for the JoyStreamClassic payment protocol over BitTorrent.

conan remote add joystreamclassic https://api.bintray.com/conan/joystreamclassic/main True

npm install joystream-node

Dependencies

The module is a nodejs native c++ addon and needs to be compiled from source. The build tools required are:

  • git
  • node-js
  • node-gyp
  • CMake (minimum version 3.1 for support of CMAKE_CXX_STANDARD variable)
  • python2 + pip
  • Conan C/C++ package manager

Follow instruction in node-gyp readme for setting up a compiler toolchain for your platform.

The module depends on multiple c++ packages which will be fetched and built using conan.

After installing conan add the JoyStreamClassic conan repository:

conan remote add joystreamclassic https://api.bintray.com/conan/joystreamclassic/main True

If building on windows install npm v4.6.1 (build fails with newer versions of npm)

npm install -g npm@4.6.1

Installing joystream-node:

npm install joystream-node

License

JoyStream node library is released under the terms of the MIT license. See LICENSE for more information.