# Wallets & Fiat On-Ramp

### Smart Wallets

We integrate **Smart Wallets** (via Alchemy Account Kit) to simplify authentication and transaction signing.

* **No Extension Needed**: You don't need to install a browser extension like MetaMask.
* **Social Login**: Sign in using your Google account, email, or other social providers.
* **Embedded Wallet**: A secure wallet is automatically created for you, linked to your login credentials.
* **Gas Sponsorship**: In some cases, transaction gas fees might be sponsored/subsidized for a seamless experience.

<figure><img src="/files/nyWn1eE0pEaiLIw2eF8S" alt=""><figcaption></figcaption></figure>

### Ocean on Base Network

Ocean Protocol is now deployed on **Base**, an Ethereum Layer 2 (L2) network incubated by Coinbase. This move significantly reduces transaction costs and improves speed for all compute jobs and data publishing.

#### Why Base?

* **Low Fees**: Transactions on Base cost a fraction of what they do on Ethereum Mainnet.
* **Ethereum Security**: Base inherits the security of Ethereum.
* **USDC Standard**: Native USDC support makes payments seamless.

### Bridging Funds to Base

To pay for compute resources, you will need **USDC** on the Base network. If you already have funds on Ethereum Mainnet or another chain, you can easily bridge them.

#### Official Base Bridge

1. Go to the [Official Base Bridge](https://bridge.base.org/deposit).
2. Connect your Ethereum wallet.
3. Select **Deposit** to move assets (ETH or USDC) from Ethereum Mainnet to Base.
4. Confirm the transaction. Your funds will arrive on Base in a few minutes.

### Fiat On-Ramp *(Coming Soon)*

> **Coming Soon** — The built-in fiat on-ramp is under active development and will be available shortly.

The dashboard includes a built-in **Fiat On-Ramp** powered by [MoonPay](https://www.moonpay.com/), allowing you to purchase **USDC on Base** directly with a credit or debit card, no crypto exchange or bridging required.

#### How It Works

The on-ramp is triggered automatically during the payment flow when your combined wallet balance and escrow balance fall short of the total compute job cost. The dashboard calculates the exact shortfall and pre-fills the amount in the MoonPay widget for you.

1. **Start a Compute Job**: Navigate to a compute environment and select your resources.
2. **Automatic Top-Up Prompt**: If your USDC balance (wallet + escrow) is insufficient, the payment screen shows a **"Top Up"** step before deposit and authorisation.
3. **MoonPay Widget Opens**: An overlay widget from MoonPay appears, pre-filled with the exact USDC amount you need on Base.
4. **Pay by Card**: Enter your credit or debit card details. The required USDC is purchased and delivered directly to your connected smart wallet address.
5. **Refresh Balance**: Once the transaction settles, click **"Refresh wallet balance"** to confirm receipt, then continue to the deposit and authorisation steps.

#### Payment Flow Summary

| Step          | What Happens                                                                         |
| ------------- | ------------------------------------------------------------------------------------ |
| **Top Up**    | Triggered when wallet + escrow balance < job cost (USDC only). MoonPay widget opens. |
| **Deposit**   | Move USDC from your wallet into escrow to cover the job cost.                        |
| **Authorise** | Sign the payment authorisation to lock funds and start the job.                      |

#### Transaction States

After submitting payment through MoonPay, you may see one of the following statuses:

* **Completed:** Payment successful; your wallet balance will update.
* **Pending:** Payment is being processed.
* **Waiting for Authorisation:** Your bank or card provider needs to approve the transaction.
* **Waiting for Payment:** MoonPay is awaiting your payment confirmation.
* **Failed:** Payment was not successful; try again or use an alternative funding method.

#### Notes

* The MoonPay on-ramp is only available when **USDC** is selected as the payment token. Other tokens cannot be topped up via fiat.
* The widget is pre-populated with your connected smart wallet address, no manual entry needed.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.oncompute.ai/ocean-network-dashboard/wallets-and-fiat-on-ramp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
