Skip to content

Latest commit

 

History

History
28 lines (12 loc) · 926 Bytes

USAGE.md

File metadata and controls

28 lines (12 loc) · 926 Bytes

Usage of Aqua

Fluence CLI

The easiest way to use Aqua is through Fluence CLI with aqua command.

JS API

You can use Aqua compiler API directly from JS code by installing @fluencelabs/aqua-api package. See an example usage in api/api-example.

Build from sources

If you want to build Aqua compiler API from the source code, you need Scala's sbt installed.

Build to JS package

Javascript build is the default for Aqua compiler API.

Run sbt "aqua-apiJS/fullBundleJS". It will generate JS package in api/api-npm directory.

Build to JVM library

Building Aqua compiler API as JVM lib is technically possible, but is not supported.