# What Is MOSS?

MOSS is MegaETH's embedded wallet which empowers apps to get the most out of the network with minimal effort.

The MOSS SDK embeds a hosted iFrame when initialised to [account.megaeth.com](https://account.megaeth.com) and
exposes actions to apps such as calling contracts, swapping and granting permissions.

## One Wallet, Multiple Apps
Unlike other embedded wallet solutions where a new wallet must be created and funded for each domain/app, MOSS
wallets work across all apps on the network. Simply initialise the wallet and call connect and a user can use the
wallet and funds they already have.

This simplifies onboarding for your app and avoids fragmentation for users having to manage and fund gas for multiple
separate wallets.

## Batteries Included
Simplify your build by using the built-in functionality for:
- Ramping from fiat (Apple Pay, cards, transfers)
- Transferring funds from other networks (Ethereum, Base, Solana, Bitcoin, etc)
- Swapping tokens via a marketplace (Relay, LI.FI, MoonPay Trade)
- Paying gas in USDm, MEGA, USDT0 or ETH
- Gas sponsorship in ETH or USDm
- Account management & dashboard
- Automatic SIWE authentication via JWTs

## App Permissions
MOSS includes a rich permissions model which allows you as a developer to declare up-front a list of contracts and
token allowances for a user to approve access to for your app.

Once approved, you can call these contracts silently without triggering a prompt for a user to approve. This is
especially useful for games or high-frequency actions where execution time is important.

[Learn more](https://moss.megaeth.com/developers/concepts/permissions)

## Built for Speed
MegaETH is exceptionally fast and perfectly suited to high-frequency or time critical apps. Take full advantage of
this by using the permissions model to pre-approve contract calls and execute sub-second transactions just the same
as calling any contract normally.

MOSS and its supporting public packages utilise `realtime` executions which broadcast and resolve in a single RPC
call instead of requiring polling using the transaction hash.

## Account Management
Skip building functionality for a user to manage their wallet and permissions and instead use the SDK to open the
full wallet or link a user to [account.megaeth.com](https://account.megaeth.com).
