Skip to content
Liquidity / techelson smart contract testing tool
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
contracts
docker
tests
.gitignore
.npmrc
README.md
index.js
package.json
ui.js
utils.js

README.md

Sliq

Sliq is a techelson testrunner for liquidity programs. It allows you to easily write and test smart contracts for the Tezos blockchain.

Sliq is a JavaScript cli application wrapping a docker image containing liquidity and techelson.

Another awesome thing is that liquidity supports Reason syntax, so now you can write both your contracts and your tests in Reason 💖

Checkout this blogpost for how to use liquidity with techelson 🙌

Install

Make sure you have node.js, npm and docker installed (and permissions to docker run without sudo).

npm install -g sliq

Use

sliq --contracts contracts/Demo.reliq --tests tests/

NB! The first time you run sliq it pulls the required docker image from docker hub. It's about 182MB, so it takes a little while.

Options

option        default       wat
--
--contracts   -             Location of contract(s). Can be a single contract file or a folder. Can be passed multiple times.
--tests       - (required)  Location of test(s).  Can be a single test file or a folder. Can be passed multiple times.
--help        -             Display usage information.
--verbose -v  -             Verbose output
--version     -             Sliq version

enjoy!

You can’t perform that action at this time.