> For the complete documentation index, see [llms.txt](https://docs.pancakeswap.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pancakeswap.finance/italian/scambia/pancakeswap-infinity.md).

# PancakeSwap Infinity

> Se sei uno sviluppatore o stai cercando documentazione tecnica dettagliata, consulta questa documentazione <https://developer.pancakeswap.finance/>

**PancakeSwap Infinity** è la versione più recente dell'AMM di PancakeSwap, progettata per rendere il trading decentralizzato più veloce, economico e flessibile. Utilizza un'architettura modulare che consente una maggiore personalizzazione e supporta diversi tipi di pool di trading e modelli di prezzo.

Con Infinity, gli sviluppatori possono costruire nuove funzionalità più facilmente usando gli "hooks" — piccoli frammenti di codice che vengono eseguiti in corrispondenza di azioni chiave nel ciclo di vita di un pool. Questi consentono casi d'uso come oracle personalizzati, pool a commissione dinamica, funzionalità avanzate di trading e gestione della liquidità, e molto altro.

Rispetto a PancakeSwap v3, Infinity è più efficiente in termini di gas e più orientato al futuro. Disaccoppiando le funzioni principali come la contabilità e la logica di trading, consente l'integrazione senza interruzioni di nuove curve di prezzo con le capacità degli hook, permettendo al protocollo di evolversi senza richiedere una ridistribuzione.

### ⭐️ Caratteristiche Principali

1. Singleton
2. Flash Accounting
3. Hooks
4. Supporto Token Nativi
5. Curve di Prezzo Personalizzate
6. ERC-6909
7. `donate()`

{% hint style="success" %}
**Open-source:** [PancakeSwap Infinity](https://github.com/pancakeswap/infinity-core) è rilasciato con una licenza open-source, incoraggiando gli sviluppatori a innovare, personalizzare e collaborare liberamente.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.pancakeswap.finance/italian/scambia/pancakeswap-infinity.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
