> For the complete documentation index, see [llms.txt](https://basedinc.gitbook.io/basedbid/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://basedinc.gitbook.io/basedbid/explainers/launch-explainers/fee-builder.md).

# Fee Builder

<div data-with-frame="true"><figure><img src="/files/yhQSrkJDSiBAtcsmTrTP" alt="" width="563"><figcaption></figcaption></figure></div>

Depending on the network and DEX you launch on, this system may be referred to as <mark style="color:$primary;">**v4, Infinity, Burn & Earn, or Lock & Earn**</mark>. On basedbid, it all runs through the same underlying architecture described below

<details>

<summary><strong>Fee Architecture</strong></summary>

* <mark style="color:purple;">**LP Fees**</mark> are standard fees earned from your liquidity position. When collected, you receive <mark style="color:$primary;">**50% in native token**</mark> and <mark style="color:$primary;">**50% in project token**</mark>
* <mark style="color:purple;">**Fee Builder**</mark> is basebid's custom hook, sitting on top of LP fees and capturing a programmable fee directly at the swap. <mark style="color:$primary;">**No token sells. No thresholds. No red candles**</mark>**.** You choose where it goes: <mark style="color:$primary;">**holder rewards, buybacks, liquidity, or any custom wallet**</mark> (marketing, KOLs, team, partners). No limits

<p align="center"><a href="/pages/sb2qh6TFx8TWjC37dvaJ#fee-builder" class="button primary" data-icon="chart-line-up">Add Fees to Your Pool</a><a href="/pages/5iK4QLHfV3kRSJFvjuaN#step-6.-fee-builder-optional" class="button primary" data-icon="bolt">Add Fees to Your Flash Token</a></p>

</details>

<details>

<summary><strong>Fully Modular</strong></summary>

You can add, remove, or reconfigure fee destinations anytime after launch, no redeployment needed. Start with rewards, add buybacks later, swap out a wallet. <mark style="color:$primary;">**Your token evolves without relaunching**</mark>

<p align="center"><a href="/pages/gtFeBxXxkIA292W8ioaf" class="button primary" data-icon="chart-line-up">Editing your Pool's DEX Fees</a><a href="/pages/9sNtIxpXzDA7CdGH4zK7" class="button primary" data-icon="bolt">Editing your Flash Token's Fees</a></p>

</details>

<details>

<summary><strong>Built-In Optional Protections</strong></summary>

* **Tiered Fees:**
* **Dynamic Fees:** <mark style="color:$primary;">**Auto-adjust**</mark> based on volatility
* **Anti-snipe/Anti-MEV:** <mark style="color:$primary;">**Bot protection**</mark> at the pool level
* **Cooldowns:** <mark style="color:$primary;">**Enforced gaps between transactions**</mark> with penalty fees

<p align="center"><a href="/pages/sb2qh6TFx8TWjC37dvaJ#advanced-protection-evm-only" class="button primary" data-icon="chart-line-up">Add Protection to your Pools on a DEX</a><a href="/pages/5iK4QLHfV3kRSJFvjuaN#step-7a.-advanced-protection-evm-only-optional" class="button primary" data-icon="bolt">Add Advanced Protection to your Flash Tokens</a></p>

</details>

<details>

<summary><strong>Example</strong></summary>

<mark style="color:purple;">**Example: $VAULT**</mark>

$VAULT launches on basebid with <mark style="color:$primary;">**2% LP fees**</mark> and the <mark style="color:$primary;">**Fee Builder enabled at 5%**</mark>, configured as follows:

* 2% to <mark style="color:purple;">**holder rewards**</mark>
* 1% to <mark style="color:purple;">**automatic buybacks**</mark>
* 1% to <mark style="color:purple;">**liquidity**</mark>
* 1% to a <mark style="color:purple;">**marketing wallet**</mark>

On a day with <mark style="color:$primary;">**$100,000 in trading volume**</mark>, $VAULT generates <mark style="color:$primary;">**$5,000 in hook fees**</mark>. $2,000 goes to holders, $1,000 buys back tokens automatically, $1,000 deepens liquidity, $1,000 goes to marketing and $2,000 goes to the creator. in  <mark style="color:$primary;">**All from swaps, nothing sold**</mark>

$VAULT also launches with all pool protections active:

* <mark style="color:purple;">**Dynamic fees**</mark> set to Medium (2x multiplier), triggered per swap, with a 10 minute decay period
* <mark style="color:purple;">**Snipe protection**</mark> active for the first 10 minutes post-launch, capping any single buy at 0.1% of supply
* <mark style="color:purple;">**Cooldown protection**</mark> enforcing a 10 second gap between buys, with a 1% penalty fee for wallets that try to bypass it
* <mark style="color:purple;">**MEV protection**</mark> enabled, blocking front-running and sandwich attacks

Three months after launch, the team decides to remove the marketing wallet and redirect that 1% to increase <mark style="color:purple;">**holder rewards**</mark> to 3%. <mark style="color:$primary;">**No relaunch. No migration. One config change**</mark> and the token is running a new strategy the same day. On that same $100,000 volume day, holders now earn <mark style="color:$primary;">**$3,000 instead of $2,000**</mark>

</details>

<p align="center"><a href="/pages/sb2qh6TFx8TWjC37dvaJ#fee-builder" class="button primary" data-icon="coin-vertical">How to Set up the Fee Builder on a Pool</a><a href="/pages/5iK4QLHfV3kRSJFvjuaN#step-6.-fee-builder-optional" class="button primary" data-icon="bolt">How to Set up the Fee Builder on a Flash Token</a></p>


---

# 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://basedinc.gitbook.io/basedbid/explainers/launch-explainers/fee-builder.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.
