# Paymaster

In the realm of crypto transactions, gas fees can be a hurdle for users. Paymasters emerge as a solution to streamline gas fee management, allowing users to pay gas fees with ERC20 tokens. They act as smart contracts that sponsor transactions on behalf of users, offering several advantages:

* Flexible Payment Options: Paymasters open doors to diverse payment methods. Instead of solely relying on the blockchain's native currency, users are allowed to pay with a variety of ERC-20 tokens, like stablecoins, through integrations.
* Passive Payments: Users no longer need to manually handle gas fees. Paymasters can cover the cost automatically, enhancing user experience.
* Secure Payment Guarantees: Paymasters ensure that gas fees are paid, safeguarding the network from malicious actors who might exploit free transactions.

We have partnered with Zyfi’s Paymaster, which allows us to expand the range of tokens you can use to cover gas fees.

For more information, please check out the following article:

<https://zyfiofficial.medium.com/amply-x-zyfi-b28214d66c7e>

**How Paymasters Work on Amply**

1. Initiate a Transaction: Before completing a transaction on Amply, you can select which token to use to pay for gas.

The tokens that can be used for gas will be listed in the paymaster dropdown menu. You can select any of these tokens as long as you have them in your wallet:

<div align="left"><figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXepTTK3f__3E0uJDt8WoCrtdNO7SpDfwpXS7x1Pi0PzqpGKQq044V-xA8d_G9P0PtRKmYlzV6DhCx3bqXS5z53b-Q6YWRQzYgiPDnKtRAv6piC67lhMmgsdflZSTgue67iLIJs7TYFMYj6BBQqtrUprvLcJ?key=nW72Yf9ZiTa3-CY0N1fvtw" alt="" width="375"><figcaption></figcaption></figure></div>

2. Paymaster Takes Charge: The paymaster sees the transaction and assesses the associated gas fees.
3. Payment Approval: User approval might be necessary before proceeding.
4. Gas Fee Settlement: The paymaster settles the gas fees using your chosen gas token
5. Transaction Execution: The transaction is broadcast to the blockchain for processing.

**Tokens available to be used for gas on Amply (may be subject to change):**

* zkCRO
* vUSD
* vETH
* CRO
* wBTC
* MOON
* H2
* AMPLY


---

# 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.amply.finance/information/paymaster.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.
