> For the complete documentation index, see [llms.txt](https://bridge-docs.orbitchain.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bridge-docs.orbitchain.io/contract/vault/xrp.md).

# XRP

## Interface

### Deposit (Bridging request)

* User submit `toChain` & `toAddress` in the [BRIDGE](https://bridge.orbitchain.io/) (or direct to orbitchain xrpaddressbook contract) and issued `TAG`.
* The user requesting bridging sends Transfer Transaction with the `TAG` of the rule set in XRP Vault

### Withdraw (Bridging execution)

* Bridge Validator proceeds to consensus on Raw Transaction
* Each validator sign to Raw Transaction via own private key
* Using XRP's public Ledger API to broadcast multi-signing transaction

```javascript
Transaction Memo = [
    {
        type: "govId",
        data: "0x0000000000000000000000000000000000000000000000000000000000000000"
    },
    {
        type: "swapIndex",
        data: "123"
    }
]
```
