Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 911 Bytes

README.md

File metadata and controls

53 lines (33 loc) · 911 Bytes

HTLC

For EVM to Non-EVM cross chain swaps

Bitcoin Lightning: https://www.youtube.com/watch?v=12Y0qTUlRKU

Stellar: https://leondo.medium.com/stellar-hash-timelock-contract-htlc-9cdc998999c5

Sepolia: https://sepolia.etherscan.io/address/0xd70df01b868f3c57d42fcdc4e8feac33e5c0d235#code

Install

forge install --no-commit --shallow OpenZeppelin/openzeppelin-contracts

Documentation

https://book.getfoundry.sh/

Usage

Format

forge fmt

Build

forge build

Test

forge test --watch --run-all

Deploy

source .env

forge script script/Deploy.s.sol:DeployScript \
    --rpc-url $RPC_URL \
    --broadcast --verify -vvvv \
    --legacy