DeFi University
Skip to lesson

Exercise 4

HTLCs: Atomic Payments

About 14 min

Your task

You'll set the time locks for every HTLC on a three-hop route, starting from the recipient, then work out the longest the sender's funds could be stuck and why a late reveal still leaves the forwarder safe. By the end you can build and read an expiry ladder.

Time
15 to 20 minutes
You'll need
a calculator
Builds on
Lesson 4

Warm-up

Check yourself

Bob forwards a payment and later learns the preimage from Carol. What must he do next?

Check yourself

On a route Alice → Bob → Carol → Dave, which HTLC has the latest expiry?

Members only

This course is for members.

The DeFi University membership on Skool opens all 31 courses here, plus the live calls and community. Private coaching clients have access too. Already a member? Sign in with your Skool email.