# Overview

Tradecraft uses [Privy.io](https://privy.io) for secure wallet management. All wallets are user-owned and managed through Privy's enterprise infrastructure with delegated trading permissions for automated strategies.

### How Privy Works

Privy is an enterprise wallet infrastructure provider that:

* Manages wallet private keys in secure hardware environments (TEE - Trusted Execution Environment)
* Never exposes private keys to application servers
* Provides user-owned wallets with delegated permissions
* Handles transaction signing securely

### Creating a Wallet

1. Navigate to **Wallet Management** → **Add Wallet**
2. Enter wallet name (optional)
3. Click **Create**

<div><figure><img src="https://3175477167-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYCh2t4HDhRRiAIqY93vK%2Fuploads%2F8YQ68yPgk9VkTxDWLjYN%2Fimage.png?alt=media&#x26;token=f37744e9-d7bb-4926-baab-463d176db8f3" alt=""><figcaption><p>The trading wallet management page.</p></figcaption></figure> <figure><img src="https://3175477167-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYCh2t4HDhRRiAIqY93vK%2Fuploads%2FbYuTdOXgnM6GgSuelUvx%2Fimage.png?alt=media&#x26;token=3826de32-ab2c-478a-aa20-b188f1c2035a" alt=""><figcaption><p>A trading wallet has been generated.</p></figcaption></figure></div>

**What happens:**

* Tradecraft creates a wallet in Privy's infrastructure
* You own the wallet through your Privy account
* Wallet is linked to your Tradecraft account
* Private key never leaves Privy's secure environment

### Trading Authorization

For automated trading, you must grant Tradecraft permission to sign transactions:

**Enable Trading:**

1. Go to your wallet settings
2. Click **Enable Trading**
3. Authenticate with Privy in the popup
4. Add the Tradecraft trading key to your wallet
5. Trading is now enabled

<figure><img src="https://3175477167-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYCh2t4HDhRRiAIqY93vK%2Fuploads%2FNS30F70wzW90Qpsaa214%2Fimage.png?alt=media&#x26;token=dda6a45c-5b5c-4ed6-80db-3626a4e00fe4" alt="" width="563"><figcaption><p>Wallet where trading has been enabled.</p></figcaption></figure>

**What this does:**

* Creates an authorization key that allows Tradecraft to sign transactions
* You remain the owner - you can revoke access anytime
* Tradecraft can execute trades automatically based on your strategies

**Disable Trading:**

1. Go to the wallet page
2. Click **Disable Trading**
3. Tradecraft loses permission to trade with this wallet
