This repository contains the source code for cwsc
, the standard reference implementation compiler for CWScript. cwsc
is written in TypeScript and requires Node.js v16 or later.
From the repository root:
npm install
npm run build # ignore the build errors from the eslint webpack dependency
npm pack
npm install -g cwsc-0.1.0.tgz # double-check this is the correct version number
npm remove cwsc
cwsc compile my-contract.cw
CWScript, cwsc
and its bundled toolchain are licensed under the MIT License.
Copyright © 2021-2022 Terran One, inc.