> For the complete documentation index, see [llms.txt](https://wp.groop.top/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wp.groop.top/overview/groop-architecture.md).

# Groop Architecture

## Groop Bot

The Groop bot is a Telegram bot that acts as the primary interface for users interacting with the Groop platform. It provides a user-friendly way to create and manage Groop communities, subscribe to memberships, make payments, and earn rewards. The bot leverages TON smart contracts to ensure the security and transparency of all transactions.

## Groop Smart Contracts

Groop's smart contracts are the backbone of the platform, governing all aspects of the ecosystem. These contracts are deployed on the TON blockchain and are responsible for:

* **Membership Management:** Storing membership data, verifying payments, and granting access to exclusive content.
* **Referral Tracking:** Recording referrals, calculating rewards, and distributing TON and GP to members.
* **Reward Distribution:** Managing the distribution of $GRP tokens to GP holders through airdrops and other mechanisms.
* **Tokenomics:** Implementing the tokenomics model, including token supply, distribution, and utility.
* **Governance:** Enabling $GRP token holders to propose and vote on changes to the platform's parameters.

Incorporating DIDs, the smart contracts will securely link user identities with their on-chain activities, enabling transparent and tamper-proof tracking of contributions, rewards, and governance participation.

## Groop Mini-App

The Groop mini-app is a web-based dashboard that provides creators with a comprehensive overview of their community's performance. It includes features for:

* **Membership Management:** Viewing member lists, managing membership tiers, and tracking subscription payments.
* **Earnings Tracking:** Monitoring $TON and GP earnings, as well as projected future earnings based on community growth.
* **Analytics:** Analyzing member demographics, engagement metrics, and referral patterns to gain insights into community behavior and optimize growth strategies.
* **Content Management:** Scheduling and publishing exclusive content for different membership tiers.
* **Communication Tools:** Engaging with members through direct messaging, announcements, and polls.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://wp.groop.top/overview/groop-architecture.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
