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

# Developer Guide

Napier protocol is released under the `BUSL` license. All code is open source and available at: [github.com/napierfi/napier-v2-public](https://github.com/napierfi).

Once deployed, the protocol is designed to operate **indefinitely**, contingent on the continued existence of the Ethereum blockchain.

The Napier Stack provides tools and interfaces for users, developers, and researchers to:

* Build on top of the Napier protocol
* Access on-chain and protocol data
* Integrate markets, strategies, and analytics

### Offchain

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-cover data-type="image">Cover image</th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4>Napier API</h4><p>Access data on Napier users, markets and more.</p></td><td><a href="/files/z3ny0YpfqQrBJ4EcUr3q">/files/z3ny0YpfqQrBJ4EcUr3q</a></td><td><a href="/pages/WQpN4NMBMXysV1jr0HVb">/pages/WQpN4NMBMXysV1jr0HVb</a></td></tr><tr><td><h4>Napier SDK (Soon)</h4><p>A suite of tool to interact with the Napier ecocystem</p></td><td><a href="/files/z3ny0YpfqQrBJ4EcUr3q">/files/z3ny0YpfqQrBJ4EcUr3q</a></td><td></td></tr><tr><td><h4>Napier Subgraphs (Soon)</h4><p>Retrieve onchain data from Napier contract</p></td><td><a href="/files/vkqssV8syGNFvFwWncQj">/files/vkqssV8syGNFvFwWncQj</a></td><td></td></tr></tbody></table>

### Onchain

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-cover data-type="image">Cover image</th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4>Deployment</h4><p>All deployed Napier contracts.</p></td><td><a href="/files/z3ny0YpfqQrBJ4EcUr3q">/files/z3ny0YpfqQrBJ4EcUr3q</a></td><td><a href="/pages/lt4EE7NnI1OELVa5WsW7">/pages/lt4EE7NnI1OELVa5WsW7</a></td></tr></tbody></table>


---

# 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:

```
GET https://docs.napier.finance/build/developer-guide.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.
