# Ramps

MOSS comes pre-packaged with the ability for a user to ramp fiat via our partners, transfer funds from another MegaETH
wallet or bridge from a wallet on another network.

These options are automatically presented to users when:
- They have insufficient gas for a request
- They have insufficient funds for a transfer
- They are using the [checkout](https://moss.megaeth.com/developers/methods/sending-funds/checkout) flow
- They use the deposit action in the MOSS interface
- Using the [deposit](https://moss.megaeth.com/developers/methods/deposit) method

Flow:

1. Click `Add funds` on the appropriate screen (e.g. Call Contract)
2. Choose `Buy with card`
3. Enter an amount
4. A set of quotes from available providers is fetched
5. Choose to continue with the provider which opens a new window/tab with the amount and
deposit information pre-populated
6. Complete ramp with provider and the window automatically closes
7. MOSS interface automatically detects new funds and proceeds with the request

- User → MOSS: `Add funds`, then `Buy with card`
- User → MOSS: Enter an amount
- MOSS → Provider: Fetch quotes
- Provider → MOSS: Quotes
- User → MOSS: Choose a provider
- MOSS → Provider: Open with the amount and deposit details
- User → Provider: Complete the ramp
- Provider → MOSS: Funds arrive
- MOSS → User: Continue the request

In the case of a transfer or checkout request where the user has existing funds, the missing fund amount is set
automatically.

> [!NOTE]
> Most providers impose a minimum ramp amount which may exceed the missing funds.

> [!NOTE]
> Ramps are provided by [Unifold](https://unifold.io/)
