EN

Locking and issuing

4 minDifficulty Checked 2026-11-10
Key takeaways
  • A bridge does not swap assets. It locks them on one chain and wraps them on another.
  • Each side of a bridge is run through a door account.
  • The two chains never talk directly. Witness servers report what happened.

A blockchain cannot reach into another blockchain. XRP lives on the XRP Ledger and nowhere else. To use its value on a second chain, you need a bridge.

A bridge does not trade one asset for another. The XLS-38 spec offers a good picture: a box with an endless supply of wrapped coins.

  • Put a real coin into the box. A wrapped coin comes out on the other chain.
  • Put a wrapped coin back. A real coin comes out again.
  • There is no other way in or out of the box.

The chain where the real asset lives is the locking chain. The chain that gets the wrapped copy is the issuing chain. For XRP, the XRP Ledger would be the locking chain and a sidechain would be the issuing chain.

A sidechain is its own ledger. It has its own validators, its own rules and its own list of trusted validators. Nodes on one chain know nothing about the other.

Each end of the bridge is a special account called a door account. The door on the locking chain holds the locked assets. The door on the issuing chain issues the wrapped ones.

Since the chains cannot see each other, someone has to carry the news. Witness servers watch both doors. When assets are locked on one side, witnesses sign a statement saying so and deliver it to the other side.

This bridge design is part of the protocol itself, not an app. It is not enabled on mainnet. Validators have been able to vote on it since January 2024.

Check yourself3 questions
1. What happens to XRP sent across a bridge from the locking chain?
2. How does the issuing chain learn that assets were locked?
3. How many bridges can one door account have?
Sources
Next lessonA transfer, step by step4 min