> For the complete documentation index, see [llms.txt](https://docs.mesprotocol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mesprotocol.com/overview/how-does-mes-work.md).

# How does MES work

1\. User deposits asset from source chain to MES’s smart contract

2\. Once the fund is received by the smart contract, MES’s node will execute a swap, the price is determined by Stableswap AMM algorithm, i.e. the price deduced will be based on liquidity of the input/output chain

3\. After the order is settled, the node will call the transfer function at destination chain and transfer asset to the user’s address on destination chain
