> For the complete documentation index, see [llms.txt](https://docs.diversifi.trade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.diversifi.trade/diversifi-for-partners/build-with-diversifi-the-index-infrastructure-layer.md).

# Build with DiversiFi - The portfolio protocol

DiversiFi is the portfolio infrastructure layer on Solana. We provide the smart contracts, rebalancing engine, oracle integrations, and vault architecture that power curated, auto-rebalancing **DiversiFi Strategies** and custom portfolios - so partners don't have to build any of it from scratch. Whether you want to spin up strategies, distribute them, embed our tech into your platform, or use dTokens as DeFi primitives, DiversiFi gives you a production-ready foundation to build on.

#### What is DiversiFi? <a href="#what-is-diversifi" id="what-is-diversifi"></a>

DiversiFi brings ETF-level simplicity to Web3. Users get one-click exposure to curated token baskets through **DiversiFi Strategies** and custom portfolios - fully onchain, auto-rebalancing, and non-custodial. Each strategy is backed by a dedicated **vault** on Solana. Users deposit USDC, receive a fungible **dToken** (SPL token) representing their exposure to the vault's value, and the protocol handles allocation, rebalancing, and redemption automatically. DiversiFi is built by the SolutioFi team and is part of the **BONK ecosystem**, with a portion of all protocol fees used to buy and burn BONK.

***

#### Why Partner with DiversiFi? <a href="#why-partner-with-diversifi" id="why-partner-with-diversifi"></a>

**For you:**

* **No infrastructure to build.** Vaults, rebalancing, oracle feeds, swap routing via Jupiter - all handled.
* **Revenue sharing.** Strategy managers and distribution partners earn fees from the products they bring to life.
* **Composable dTokens.** SPL tokens with on-chain NAV, designed for trading, collateral, and integrations across Solana DeFi.
* **Flexible integration depth.** From white-label strategy pages to deep SDK-level embedding - choose the model that fits.

**For your users:**

* Diversified, thematic crypto exposure in a single click.
* Automated rebalancing - no manual portfolio management.
* Full on-chain transparency and self-custody.

***

#### How DiversiFi Works <a href="#how-diversifi-works" id="how-diversifi-works"></a>

| Component              | Description                                                                                                                                   |
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| **Vault**              | Program-controlled Solana account holding the strategy or portfolio assets. One vault per strategy/portfolio, fully isolated.                 |
| **dToken**             | Fungible SPL token representing proportional exposure to the vault's TVL. Minted on deposit, burned on withdrawal.                            |
| **NAV Pricing**        | Token Price = Vault TVL / Total Supply. Driven by market moves, unaffected by deposits/withdrawals.                                           |
| **Auto-Rebalancing**   | Drift monitored every minute via Switchboard oracle. When any token exceeds ±threshold, delta-based swaps restore target weights via Jupiter. |
| **Weight Methodology** | <ul><li>DiversiFi Strategies: multi-factor scoring model.</li><li>Partner strategies: chosen by the partner</li></ul>                         |

For full technical details, see the [public litepaper](https://docs.diversifi.trade/).

#### Powered by BONK <a href="#powered-by-bonk" id="powered-by-bonk"></a>

DiversiFi is part of the BONK suite of products. A portion of all protocol fees is swapped into BONK and permanently burned:Partnering with DiversiFi means contributing directly to the BONK ecosystem's value.

***

#### Get in Touch <a href="#get-in-touch" id="get-in-touch"></a>

Ready to explore a partnership? Reach out to the SolutioFi team:

* **Website:** [diversifi.trade](https://diversifi.trade/)​
* **Twitter/X:** [@useDiversiFi](https://twitter.com/useDiversiFi)​
* **Discord:** [Join our community](https://discord.com/invite/diversifi)


---

# 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://docs.diversifi.trade/diversifi-for-partners/build-with-diversifi-the-index-infrastructure-layer.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.
