hgrano / eth-htlc

Hashed timelock contract implementation in Solidity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Hashed timelock contract implementation in Solidity

License:MIT License


Languages

Language:TypeScript 64.6%Language:Solidity 35.4%