sliq
v2.2.0
Published
Sliq is a techelson testrunner for liquidity programs.
Downloads
19
Readme
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 :sparkling_heart:
Checkout this blogpost for how to use liquidity
with techelson
:raised_hands:
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 - Location of test(s). Can be a single test file or a folder. Can be passed multiple times.
--build - Location of contract to build.
--help - Display usage information.
--verbose -v - Verbose output
--version - Sliq version
Changelog
2.2.0
- Added basic build support :package: :tada:
enjoy!