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 flow
- They use the deposit action in the MOSS interface
- Using the deposit method
Flow:
- Click
Add fundson the appropriate screen (e.g. Call Contract) - Choose
Buy with card - Enter an amount
- A set of quotes from available providers is fetched
- Choose to continue with the provider which opens a new window/tab with the amount and deposit information pre-populated
- Complete ramp with provider and the window automatically closes
- MOSS interface automatically detects new funds and proceeds with the request
User
MOSS
Provider
User to MOSS:
Add funds, thenBuy with cardUser to MOSS: Enter an amount
MOSS to Provider: Fetch quotes
Provider to MOSS: Quotes
User to MOSS: Choose a provider
MOSS to Provider: Open with the amount and deposit details
User to Provider: Complete the ramp
Provider to MOSS: Funds arrive
MOSS to 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.