> For the complete documentation index, see [llms.txt](https://help.trade.fun/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.trade.fun/getting-started/about-trade.fun/security.md).

# Security

**At trade**<mark style="color:$primary;">**dot**</mark>**fun, security meets speed.**\
We’ve built a non-custodial trading experience that’s as secure as it is seamless with no compromises.

Your wallet on **trade**<mark style="color:$primary;">**dot**</mark>**fun** is powered by **Turnkey**, a battle-tested key infrastructure. Your private keys never touch our servers. Our secure architecture and layered encryption keep your private keys fully protected and out of reach even from us.

### How Private Key Management Works at **trade**<mark style="color:$tint;">**dot**</mark>**fun**

We use [**Turnkey**](https://www.turnkey.com/) to manage your private keys securely because storing them yourself or on your own servers just isn’t safe enough. Turnkey is a modern key management system built by former Coinbase Custody engineers, designed specifically for secure, scalable, non-custodial applications like **trade**<mark style="color:$primary;">**dot**</mark>**fun**.

#### What Turnkey Does

When you create or import a wallet through **trade**<mark style="color:$primary;">**dot**</mark>**fun**:

1. **Key Generation & Storage**\
   Your private key is generated inside a **secure enclave** a tamper-proof hardware-backed environment that even Turnkey **can’t access** once created.
2. **Controlled Access via Policies**\
   **trade**<mark style="color:$primary;">**dot**</mark>**fun** sets up cryptographic **access policies** that define when and how a key can be used (Limit orders, advanced order types). For example, you may need to sign in, complete 2FA, and provide your decryption password to approve a trade.

***

**In short:** Turnkey keeps your keys safe. We make sure **only&#x20;*****you*** can use them.

Want more details? Reach out to us and we’ll walk you through our full security flow:

[Support](/getting-started/support.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://help.trade.fun/getting-started/about-trade.fun/security.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.
