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

# Developer Guide

- [Getting Started](https://docs.onyx.org/developer-guide/getting-started.md): Connect EVM tooling to Onyx Mainnet safely.
- [Network Fees](https://docs.onyx.org/developer-guide/network-fees.md): Understand how Onyx network fees are priced, calculated, and converted between XCN and USD.
- [Exchange Integration Guide](https://docs.onyx.org/developer-guide/exchange-integration.md): Current integration guide for exchanges, custodians, and wallet backends.
- [XCN Decimal Handling](https://docs.onyx.org/developer-guide/decimal-handling.md): Correctly convert native XCN between ledger and JSON-RPC units.
- [Lazy Account Creation](https://docs.onyx.org/developer-guide/lazy-create-gas.md): Estimate gas correctly when a transfer creates its destination account.
- [Deploying Contracts](https://docs.onyx.org/developer-guide/deploying-contracts.md): Deploy and verify Solidity contracts on Onyx Mainnet.
- [Bridge Integration](https://docs.onyx.org/developer-guide/bridge.md): Integrate the Onyx bridge without hardcoding mutable limits or operator addresses.
- [REST API Reference](https://docs.onyx.org/developer-guide/bridge/api-reference.md): Public bridge REST endpoints and dynamic discovery rules.
- [Smart Account Integration](https://docs.onyx.org/developer-guide/bridge/smart-account-integration.md): ERC-1271 and ERC-4337 requirements for native-XCN bridge intents.
- [Network Architecture](https://docs.onyx.org/developer-guide/overview.md): High-level deployed architecture of Onyx Mainnet.


---

# 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.onyx.org/developer-guide.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.
