> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trezu.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Funding through near.com

> Learn how to fund a confidential treasury using near.com

[Confidential treasuries](/confidential-treasuries) run on a private shard on NEAR, so assets need to be bridged from public blockchains to the private shard through [near.com](https://near.com/).

For teams that want to manage the bridging process themselves, this guide explains how to fund a confidential treasury through [near.com](https://near.com/).

<Tip>
  If you do not want to interact with [near.com](https://near.com/) or manage private accounts, Trezu can handle the bridging process for you automatically.

  Simply use the `Deposit` button in your confidential treasury's dashboard to generate a temporary deposit address, then send the funds from any external wallet to that address.

  Remember that temporary deposit addresses are single-use and remain valid for 72 hours, so make sure to create a new one if the address expires before you send the funds.
</Tip>

***

## Moving Funds into near.com

Navigate to [near.com](https://near.com/) and connect with any of the supported wallets. Once connected, you will see the main dashboard where you can deposit and manage your assets.

<img src="https://mintcdn.com/neardev/iwv3eXBbVRg_U-G-/assets/docs/confidential/near-com.png?fit=max&auto=format&n=iwv3eXBbVRg_U-G-&q=85&s=0c74a95072b4e808b864325e3bb8b03c" alt="near.com dashboard" width="1600" height="405" data-path="assets/docs/confidential/near-com.png" />

Use the `Receive` option to deposit funds into your main [near.com](https://near.com/) balance.

<img src="https://mintcdn.com/neardev/iwv3eXBbVRg_U-G-/assets/docs/confidential/near-com-receive.png?fit=max&auto=format&n=iwv3eXBbVRg_U-G-&q=85&s=500921e63ee3b84a09c4c705e940757f" alt="Receive funds screen" width="1600" height="1008" data-path="assets/docs/confidential/near-com-receive.png" />

In this example, we want to deposit some USDC from the NEAR wallet we used to log in, so we will select "Wallet or Exchange" as the source and deposit directly from that wallet.

<Check>
  `near.com` allows you to log in with multiple wallets across different chains and supports multiple popular assets.

  You can also deposit funds into your `near.com` by direct transfer from any external wallet.
</Check>

<img src="https://mintcdn.com/neardev/iwv3eXBbVRg_U-G-/assets/docs/confidential/near-com-receive-wallet-exchange.png?fit=max&auto=format&n=iwv3eXBbVRg_U-G-&q=85&s=3a4ab6cbb98e24a28c53a6507b57ae60" alt="Deposit funds screen" width="1600" height="1214" data-path="assets/docs/confidential/near-com-receive-wallet-exchange.png" />

***

## Transferring Funds to the Confidential Treasury

Now that the funds are in your main `near.com` balance, the next step is to move them into your confidential balance.

Use the top-left switch to enable confidential mode, then click `Transfer`. This moves the funds from your main `near.com` balance to your confidential `near.com` balance.

<img src="https://mintcdn.com/neardev/iwv3eXBbVRg_U-G-/assets/docs/confidential/near-com-confidential.png?fit=max&auto=format&n=iwv3eXBbVRg_U-G-&q=85&s=0238f2e8583a588c4c659c94f6cad8e3" alt="confidential mode enabled" width="1600" height="704" data-path="assets/docs/confidential/near-com-confidential.png" />

Select `To Confidential`, then choose which token and how much of it you want to transfer into your confidential balance.

<img src="https://mintcdn.com/neardev/iwv3eXBbVRg_U-G-/assets/docs/confidential/near-com-to-confidential.png?fit=max&auto=format&n=iwv3eXBbVRg_U-G-&q=85&s=2517793e8f64067377f249a5c0663a41" alt="Transfer to confidential account" width="1600" height="991" data-path="assets/docs/confidential/near-com-to-confidential.png" />

Once that transfer is complete, go back to the home screen and send the funds to the treasury. Click `Send` and select **another near.com account** as the destination.

<img src="https://mintcdn.com/neardev/iwv3eXBbVRg_U-G-/assets/docs/confidential/near-com-another-near-account.png?fit=max&auto=format&n=iwv3eXBbVRg_U-G-&q=85&s=e6efa37c14ceca3a973a7e65acbfb9b5" alt="Sending funds to another near.com account" width="1600" height="991" data-path="assets/docs/confidential/near-com-another-near-account.png" />

<Danger>
  As [confidential treasuries](/confidential-treasuries) are deployed on `near.com`'s private shards, they are effectively `near.com` accounts.

  Make sure to select **another near.com account** on the `Send` screen. If you send the funds anywhere else, they will not arrive in the confidential treasury.
</Danger>

Select the token you want to send and enter the treasury's account ID as the destination. You can find the treasury's account ID by using the `Deposit` button in your private treasury's [dashboard](https://trezu.app/).

<img src="https://mintcdn.com/neardev/iwv3eXBbVRg_U-G-/assets/docs/confidential/trezu-address.png?fit=max&auto=format&n=iwv3eXBbVRg_U-G-&q=85&s=221f9b6dfda8e317cace6931e21fbf3b" alt="getting address from trezu" width="1600" height="993" data-path="assets/docs/confidential/trezu-address.png" />

<Tip>
  Make sure to copy the correct account ID, remember that confidential treasuries can only receive funds from `near.com` accounts.
</Tip>

Confirm the transfer. Once it completes, you will see the funds in your confidential treasury's [dashboard](https://trezu.app), ready to use for payments and swaps.

<img src="https://mintcdn.com/neardev/iwv3eXBbVRg_U-G-/assets/docs/confidential/near-com-deposit-done.png?fit=max&auto=format&n=iwv3eXBbVRg_U-G-&q=85&s=bb4718a7be9fee0bd67574de9b15cd63" alt="deposit completed" width="1600" height="991" data-path="assets/docs/confidential/near-com-deposit-done.png" />

At this point, the treasury is funded and ready for confidential payment and swap proposals.

<img src="https://mintcdn.com/neardev/iwv3eXBbVRg_U-G-/assets/docs/confidential/trezu-funded.png?fit=max&auto=format&n=iwv3eXBbVRg_U-G-&q=85&s=5ac98d6a31dda633d69a40a93f504964" alt="confidential treasury dashboard" width="1600" height="992" data-path="assets/docs/confidential/trezu-funded.png" />
