Collection of hashed time-locked contracts for Agora Trade
Switch branches/tags
Nothing to show
Clone or download

README.md

htlc

Collection of hashed time-locked contracts for Agora Trade.

Deployed

See list of deployed contracts.

$ yarn run etherscan

Build Setup

For detailed explanation on how things work, checkout the Dapp and Hevm docs.

# install dapp.tools
$ curl https://nixos.org/nix/install | sh
$ nix-channel --add https://nix.dapphub.com/pkgs/dapphub
$ nix-channel --update
$ nix-env -iA dapphub.{dapp,seth,hevm,evmdis}
# to install
git clone git@github.com:Trinkler/htlc.git
cd htlc
yarn

Test Setup

# to compile
$ yarn run compile
# in separate console run
$ yarn run testnet
# to test and develop
$ yarn run test
# solum linting
$ yarn run lint
$ yarn run format