# How shielded payments work

Zcash and Railgun record shielded payments as encrypted records called *notes*. Your wallet uses its viewing keys to recognize your notes. To spend one, the wallet uses a zero-knowledge proof so the network can verify the payment while keeping the note’s owner and value private. [Railgun privacy system](https://docs.railgun.org/wiki/learn/privacy-system)

## What shows up on Ethereum?

| Action in Veylor | Visible on Ethereum | Kept private from a chain observer |
| --- | --- | --- |
| Receive USDC from an exchange | The token transfer to your `0x` deposit address, the amount, and the movement through the vault into Railgun. | The receiving `0zk` address and its balance. |
| Send 0zkUSDC to another `0zk` address | A Railgun transaction, its timing and the relayer account that submitted it. | The private sender, recipient, token and payment amount inside the pool. |
| Withdraw USDC | The recipient’s `0x` address, the token, amount, timing and submitting account. | Which private notes funded the withdrawal and their owner’s remaining balance. |

A distinctive amount withdrawn shortly after a similar deposit can suggest a link between the two. A bridge swap also leaves a public Ethereum escrow record, even when the final payout is shielded. [How transactions can be linked](https://docs.veylor.cash/concepts/linking/) · [Bridge privacy](https://docs.veylor.cash/bridge/privacy/)

## Who pays for a private transfer?

For a private send or withdrawal, Veylor prepares the proof on your device. A relayer submits the transaction and pays the Ethereum gas. You cover the quoted fee from your shielded balance. On Ethereum, the relayer appears as the account that submitted the transaction. [Veylor’s relayed transfers](https://github.com/ChinmayGopal931/zecSwap/blob/2470b7cf535185e837bfe5af5e641ea2c964a23f/docs/railgun-sends.md)
