# Builder Kit

A toolkit for building on Polynomial's infrastructure while earning from the activity you drive.

## What It Is

Build trading bots, dashboards, and tools on top of Polynomial. Earn 10% of AMM fees and 20% of trading points from users you refer.

## Key Benefits

* **Programmatic access** to ultra-fast trading APIs
* **Permissionless** - no approvals needed
* **Direct earnings** from user activity
* **Built-in affiliate system**

## What You Can Build

### Trading Bots

* Low latency execution via Nitro Mode
* High-frequency trading support
* Gas abstraction and session key signing

### Dashboards & Analytics

* PnL tracking and risk analytics
* Vault APRs and leaderboards
* Custom UX with referral integration

### Social Tools

* Telegram/Discord bots
* Copy trading functionality
* Live stats and notifications

### Frontends

* Regional trading interfaces
* Embedded widgets
* White-label solutions

## Affiliate System

### Earnings

* 10% of AMM fees from referred users
* 20% of trading points (including OP rewards)

### How It Works

1. Build your application
2. Add your referral code
3. Onboard users
4. Earn from their trading activity

## Technical Features

### Nitro Mode

* Millisecond trade finalization
* High-frequency order flow
* Gas abstraction
* Session key signing

### API Access

* Ultra-fast trading APIs
* Real-time data feeds
* Webhook support
* Complete documentation

## Getting Started

### For Developers

1. [Developer Documentation](https://docs.polynomial.fi/developer-documentation)
2. [Starter Kit Repository](https://github.com/Polynomial-Protocol/polynomial-starter-kit/tree/master)
3. [API Wallet Authorization](https://polynomial.fi/en/mainnet/portfolio/api)
4. Build and integrate your referral code

### For Non-Developers

Have a community but no dev team? Join our Discord and open a ticket. We'll help build the frontend for you.

## Use Cases

* **DeFi Automation**: Trading bots, portfolio management, arbitrage strategies
* **Analytics**: Dashboards, risk tools, performance tracking
* **Community Tools**: Branded interfaces, social trading, audience monetization
* **Token Utility**: Add trading to existing tokens, LRT integrations

## Resources

* [Developer Documentation](https://docs.polynomial.fi/developer-documentation)
* [Starter Kit Repository](https://github.com/Polynomial-Protocol/polynomial-starter-kit/tree/master)
* [API Authorization](https://polynomial.fi/en/mainnet/portfolio/api)
* [Community Discord](https://discord.gg/polynomial) for support


---

# 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.polynomial.fi/explanations/builder-kit.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.
