/eth-htlc

Hashed timelock contract implementation in Solidity

Primary LanguageTypeScriptMIT LicenseMIT

Solidity Implementation of a Hashed Timelock Contract

This project contains an implementation of a HTLC in Solidity. It requires installation of Hardhat. Please note: this codebase is an educational example only and has not been audited. See this article for a breakdown of the design.

To run the unit tests:

npm install
npx hardhat test