> For the complete documentation index, see [llms.txt](https://docs.wirexpaychain.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wirexpaychain.com/wirex-pay/wirex-pay-zk-infrastructure/validium-vs.-rollup.md).

# Validium vs. Rollup

While both ZK Rollups and Validium use Zero Knowledge proofs to enhance scalability and security, they differ in their data storage approaches:

| Feature         | ZK Rollups                                  | ZK Validium                                          |
| --------------- | ------------------------------------------- | ---------------------------------------------------- |
| Data Storage    | On-chain                                    | **Off-chain**                                        |
| Scalability     | High, limited by on-chain data availability | **Very high, due to off-chain data storage**         |
| Cost Efficiency | Moderate cost savings                       | **Significant cost savings**                         |
| Security        | Strong, with data verified on-chain         | **Strong, with data integrity maintained off-chain** |
