# Introduction

**ATFi (Attendance Tokenized for Incentives)** is the **Commitment Layer for Base**.

We provide the infrastructure for developers to build applications that require **verifiable commitment** and **incentivized participation**. Whether you are building an event platform, a habit-tracking app, or a high-stakes gaming tournament, ATFi provides the smart contracts and SDKs to manage stakes, yields, and settlements.

## Links

* **Website:** [useatfi.xyz](https://useatfi.xyz)
* **Demo App:** [demo-dapp.useatfi.xyz](https://demo-dapp.useatfi.xyz)
* **GitHub:** [github.com/ATFi-Event](https://github.com/ATFi-Event)
* **NPM Package:** [npmjs.com/package/atfi](https://www.npmjs.com/package/atfi)

## Why ATFi?

Traditional commitment models are broken. "Free" RSVPs lead to 30-50% no-show rates. Paid tickets create friction.

ATFi introduces a third way: **Yield-Bearing Commitments**. Users stake assets (e.g., USDC) to commit. The protocol deposits these assets into DeFi yield sources (like Morpho Blue) to generate interest.

* **If they show up:** They get their principal + yield.
* **If they don't:** They lose part of their stake to the attendees.

## The Toolkit

ATFi is more than just a smart contract. It is a complete developer toolkit:

* [**Factory Contract**](/atfi-tooling-docs/smart-contracts/overview.md)**:** Deploy standardized, secure commitment vaults in seconds.
* [**Vault Implementation**](/atfi-tooling-docs/core-concepts/vaults.md)**:** Robust logic for staking, verification, and settlement.
* [**TypeScript SDK**](/atfi-tooling-docs/sdk-reference/getting-started.md)**:** A powerful library to integrate ATFi into any React/Node.js app.
* **\[Subgraph / Indexer]:** Real-time data querying (Coming Soon).

## Getting Started

Ready to build?

1. [**Install the SDK**](/atfi-tooling-docs/sdk-reference/getting-started.md): `npm install atfi`
2. [**Deploy a Vault**](/atfi-tooling-docs/sdk-reference/event-management.md): Create your first commitment logic.
3. [**Build the UI**](/atfi-tooling-docs/guides/rsvp-app.md): Use our React hooks to build a seamless experience.

***

### Community & Support

* [GitHub](https://github.com/ATFi-Event)
* [Base Ecosystem](https://base.org)


---

# 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://atfi-tooling.gitbook.io/atfi-tooling-docs/readme.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.
