JSPM

  • Created
  • Published
  • Downloads 46
  • Score
    100M100P100Q72622F
  • License MIT

Js compiler for Ride - Waves smart contract language.

Package Exports

  • @waves/ride-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 (@waves/ride-js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Ride-js

Javascript wrapper for ride language compiler

This repository also contains version of the compiler build with scala-js

To update compiler version in this wrapper:

  • Clone waves project
  • Checkout to branch of your choice to build new compiler version
  • Build js compiler using sbt task
sbt langJS/fullOptJS
  • From waves project copy ./lang/js/target/lang-opt.js to ./src of ride-js

Tasks

  • npm run build builds minified version that can be included as script tag. Add RideJS variable to global scope