# Bonding Curve Design

Mint Club’s Bonding Curve Wizard provides comprehensive customization for your curve design, ensuring maximum flexibility in designing your token economics. For an in-depth understanding of the bonding curve mechanism in the Mint Club protocol, please refer to the detailed documentation provided below.

{% content-ref url="../learn/bonding" %}
[bonding](../learn/bonding)
{% endcontent-ref %}

## What is a Bonding Curve?

A bonding curve is a mathematical model used in the issuance of digital assets, where a token's price is linked to its supply through a predefined price-supply relationship. Transactions, whether buying or selling, are managed by a smart contract that automatically calculates the required amount of base asset (payment tokens). For buyers, new tokens are minted with payment tokens added to the bonding curve pool, whereas for sellers, tokens are burned, and the base asset is returned from the pool.

## Price Interval-based Bonding Curve

Mint Club utilizes the Discrete Bonding Curve (DBC) model, segmenting the curve into distinct price intervals. Unlike a continuous linear curve (y = x), the DBC model implements stepped intervals under the curve, offering enhanced customization and solving technical challenges associated with smart contract implementation of bonding curves.

## Curve Type

The Bonding Curve Wizard offers four preset curve types, each providing a unique price evolution pattern:

1\) <mark style="background-color:green;">**Exponential**</mark>: Price increases at a <mark style="background-color:yellow;">**constant rate**</mark> for each price range. This is the most commonly used bonding curve for most liquidity.

<figure><img src="https://2590258381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mbf9SR9MEPYTtlBRqW8%2Fuploads%2FVdhQcyVccP1wqThKVZ71%2Fgraph-exp.png?alt=media&#x26;token=a71a6335-0815-42b9-a61f-2daf4b6bd6ca" alt=""><figcaption></figcaption></figure>

2\) <mark style="background-color:green;">**Linear**</mark>: Price increases by a <mark style="background-color:yellow;">**constant value**</mark> for each price range. It has steeper increases in early supply compared to exponential but is more stable in the later range.

<figure><img src="https://2590258381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mbf9SR9MEPYTtlBRqW8%2Fuploads%2FNkHkwhOWgxo0rrO0QCO7%2Fgraph-linear.png?alt=media&#x26;token=cc7bc781-6a00-4971-970a-0ef9bbb788a8" alt=""><figcaption></figcaption></figure>

3\) <mark style="background-color:green;">**Logarithmic**</mark>: Price increases at a <mark style="background-color:yellow;">**decreasing rate**</mark> for each price range. Has the steepest increase in early supply but is more stable in the later range.

<figure><img src="https://2590258381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mbf9SR9MEPYTtlBRqW8%2Fuploads%2FdoTp9z7AhfQfIcAkfS7k%2Fgraph-log.png?alt=media&#x26;token=fed5ef0e-9df2-4687-ae32-fe8f277847b1" alt=""><figcaption></figcaption></figure>

4\) <mark style="background-color:green;">**Flat Price**</mark>: A constant price model in which the token price stays the same across the entire range.

<figure><img src="https://2590258381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mbf9SR9MEPYTtlBRqW8%2Fuploads%2FSGGXm0nmtE72DmSNDTSg%2Fgraph-flat.png?alt=media&#x26;token=ec0daa01-a1ac-44b6-a4bb-46f3e27274d2" alt=""><figcaption></figcaption></figure>

As you can see, a higher number of price intervals results in a smoother curve, resembling a more continuous graph, while a lower number of intervals leads to a more step-like appearance in the curve.

<div><figure><img src="https://2590258381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mbf9SR9MEPYTtlBRqW8%2Fuploads%2F7lh46ArZBlkV5pT7wli6%2Fgraph-steps.png?alt=media&#x26;token=2f27b013-e9b9-4e17-98f7-3ffa1941d0b7" alt=""><figcaption><p>Lower number of price intervals</p></figcaption></figure> <figure><img src="https://2590258381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mbf9SR9MEPYTtlBRqW8%2Fuploads%2FfNnGnzG6UNzLeZUlQugs%2Fgraph-continuous.png?alt=media&#x26;token=d9e41b96-4b03-4ac0-a3e0-00574b378c7d" alt=""><figcaption><p>Higher number of price intervals</p></figcaption></figure></div>

## Token Specifications

The four token specifications you determine are crucial in defining the overall TVL (Total Value Locked) in the base asset of the bonding curve pool. When you opt for a higher max minting supply, keeping other specs constant, each interval area in the curve requires a larger TVL to be realized. This is due to the interval area being a rectangle, calculated by `length * width`. A higher max minting supply increases the width of each interval area, subsequently requiring more TVL.



<div><figure><img src="https://2590258381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mbf9SR9MEPYTtlBRqW8%2Fuploads%2FOCkx6aZdMre0WBJoMdck%2Fcat-1000.png?alt=media&#x26;token=f7db0bc4-d268-4815-8b8b-579af81379d3" alt=""><figcaption><p>Set 1,000 CAT max minting supply</p></figcaption></figure> <figure><img src="https://2590258381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mbf9SR9MEPYTtlBRqW8%2Fuploads%2FxbN9gu6kHXLGuqGRetcK%2Fcat-1000000.png?alt=media&#x26;token=40b59b5e-ec7f-4062-a2f2-21e70bca18b8" alt=""><figcaption><p>Set 1,000,000 CAT max minting supply</p></figcaption></figure></div>

Also, when you set higher initial/final minting price, the TVL amount will also be larger to achieve because the length size gets increased for the area calculations.

<div><figure><img src="https://2590258381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mbf9SR9MEPYTtlBRqW8%2Fuploads%2FOCkx6aZdMre0WBJoMdck%2Fcat-1000.png?alt=media&#x26;token=f7db0bc4-d268-4815-8b8b-579af81379d3" alt=""><figcaption><p>Set 1 WETH final minting price</p></figcaption></figure> <figure><img src="https://2590258381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mbf9SR9MEPYTtlBRqW8%2Fuploads%2FpwuUt9aIfkiHSIQ58i3o%2Fcat-100weth.png?alt=media&#x26;token=469597e4-64c6-40ef-b21b-de9008244a29" alt=""><figcaption><p>Set 100 WETH final minting price</p></figcaption></figure></div>
