dynamic
Skill1 starsChanged 24 days agoMITView on GitHub
Dynamic (dynamic.xyz) wallet login for React: DynamicWidget sign-in with email, social or wallets, embedded MPC wallets, wagmi, sending transactions, custom EVM networks (World Chain, Unichain, Arc), and server-side JWT checks. Use when the user mentions Dynamic, DynamicContextProvider, DynamicWidget, environmentId, embedded wallets, wallet login, or onboarding users to a dapp.
- Reads credentials
- Installs packages
4 other projects use a version of this.
Adopted by
Most recently taken up by
- popup-studio-ai/bkit-claude-codetheir own version, first seen Oct 8, 2026
- ww-w-ai/bkit-claude-codetheir own version, first seen Aug 14, 2026
- ww-w-ai/bkit-geminitheir own version, first seen Apr 9, 2026
- ww-w-ai/bkit-codextheir own version, first seen Feb 23, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- popup-studio-ai/bkit-claude-code★ 605same name
- ww-w-ai/bkit-claude-code★ 605same name
- ww-w-ai/bkit-codex★ 69same name
- ww-w-ai/bkit-gemini★ 66same 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
- easSkill
- ensoSkill
- envioSkill
- fetch-aiSkill
- goldskySkill
- hardhatSkill
- litSkill
- livepeerSkill
- morphoSkill
- namespace-53d629Skill
- neynarSkill
- olasSkill
- onramp-moneySkill
- openzeppelinSkill
- pimlicoSkill
- pinataSkill
- ponderSkill
- privySkill
- 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
6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
Add Node globals to vite.config.ts, or the page breaks with process is not defined:
- Very specific: line 32
Put VITE_DYNAMIC_ENVIRONMENT_ID=<YOUR_ENVIRONMENT_ID> in .env.local.
- Very specific: line 66
Run npm run dev and open http://localhost:5173.
- Distinctive: line 70
All in references/recipes.md:
- Very specific: line 87
Check versions before installing: npm view @dynamic-labs/sdk-react-core version.
- Distinctive: line 89
When this skill and the official docs disagree, the docs win.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Dynamic
Dynamic gives a React app a ready-made login modal (DynamicWidget): email OTP, social logins, passkeys and external wallets, plus an embedded MPC wallet made for each user. Pick it when you want users signed in with a wallet in minutes, without writing auth UI.
This skill uses the React SDK (@dynamic-labs/sdk-react-core), the one with DynamicWidget and wagmi support. Dynamic now calls it "legacy" and recommends its headless JavaScript SDK (@dynamic-labs-sdk/*) for new apps. That SDK has no built-in UI, so you write every login screen yourself. For a 36-hour hackathon the widget is faster. If you want the headless SDK, follow https://www.dynamic.xyz/docs/javascript/reference/react-quickstart and don't use this skill's code.
Quickstart
- Sign up at https://console.dynamic.xyz and copy the Environment ID from https://console.dynamic.xyz/dashboard/developer/api (use the Sandbox environment while building).
- In the dashboard, add
http://localhost:5173under Security > Allowed CORS Origins, turn on the sign-in methods you want (email, Google, wallets), and turn on Embedded Wallets with "Create on Sign up". See quickstart.md. - Scaffold with Vite 5. Dynamic's quickstart says
vite@latest(Vite 8) does not work with the SDK:npm create vite@5 my-app -- --template react-ts && cd my-app npm i @dynamic-labs/sdk-react-core@5.12.0 @dynamic-labs/ethereum@5.12.0 viem@2.57.7 - Add Node globals to
vite.config.ts, or the page breaks withprocess is not defined:export default defineConfig({ plugins: [react()], define: { 'process.env': {}, global: 'globalThis' } }); - Put
VITE_DYNAMIC_ENVIRONMENT_ID=<YOUR_ENVIRONMENT_ID>in.env.local. - Wrap the app and add the widget:
// src/main.tsx import { createRoot } from 'react-dom/client'; import { DynamicContextProvider } from '@dynamic-labs/sdk-react-core'; import { EthereumWalletConnectors } from '@dynamic-labs/ethereum'; import App from './App'; createRoot(document.getElementById('root')!).render( <DynamicContextProvider settings={{ environmentId: import.meta.env.VITE_DYNAMIC_ENVIRONMENT_ID, walletConnectors: [EthereumWalletConnectors], }} > <App /> </DynamicContextProvider>, );// src/App.tsx import { DynamicWidget, useDynamicContext } from '@dynamic-labs/sdk-react-core'; export default function App() { const { primaryWallet, user } = useDynamicContext(); return ( <div> <DynamicWidget /> {primaryWallet && <p>{user?.email} {primaryWallet.address}</p>} </div> ); } - Run
npm run devand open http://localhost:5173. Sign in, and you get an address.primaryWallet.chainis the chain family ('EVM'), not a chain ID. Useawait primaryWallet.getNetwork()for the ID.
Common tasks
All in references/recipes.md:
- Login options: email, social, wallets
- Embedded wallets
- Send a transaction (viem)
- Sign a message
- wagmi integration + contract writes
- Add a custom EVM network (World Chain, Unichain...)
- Verify the JWT on your server
- Next.js App Router
Errors and fixes: references/errors.md. Docs MCP for your editor: references/mcp.md.
Before you write more code
- For anything not covered here, read the docs index https://www.dynamic.xyz/docs/llms.txt, then the React SDK index https://www.dynamic.xyz/docs/react/llms.txt. Any page loads as markdown if you add
.mdto its URL. - Better: add the docs MCP (
claude mcp add --transport http dynamic https://www.dynamic.xyz/docs/mcp) and search it. - Check versions before installing:
npm view @dynamic-labs/sdk-react-core version. All@dynamic-labs/*packages must be on the same version, or the SDK logs a version-mismatch error. @dynamic-labs/wagmi-connector@5.12.0declareswagmi ^2.14.11. Use wagmi v2. Some Dynamic docs pages still show wagmi v1 hooks (usePrepareContractWrite), which no longer exist.- When this skill and the official docs disagree, the docs win.
At ETHGlobal Mumbai
- Sponsor chains: World Chain and Unichain work as EVM networks (Dynamic lists both by chain ID). Arc has native embedded-wallet and gas-sponsorship support. Hedera, 0G and Whitechain are not named in Dynamic's docs and need the custom-network route. Details and sources: references/chains.md.
- Dynamic may help with prize tracks that need easy onboarding, embedded wallets, or consumer apps on a sponsor chain. Check the tracks and their rules at https://ethglobal.com/events/mumbai/prizes.
- Help: Dynamic's official Slack, https://dynamic.xyz/slack (
#bug-reportfor bugs), and support at https://www.dynamic.xyz/talk-to-us. To check whether a bug is yours or theirs, try it on https://demo.dynamic.xyz.
About
Hand-written for Backboard (https://backboard.0xvikram.me), an independent project not affiliated with ETHGlobal or Dynamic. Tested 2026-10-19 with @dynamic-labs/sdk-react-core@5.12.0, @dynamic-labs/ethereum@5.12.0, @dynamic-labs/wagmi-connector@5.12.0, viem@2.57.7, wagmi@2.19.5, @tanstack/react-query@5.104.4, react@18.3.1, vite@5.4.21, jsonwebtoken@9.0.3, jwks-rsa@4.1.0.
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.

