wallet-integration
How to add wallet connection and authentication to an existing Monad frontend using Para — embedded MPC wallets with email / phone / passkey / social login…
by therealharpaljadeja★ 15 GitHub stars
Install wallet-integration in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Wallet Integration (Para)
This skill covers adding wallet + authentication to the frontend of a Monad project using Para and the para CLI (@getpara/cli).
Para gives users embedded MPC wallets — they sign in with email, phone, passkey, or a social provider (Google, Apple, Twitter, Discord, Facebook, Farcaster) and instantly have a wallet, no browser extension required. It also supports connecting external wallets (MetaMask, Coinbase, WalletConnect, Rainbow, Zerion, Rabby) for users who already have one. The same ParaProvider handles both flows.
This skill assumes the frontend already exists (typically scaffolded by the scaffold/ skill into web/). It does not scaffold a new app — Para's para create template is intentionally out of scope here, since the project scaffold is handled elsewhere.
When to fetch this skill
- The user wants any wallet connect / sign-in flow on their frontend, on Monad mainnet or testnet.
- The user wants embedded wallets, social login, email/SMS login, or passkey login.
- The user has an existing frontend (Next.js or Vite) and wants to add Para to it (
para init+ParaProvider+para doctor). - The user wants to manage Para API keys, environments, webhooks, branding, or auth methods from the CLI.
- The user wants to debug a wallet integration that isn't working (
para doctor).
Monad on Para
Para's --networks flag supports evm. Monad mainnet and Monad testnet are EVM chains, so they fit the EVM template — but Para doesn't ship Monad as a built-in chain object. After para init, you import monad and monadTestnet from wagmi/chains and pass them through externalWalletConfig.evmConnector.config.{chains,transports} on the ParaProvider (v2 stores the chain list there — there is no separate wagmi.ts createConfig and no defaultChain prop). See references/para-monad-wiring.md for the exact code edits.
v2 SDK shape — read before editing the provider
If you're updating an existing Para integration, the ParaProvider props are not a flat apiKey={...}. v2 splits them into four config objects:
paraClientConfig={{ apiKey, env: Environment.BETA }}— credentials and environment (BETA/PRODUCTION).config={{ appName }}— app metadata.paraModalConfig={{ oAuthMethods, disablePhoneLogin, recoverySecretStepEnabled, ... }}— client-side modal controls (which IDP buttons render, phone toggle, recovery step). EmptyoAuthMethods: []hides all social login.externalWalletConfig={{ evmConnector: { config: { chains, transports } }, wallets: ['METAMASK', ...] }}— chain list, RPC transports, and which external-wallet tiles appear.
Default chain = first entry in externalWalletConfig.evmConnector.config.chains. There is no top-level defaultChain prop. Full example in references/para-workflows.md → step 7.
Prerequisites
Before any para command will work, the user must have all of these in place:
@getpara/cliinstalled globally:npm install -g @getpara/cli(orpnpm add -g @getpara/cli, or run vianpx @getpara/cli@latest).paralogged in:para login(browser OAuth flow — only the user can complete it).- A Para organization and project selected as active context. After
para login, the CLI auto-selects the first org and project; switch withpara orgs switch/para projects switchif needed.
The monskills hook gates para commands on install + login. If a prereq is missing, the hook denies the tool call with the exact missing piece — surface that message to the user and wait.
What NOT to do
- Do not install the CLI for the user. If
@getpara/cliis missing, tell them the exact command and wait. - Do not run
para loginfor the user. It opens a browser tab and only the user can complete the OAuth flow. (--no-browserexists for headless setups, but monskills is for interactive use — let the user choose.) - Do not create a Para account or API key for the user via the web portal. The CLI handles project + key creation — guide them through it.
- Do not run
para create. Project scaffolding is handled by thescaffold/skill; this skill only integrates Para into a frontend that already exists.
Integrate Para into the existing frontend
cd web # or wherever the frontend lives
para init
para init writes .pararc (org + project + environment context), then you install the SDK packages, wrap the app in ParaProvider, and import Para's CSS. After wiring, run para doctor to verify nothing is missing.
In a sandboxed or headless terminal (no real TTY), para init will exit with TTY initialization failed: uv_tty_init returned EINVAL — re-run as para init --no-input and it will use the active org/project/env from global config instead of prompting.
See references/para-workflows.md → "Integrate Para into the existing frontend" for the exact code edits, package list, and para doctor debugging loop.
Where to look next
Reference
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- SKILL.zh.md
- references/para-cli.md
- references/para-cli.zh.md
- references/para-monad-wiring.md
- references/para-monad-wiring.zh.md
- references/para-workflows.md
- references/para-workflows.zh.md
FAQ
What does the wallet-integration skill do?
How to add wallet connection and authentication to an existing Monad frontend using Para — embedded MPC wallets with email / phone / passkey / social login, plus external-wallet connect (MetaMask, Coinbase, WalletConnect, Rainbow, etc.). Driven by the `para` CLI (`@getpara/cli`). Fetch when the user wants to integrate Para into an existing Next.js or Vite frontend, or manage Para projects, API keys, and webhooks from the terminal. This is monskills' canonical wallet-integration skill — there is no separate skill for "social login" or "embedded wallets," it's all here.
How do I install the wallet-integration skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the wallet-integration skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…