> For the complete documentation index, see [llms.txt](https://docs.somnia.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.somnia.network/developer/building-dapps.md).

# Building DApps

- [Tokens and NFTs](https://docs.somnia.network/developer/building-dapps/tokens-and-nfts.md)
- [Create ERC20 Tokens](https://docs.somnia.network/developer/building-dapps/tokens-and-nfts/create-erc20-tokens.md)
- [Create ERC721 NFT Collections](https://docs.somnia.network/developer/building-dapps/tokens-and-nfts/create-erc721-nft-collections.md)
- [Managing NFT Metadata with IPFS](https://docs.somnia.network/developer/building-dapps/tokens-and-nfts/managing-nft-metadata-with-ipfs.md)
- [Using Native Coin (SOMI/STT)](https://docs.somnia.network/developer/building-dapps/tokens-and-nfts/using-native-somi-stt.md)
- [Wallet Integration and Auth](https://docs.somnia.network/developer/building-dapps/wallet-integration-and-auth.md)
- [Authenticating with MetaMask](https://docs.somnia.network/developer/building-dapps/wallet-integration-and-auth/authenticating-with-metamask.md)
- [Authenticating with ConnectKit](https://docs.somnia.network/developer/building-dapps/wallet-integration-and-auth/authenticating-with-connectkit.md)
- [Authenticating with Privy](https://docs.somnia.network/developer/building-dapps/wallet-integration-and-auth/authenticating-with-privy.md)
- [Authenticating with RainbowKit](https://docs.somnia.network/developer/building-dapps/wallet-integration-and-auth/authenticating-with-rainbowkit.md)
- [OnRamps](https://docs.somnia.network/developer/building-dapps/onramps.md)
- [Buy SOMI Using Banxa Checkout](https://docs.somnia.network/developer/building-dapps/onramps/buy-somi-using-banxa-checkout.md)
- [Cross-chain Swaps and Bridging](https://docs.somnia.network/developer/building-dapps/cross-chain-swaps-and-bridging.md)
- [Integrating the LI.FI SDK](https://docs.somnia.network/developer/building-dapps/cross-chain-swaps-and-bridging/integrating-the-li.fi-sdk.md)
- [Account Abstraction](https://docs.somnia.network/developer/building-dapps/account-abstraction.md)
- [Gasless Transactions with Thirdweb](https://docs.somnia.network/developer/building-dapps/account-abstraction/gasless-transactions-with-thirdw.md)
- [Smart Wallet App with Thirdweb](https://docs.somnia.network/developer/building-dapps/account-abstraction/smart-wallet-app-with-thirdweb.md)
- [Data Indexing and Querying](https://docs.somnia.network/developer/building-dapps/data-indexing-and-querying.md)
- [Ormi Subgraph](https://docs.somnia.network/developer/building-dapps/data-indexing-and-querying/ormi-subgraph.md)
- [Protofire Subgraph](https://docs.somnia.network/developer/building-dapps/data-indexing-and-querying/protofire-subgraph.md)
- [Building Subgraph UIs (NextJS/Fetch)](https://docs.somnia.network/developer/building-dapps/data-indexing-and-querying/building-subgraph-uis-nextjs-fetch.md)
- [Building Subgraph UIs (Apollo Client)](https://docs.somnia.network/developer/building-dapps/data-indexing-and-querying/building-subgraph-uis-apollo-client.md)
- [Using Data APIs (Ormi)](https://docs.somnia.network/developer/building-dapps/data-indexing-and-querying/using-data-apis-ormi.md)
- [Listening to Blockchain Events (WebSocket)](https://docs.somnia.network/developer/building-dapps/data-indexing-and-querying/listening-to-blockchain-events-websocket.md)
- [Oracles](https://docs.somnia.network/developer/building-dapps/oracles.md)
- [DIA Price Feeds](https://docs.somnia.network/developer/building-dapps/oracles/dia-price-feeds.md)
- [Protofire Price Feeds](https://docs.somnia.network/developer/building-dapps/oracles/protofire-price-feeds.md)
- [Using Verifiable Randomness (VRF)](https://docs.somnia.network/developer/building-dapps/oracles/using-verifiable-randomness-vrf.md)
- [Example Applications](https://docs.somnia.network/developer/building-dapps/example-applications.md)
- [DAO Smart Contract](https://docs.somnia.network/developer/building-dapps/example-applications/dao-smart-contract.md)
- [DAO UI Tutorial p1](https://docs.somnia.network/developer/building-dapps/example-applications/dao-ui-tutorial-p1.md)
- [DAO UI Tutorial p2](https://docs.somnia.network/developer/building-dapps/example-applications/dao-ui-tutorial-p2.md)
- [DAO UI Tutorial p3](https://docs.somnia.network/developer/building-dapps/example-applications/dao-ui-tutorial-p3.md)
- [Building a Simple DEX on Somnia](https://docs.somnia.network/developer/building-dapps/example-applications/building-a-simple-dex-on-somnia.md)


---

# 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.somnia.network/developer/building-dapps.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.
