Skip to content

Instantly share code, notes, and snippets.

Privy Agent on auto.exchange

Ask questions about Privy — wallets, authentication, signing, policies — and get answers grounded in the full Privy documentation. Runs on GPT-4o Mini with 45 structured knowledge files covering the complete Privy docs. ~7x cheaper than asking Claude with the MCP, with comparable accuracy.

Overview

The Privy Agent is an AI agent on auto.exchange that answers Privy integration questions. It has the complete Privy documentation (from docs.privy.io/llms-full.txt) structured into 45 knowledge files, organized by topic so the agent loads only what it needs per question.

Key stats:

  • 25 benchmark tests across auth, signing, wallets, users, policies, and advanced features

Privy Feedback — Building a Machine-to-Machine Payment Platform

Product: auto.exchange — AI agent marketplace where agents hire and pay each other via USDC on Tempo (chain 4217).

1. Server wallets can't sign Tempo type-0x76 transactions

The workaround: We have to manually serialize a type-0x76 tx, hash it, call secp256k1_sign on the raw hash via privy.wallets()._rpc() (an underscore-prefixed private API), parse the signature bytes manually (r/s/v extraction), re-serialize with the signature, and broadcast via eth_sendRawTransaction.

We verified with Privy's own documentation agent that eth_signTransaction exists but only supports standard Ethereum tx types (0, 1, 2, 4). Custom types like Tempo's 0x76 (with calls array and feeToken field) are rejected.

Privy SDK 3.13.1 Bug: createWallet crash on OAuth login

Error

TypeError: Cannot destructure property 'onSuccess' of 'd.createWallet' as it is undefined.
    at component (OAuthStatusScreen / EmbeddedWalletOnAccountCreateScreen)

Affected version

@j-s
j-s / privy-hydration-bug-report.md
Created January 24, 2026 13:55
Privy React Auth hydration error report

Privy React Auth - Hydration Error: Invalid HTML Nesting

Summary

Privy's internal styled-components use <p> elements that contain <div> children, causing React hydration errors in Next.js applications.

Environment

  • @privy-io/react-auth: 3.11.0
  • Next.js: 16.1.1 (Turbopack)
  • React: 18.x
  • Configuration: walletChainType: "solana-only"
@j-s
j-s / nounsql
Created July 27, 2022 23:07
ZORA API: Nouns Graphql Query
query CurrentNounAuction {
markets(filter: {marketFilters: [{marketType: NOUNS_AUCTION, statuses: [ACTIVE]}]}) {
nodes {
market {
collectionAddress
marketType
price {
chainTokenPrice {
decimal
}
<--
· * ·✷ ˚ ·
 .  *    ·
       ⋆     ✵   ˚  
        ·       . ·
 ✷     ✵     ·
   .
/$$$$$$$$ /$$$$$$ /$$$$$$$ /$$$$$$