Inspiration from: https://github.com/chatch/hashed-timelock-contract-ethereum/blob/master/test/htlcERC20.js
Substrate side: https://github.com/carloskiron/timeLockPalletSubstrate/tree/master/pallets/aswap
SUBSTRATE_WS_URL="ws://127.0.0.1:9944"
TIME_LOCK_CONTRACT="0x..."
JUR_CONTRACT="0x..."
yarn install
yarn hardhat compile
test/JURBridge.ts
yarn hardhat run ./scripts/deployTimeLockContract.ts --network vechain