Set Up an XRP-XRP Bridge
This tutorial shows how to set up an XRP-XRP bridge, which lets you move XRP between chains. Its code samples show how a bridge was set up between Devnet and Sidechain-Devnet.
- Section
- Tutorials
What it covers
The setup uses the genesis account on the issuing chain as a door account. That account submits attestations and creates transaction submission accounts for witnesses. The bridge between these two networks is already created, so the process cannot be reproduced on them. The feature requires the XChainBridge amendment, which the page lists as obsolete and to be removed.
What you need
The issuing chain must be set up and active, with validators running and closing ledgers. The witnesses' accounts on the locking chain must be funded, so they can submit transactions. A door account for the bridge must exist on the locking chain.
The steps in short
Connect to both chains. From the door account on the locking chain, submit an XChainCreateBridge transaction and a SignerListSet transaction, then disable its master key with an AccountSet transaction. From the genesis account on the issuing chain, submit an XChainCreateBridge transaction. The witnesses submit XChainAccountCreateCommit transactions from their locking chain accounts, to create matching accounts on the issuing chain. Submit an attestation for each of those with the XChainAddAccountCreateAttestation transaction, signed by the genesis account. Last, the genesis account submits a SignerListSet transaction, and its master key is disabled with an AccountSet transaction.
Good to know
A note in the sample code says the MinAccountCreateAmount value should be at least equal to the account reserve on the issuing chain.
Source: xrpl.org. Read 6 December 2026.
Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made