privy
Skill1 starsChanged 25 days agoMITView on GitHub
Privy gives your app email/social/wallet login plus embedded wallets for every user, in React/Next.js with a Node server SDK. Use when a hacker says Privy, PrivyProvider, usePrivy, embedded wallet, email or Google login for a dapp, social login wallet, @privy-io/react-auth, @privy-io/wagmi, verify Privy access token, or wants World Chain / Unichain wallets without MetaMask.
- Reads credentials
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- artivilla/agent-skillstheir own version, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- artivilla/agent-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository55 other files it gives its agents.
- aaveSkill
- agentkitSkill
- alchemySkill
- backboardSkill
- biconomySkill
- blockscoutSkill
- daimoSkill
- duneSkill
- dynamicSkill
- easSkill
- ensoSkill
- envioSkill
- fetch-aiSkill
- goldskySkill
- hardhatSkill
- litSkill
- livepeerSkill
- morphoSkill
- namespace-53d629Skill
- neynarSkill
- olasSkill
- onramp-moneySkill
- openzeppelinSkill
- pimlicoSkill
- pinataSkill
- ponderSkill
- pushSkill
- quicknodeSkill
- reclaimSkill
- reownSkill
- requestSkill
- safeSkill
- scaffold-ethSkill
- signSkill
- sponsor-chainsSkill
- superfluidSkill
- tenderlySkill
- the-graphSkill
- thirdwebSkill
- track-0gSkill
- track-1inchSkill
- track-arcSkill
- track-arkivSkill
- track-chainlinkSkill
- track-definitiveSkill
- track-efSkill
- track-ensSkill
- track-hederaSkill
- track-uniswapSkill
- track-whitechainSkill
- track-worldSkill
- transakSkill
- web3authSkill
- xmtpSkill
- zerodevSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Create an app at https://dashboard.privy.io.
- Very specific: line 94
Check versions first: npm view @privy-io/react-auth version.
- Very specific: line 95
Use @privy-io/node on the server.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Privy
Privy logs users in with email, SMS, Google/Twitter/Discord, passkeys or an external wallet, and gives each user an embedded EVM (or Solana) wallet with no seed phrase. Pick it when your users are not crypto-native and you want "log in with email, get a wallet" in a React or Next.js app. Skip it for a pure backend bot, or when every user already has MetaMask and you only need a connect button (plain wagmi or RainbowKit is lighter).
Quickstart
- Create an app at https://dashboard.privy.io. Copy the App ID (and App secret for your server) from Configuration > App settings > Basics. Enable Email (and Google) under the Authentication / login methods page.
- Install (Next.js App Router):
npm i @privy-io/react-auth@3.50.0 viem@2.57.5 .env.local:NEXT_PUBLIC_PRIVY_APP_ID=<YOUR_PRIVY_APP_ID>(the real ID is 25 characters; a fake or empty value crashesnext build).app/providers.tsx, and wrap{children}with<Providers>inapp/layout.tsx:'use client'; import {PrivyProvider} from '@privy-io/react-auth'; import {worldchainSepolia, unichainSepolia} from 'viem/chains'; export default function Providers({children}: {children: React.ReactNode}) { return ( <PrivyProvider appId={process.env.NEXT_PUBLIC_PRIVY_APP_ID!} config={{ loginMethods: ['email', 'google', 'wallet'], embeddedWallets: {ethereum: {createOnLogin: 'users-without-wallets'}}, defaultChain: worldchainSepolia, supportedChains: [worldchainSepolia, unichainSepolia] }} > {children} </PrivyProvider> ); }app/page.tsx: log in with the Privy modal, read the embedded wallet, send a transaction:'use client'; import {usePrivy, useWallets, useSendTransaction} from '@privy-io/react-auth'; export default function Home() { const {ready, authenticated, user, login, logout} = usePrivy(); const {wallets} = useWallets(); const {sendTransaction} = useSendTransaction(); if (!ready) return <p>Loading...</p>; if (!authenticated) return <button onClick={login}>Log in</button>; const embedded = wallets.find((w) => w.walletClientType === 'privy'); return ( <div> <p>{user?.id} / {embedded?.address ?? 'creating wallet...'}</p> <button disabled={!embedded} onClick={async () => { const {hash} = await sendTransaction( {to: '0x0000000000000000000000000000000000000000', value: 1n, chainId: 4801}, {address: embedded!.address}); alert(hash); }}>Send 1 wei</button> <button onClick={logout}>Log out</button> </div> ); }npm run dev, open http://localhost:3000, log in with your email. Fund the wallet with World Chain Sepolia test ETH before sending.
Full walkthrough: references/quickstart.md.
Common tasks
- Custom email OTP login form (whitelabel) + creating the wallet yourself
- Google / social login button
- Send ETH or an ERC-20 from the embedded wallet
- Use viem with a Privy wallet
- Use wagmi hooks with Privy
- Verify the user on your server (access token)
- Add World Chain / Unichain or any custom chain
- World mini app login with the World wallet (SIWE)
- Errors and gotchas: references/errors.md
- Chain support: references/chains.md · Docs MCP server: references/mcp.md
Before you write more code
- For anything not covered here, read the index https://docs.privy.io/llms.txt and open the linked
.mdpage (React: https://docs.privy.io/basics/react/setup.md). Privy also runs a docs MCP server (references/mcp.md). - Check versions first:
npm view @privy-io/react-auth version. Privy ships often (3.48 to 3.50 in one week, Oct 2026). - Use
@privy-io/nodeon the server.@privy-io/server-authis deprecated on npm. - Some doc snippets are behind the SDK types (see errors.md #1 and #2). Type-check with
tsc. When this skill and the official docs disagree, the docs win, unless the installed package's TypeScript types say otherwise.
At ETHGlobal Mumbai
- Sponsor chains: World Chain and Unichain work as normal EVM chains, mainnet and Sepolia testnets, both in
viem/chains. Details and sources: references/chains.md. - Privy may help with the World and Uniswap Foundation (Unichain) tracks (consumer onboarding, mini apps, payments) and with any track that needs non-crypto users to sign in. Check the rules yourself: https://ethglobal.com/events/mumbai/prizes
- Help: Privy support Slack https://privy.io/slack (linked from the docs), docs https://docs.privy.io
About
Hand-written for Backboard (https://backboard.0xvikram.me), an independent project not affiliated with ETHGlobal or Privy. Tested 2026-10-19 with @privy-io/react-auth@3.50.0, @privy-io/node@0.36.0, @privy-io/wagmi@4.0.19, wagmi@3.7.7, viem@2.57.5, next@16.4.2.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

