intermediate 45 min

Escrow & Conditional Payments

Lock funds with time-based and cryptographic conditions. Create, finish, and cancel escrows. Understand smart-contract-like functionality native to XRPL.

Overview

Lock funds with time-based and cryptographic conditions. Create, finish, and cancel escrows. Understand smart-contract-like functionality native to XRPL.

Resources

Assignments

1. Time-Based Escrow

Create an escrow that releases 50 XRP after a 1-minute delay. Wait and finish it. Verify the funds arrived.

2. Crypto-Conditional Escrow

Generate a crypto-condition, create an escrow locked by it, then finish it with the fulfillment. Explain the use case.

Prerequisites

Complete these before starting this module:

Assignments

1

Time-Based Escrow

Create an escrow that releases 50 XRP after a 1-minute delay. Wait and finish it. Verify the funds arrived.

2

Crypto-Conditional Escrow

Generate a crypto-condition, create an escrow locked by it, then finish it with the fulfillment. Explain the use case.