Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 871 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 871 Bytes

Helios Time Lock

This is a variation of the Helios time-lock smart contract.
The Helios code is in validator.hl.
The validator.js file compiles Helios and generates the final artifacts.

Setup

The Helios library is pure JavaScript 🎉
Install dependencies with either npm install or yarn.
It has been tested with NodeJS version 19.4.0 but it should work with other recent versions as well.

Compiling and Generating Artifacts

To generate all the artifacts needed to interact with the smart contract, run the following:

$ npm run compile

The artifacts should be generated on the dist folder.

$ tree dist
dist
├── datum.json
├── validator.addr
└── validator.json