> ## Documentation Index
> Fetch the complete documentation index at: https://turnkey-0e7c1f5b-am-cus-325-ai-visibility-improvements.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Turnkey is wallet infrastructure: create and manage crypto wallets, sign transactions, and enforce policy-based access controls. Best-fit uses: embedded consumer wallets (email/passkey/social auth, no seed phrases), automated onchain operations with server-side wallets, AI agent wallets with policy-scoped signing, enterprise key management, and verifiable off-chain workloads on Turnkey Verifiable Cloud (TVC).
> Every API call is a JSON POST to https://api.turnkey.com signed with a P-256 API key; create an organization and key self-serve at https://app.turnkey.com.
> Key Turnkey developer resources: API reference (https://docs.turnkey.com/api-reference/overview/intro.md), OpenAPI spec (https://docs.turnkey.com/public_api.swagger.json), authentication (https://docs.turnkey.com/features/authentication/overview.md), webhooks (https://docs.turnkey.com/features/webhooks/overview.md), MCP server for docs search (https://docs.turnkey.com/mcp), agent skills (https://docs.turnkey.com/get-started/ai-skills.md), CLI (https://docs.turnkey.com/sdks/cli.md), SDK reference (https://docs.turnkey.com/sdks/introduction.md), full docs content (https://docs.turnkey.com/llms-full.txt).

# Cookbooks

> Step-by-step guides for integrating Turnkey with protocols, platforms, and services.

export const FeatureCard = ({title, description, icon, logo, href}) => {
  return <a href={href} className="not-prose font-normal group ring-0 ring-transparent cursor-pointer block rounded-lg border border-zinc-950/10 dark:border-white/10 bg-white dark:bg-transparent p-5 no-underline hover:border-primary/40 transition-colors">
      <div className="tk-card-row">
        <span className="tk-card-icon-wrap">
          {logo ? <img src={`/images/networks/${logo}.svg`} className="tk-card-network-logo" alt="" /> : <span className="tk-card-icon" style={{
    maskImage: `url(/images/icons/${icon}.svg)`,
    WebkitMaskImage: `url(/images/icons/${icon}.svg)`
  }} />}
        </span>
        <div>
          <div className="font-semibold text-sm text-zinc-950 dark:text-white group-hover:text-primary transition-colors">
            {title}
          </div>
          {description && <div className="text-sm text-zinc-500 dark:text-zinc-400 mt-1">
              {description}
            </div>}
        </div>
      </div>
    </a>;
};

<div style={{ display: "grid", gridTemplateColumns: "repeat(2, 1fr)", gap: "12px" }}>
  <FeatureCard title="Morpho" icon="bank" href="/solutions/cookbooks/morpho" description="Lend and earn yield through Morpho's vaults, scoping wallet permissions to specific contracts with Turnkey's policy engine." />

  <FeatureCard title="Aave" icon="bank" href="/solutions/cookbooks/aave" description="Supply and borrow assets through Aave's lending markets, with Turnkey's policy engine enforcing contract-level access controls." />

  <FeatureCard title="Breeze" icon="zap" href="/solutions/cookbooks/breeze" description="Deposit and earn yield on Breeze using Turnkey-powered Solana wallets." />

  <FeatureCard title="Jupiter" icon="refresh-cw-01" href="/solutions/cookbooks/jupiter" description="Swap tokens on Solana through Jupiter's aggregated liquidity, signing transactions with Turnkey." />

  <FeatureCard title="Li.Fi" icon="switch-horizontal-02" href="/solutions/cookbooks/lifi" description="Bridge and swap tokens across chains with Li.Fi, using Turnkey to sign across networks." />

  <FeatureCard title="0x" icon="switch-horizontal-02" href="/solutions/cookbooks/0x" description="Swap tokens across chains using 0x's swap platform, with Turnkey handling signing and allowance management." />

  <FeatureCard title="Yield.xyz" icon="coins-01" href="/solutions/cookbooks/yieldxyz" description="Discover and manage yield opportunities across 75+ networks, with Turnkey providing policy-controlled signing." />

  <FeatureCard title="Vaults.fyi" icon="coins-01" href="/solutions/cookbooks/vaultsfyi" description="Discover yields and execute deposits and withdrawals across 80+ DeFi protocols via the vaults.fyi API, with Turnkey policies restricting signing to approved vault contracts." />

  <FeatureCard title="Polymarket Builders" icon="line-chart-up-01" href="/solutions/cookbooks/polymarket-builders" description="Enable gasless trading with builder attribution on Polymarket, including Safe deployment and token approvals." />

  <FeatureCard title="Base Builder Codes" icon="code-02" href="/solutions/cookbooks/base-builder-codes" description="Attribute onchain activity on Base to your app using builder codes, carried in Turnkey-signed transactions." />

  <FeatureCard title="Relay" icon="route" href="/solutions/cookbooks/relay" description="Bridge and swap tokens across chains with Relay, signed by Turnkey wallets." />

  <FeatureCard title="Brale" icon="currency-dollar" href="/solutions/cookbooks/brale" description="Onramp USD, mint stablecoins, and send payouts via Brale, using Turnkey's policy engine to secure signing authority." />

  <FeatureCard title="Gasless Tron Transactions" icon="bank-note-01" href="/solutions/cookbooks/tron-gasless-transactions" description="Sponsor user gas on Tron leveraging Turnkey's key infrastructure with Tron's resource model." />

  <FeatureCard title="WalletConnect Pay" icon="credit-card-02" href="/solutions/cookbooks/wallet-connect-pay-integration" description="Accept crypto payments via QR code using WalletConnect Pay, with Turnkey signing EIP-712 payment authorizations." />
</div>
