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

# Build on COTI

- [Core Concepts](https://docs.coti.io/coti-documentation/build-on-coti/core-concepts.md)
- [What Is Onboarding?](https://docs.coti.io/coti-documentation/build-on-coti/core-concepts/what-is-onboarding.md)
- [Account Onboarding Procedure](https://docs.coti.io/coti-documentation/build-on-coti/core-concepts/onboard-user.md)
- [Private Data Types](https://docs.coti.io/coti-documentation/build-on-coti/core-concepts/secure-data-types.md)
- [Supported Operations on Private Data Types](https://docs.coti.io/coti-documentation/build-on-coti/core-concepts/secure-operations-and-gas.md): Secure operations are supported via our gcEVM extension, which is implemented through a set of precompiled contracts.
- [Quickstart](https://docs.coti.io/coti-documentation/build-on-coti/quickstart.md)
- [Guides](https://docs.coti.io/coti-documentation/build-on-coti/guides.md)
- [Setting up COTI Snap with your MetaMask wallet](https://docs.coti.io/coti-documentation/build-on-coti/guides/setting-up-coti-snap-with-your-metamask-wallet.md)
- [Basic Private Smart Contract](https://docs.coti.io/coti-documentation/build-on-coti/guides/basic-private-smart-contract.md)
- [Account Onboard](https://docs.coti.io/coti-documentation/build-on-coti/guides/account-onboard.md)
- [Sending a Transaction with Encrypted Inputs](https://docs.coti.io/coti-documentation/build-on-coti/guides/sending-a-transaction-with-encrypted-inputs.md)
- [Resolving a Transaction's Encrypted Outputs](https://docs.coti.io/coti-documentation/build-on-coti/guides/resolving-a-transactions-encrypted-outputs.md)
- [Writing a Private Smart Contract](https://docs.coti.io/coti-documentation/build-on-coti/guides/writing-a-private-smart-contract.md)
- [Dos and Don'ts](https://docs.coti.io/coti-documentation/build-on-coti/guides/dos-and-donts.md)
- [Proper Use of Types](https://docs.coti.io/coti-documentation/build-on-coti/guides/dos-and-donts/proper-use-of-types.md): Never save garbledtext in storage
- [No Constant/Immutable Secret Types](https://docs.coti.io/coti-documentation/build-on-coti/guides/dos-and-donts/no-constant-immutable-secret-types.md)
- [No Public Contract Variables](https://docs.coti.io/coti-documentation/build-on-coti/guides/dos-and-donts/no-public-contract-variables.md)
- [Best Practices](https://docs.coti.io/coti-documentation/build-on-coti/guides/best-practices.md)
- [Careful Onboarding](https://docs.coti.io/coti-documentation/build-on-coti/guides/best-practices/careful-onboarding.md)
- [Careful Decrypting](https://docs.coti.io/coti-documentation/build-on-coti/guides/best-practices/careful-decrypting.md)
- [Don't loop over an array without an index](https://docs.coti.io/coti-documentation/build-on-coti/guides/best-practices/avoid-secret-array-indexes.md)
- [Check Overflow](https://docs.coti.io/coti-documentation/build-on-coti/guides/best-practices/check-overflow.md)
- [Tools](https://docs.coti.io/coti-documentation/build-on-coti/tools.md)
- [TypeScript SDK](https://docs.coti.io/coti-documentation/build-on-coti/tools/typescript-sdk.md)
- [Ethers.js](https://docs.coti.io/coti-documentation/build-on-coti/tools/ethers.js.md)
- [Python SDK](https://docs.coti.io/coti-documentation/build-on-coti/tools/python-sdk.md)
- [Web3.py](https://docs.coti.io/coti-documentation/build-on-coti/tools/web3.py.md)
- [Contracts Library](https://docs.coti.io/coti-documentation/build-on-coti/tools/contracts-library.md)
- [MPC Core](https://docs.coti.io/coti-documentation/build-on-coti/tools/contracts-library/mpc-core.md)
- [Data Privacy Framework](https://docs.coti.io/coti-documentation/build-on-coti/tools/contracts-library/data-privacy-framework.md)
- [Tokens](https://docs.coti.io/coti-documentation/build-on-coti/tools/contracts-library/tokens.md)
- [Private ERC20](https://docs.coti.io/coti-documentation/build-on-coti/tools/contracts-library/tokens/private-erc20.md)
- [Private ERC721](https://docs.coti.io/coti-documentation/build-on-coti/tools/contracts-library/tokens/private-erc721.md)
- [Onboard](https://docs.coti.io/coti-documentation/build-on-coti/tools/contracts-library/onboard.md)
- [Hardhat](https://docs.coti.io/coti-documentation/build-on-coti/tools/hardhat.md)
- [Remix Plugin](https://docs.coti.io/coti-documentation/build-on-coti/tools/remix-plugin.md)
- [COTI MetaMask Snap](https://docs.coti.io/coti-documentation/build-on-coti/tools/coti-metamask-snap.md): Powered by MetaMask Snaps. MetaMask® is a trademark of ConsenSys.
- [Snap Integration](https://docs.coti.io/coti-documentation/build-on-coti/tools/coti-metamask-snap/snap-integration.md)
- [COTI Wallet Plugin](https://docs.coti.io/coti-documentation/build-on-coti/tools/coti-wallet-plugin.md): React library for adding COTI private token support to wagmi/RainbowKit dApps.
- [Integration Guide](https://docs.coti.io/coti-documentation/build-on-coti/tools/coti-wallet-plugin/integration-guide.md)
- [Configuration](https://docs.coti.io/coti-documentation/build-on-coti/tools/coti-wallet-plugin/configuration.md)
- [API Reference](https://docs.coti.io/coti-documentation/build-on-coti/tools/coti-wallet-plugin/api-reference.md)
- [AES Key Onboarding](https://docs.coti.io/coti-documentation/build-on-coti/tools/coti-wallet-plugin/aes-key-onboarding.md)
- [AES Backup Security](https://docs.coti.io/coti-documentation/build-on-coti/tools/coti-wallet-plugin/aes-backup-security.md)
- [Secure Remote AES Backup Storage (deprecated)](https://docs.coti.io/coti-documentation/build-on-coti/tools/coti-wallet-plugin/aes-backup-remote-storage.md)
- [Onboard Modal Theming](https://docs.coti.io/coti-documentation/build-on-coti/tools/coti-wallet-plugin/onboard-modal-theme.md)
- [Example App](https://docs.coti.io/coti-documentation/build-on-coti/tools/coti-wallet-plugin/example-app.md)
- [Developer Sandbox](https://docs.coti.io/coti-documentation/build-on-coti/tools/developer-sandbox.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 following URL with the `ask` and `goal` query parameters:

```
GET https://docs.coti.io/coti-documentation/build-on-coti.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

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.
