> ## Documentation Index
> Fetch the complete documentation index at: https://base-a060aa97-docs-devrel-859-eth-getproof-historical-proof.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Deposit to a Ledger

> Move funds from Base into a private ledger through the Portal contract, with the recipient encrypted onchain.

A deposit moves funds from Base into the ledger through the `Portal` contract. The asset, amount, and sender settle publicly on Base, but the recipient is encrypted, so many deposits to one account can't be linked. See [Private Transactions](/get-started/private-transactions).

## What's Exposed Onchain

| Data | Public? | Why |
| - | - | - |
| Asset | Public | The Portal settles the transfer on Base. |
| Amount | Public | The Portal settles the transfer on Base. |
| Sender | Public | The address that submits the deposit. |
| Recipient | Hidden | Encrypted so deposits to one account can't be linked or attributed. |

A deposit can also require an attestation or permission, for example to gate who can deposit.

## See Also

<CardGroup cols={2}>
  <Card title="Transfer inside a ledger" icon="arrow-right-arrow-left" href="/build-on-base/ledgers/transfer">
    Move value privately between accounts.
  </Card>

  <Card title="Withdraw from a ledger" icon="upload" href="/build-on-base/ledgers/withdraw">
    Move funds from a ledger back to Base.
  </Card>
</CardGroup>
