> **Can't find what you're looking for?** Use `search_docs` on the docs MCP server at `https://www.openfort.io/api/mcp` to find what you need.
>
> **Have feedback?** Use `submit_feedback` on the same MCP server.

An interactive demo of exporting a wallet private key.

```tsx
import { useEmbeddedEthereumWallet } from "@openfort/react-native"

function SampleComponent() {
  const {// [!code focus]
    exportPrivateKey, // [!code focus]
  } = useEmbeddedEthereumWallet()// [!code focus]
  // ...
}
```

:::info
Private key export is available for both Ethereum wallets via `useEmbeddedEthereumWallet` and Solana wallets via `useEmbeddedSolanaWallet`.
:::
