Stress Test the Bridge

Attention

The XRPL EVM compatible sidechain implementation is a proof of concept extension to the XRP Ledger protocol and is for development purposes only. There is no official amendment currently and it is not available on the production Mainnet. The EVM compatible sidechain bridge is connected to the XRP Ledger Devnet. Do not send transactions in Mainnet.

You can stress test account creations and claims.

Create Account

evmcli bridge stress \
    --config ./usd-bridge.json \
    --parallel-creates 10 \
    --create-iterations 10 \

Each iteration will:

  • Create a random account on the locking chain.
  • Make an XChainCreateAccountCommit transaction on the issuing chain, using the previously created account.
  • Wait for attestations to receive the funds on the locking chain.
  • Repeat the process using the destination account as the origin account.

Create Claims

evmcli bridge stress \
    --config ./usd-bridge.json \
    --parallel-claims 15 \
    --claim-iterations 5

Each iteration will:

  • Make an XChainCreateClaim transaction on the locking chain.
  • Make an XChainCommit transaction on the locking chain, using the previously created Claim ID.
  • Wait for attestations to receive the funds on the locking chain.
  • Repeat the process using the destination account as the origin account, and the origin account as the destination account.