beginner 30 min

Writing & Reading Memos

Encode JSON data into transaction memo fields using hex conversion. Build a memo parser to decode memos from on-chain transactions.

Overview

Encode JSON data into transaction memo fields using hex conversion. Build a memo parser to decode memos from on-chain transactions.

Resources

Assignments

1. Send a Memo

Send a payment transaction with a JSON memo attached (e.g. { "message": "hello XRPL" }). Convert to hex and include in the Memos field.

2. Read Memos

Build a listener that decodes memo fields from incoming transactions back to readable JSON.

Prerequisites

Complete these before starting this module:

Unlocks

Finishing this module opens up:

Assignments

1

Send a Memo

Send a payment transaction with a JSON memo attached (e.g. { "message": "hello XRPL" }). Convert to hex and include in the Memos field.

2

Read Memos

Build a listener that decodes memo fields from incoming transactions back to readable JSON.