Cashc CLI

cashc can be used to compile CashScript .cash files into .json artifact files. These artifacts can be imported and used by any of the CashScript SDKs, or other libraries / applications that utilise CashScript. Check out the Language Documentation for a full overview of this Artifact format.


You can use npm to install the cashc command line tool gloablly.

npm install -g cashc


The cashc CLI tool can be used to compile .cash files to JSON artifact files.

Usage: cashc [options] [source_file]

  --output, -o  Specify a file to output the generated artifact.
                                                             [string] [required]
  --help        Show help                                              [boolean]
  --version     Show version number                                    [boolean]

Do You Want To Get Free Developer Resources?