BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/aomi/aomi-para-provider

aomi-para-provider

aomi/aomi-para-provider
FreeComponent

Para-backed Aomi wallet kit provider with the existing Aomi AA path.

Install it

npx shadcn@latest add https://aomi.dev/r/aomi-para-provider.json

Source

lib/wallet-kit/providers/para/para-plugin.tsxaomi.dev/r/aomi-para-provider.json · first 6 KB
1"use client";
2
3import {
4 useCallback,
5 useEffect,
6 useMemo,
7 useState,
8 type ReactNode,
9} from "react";
10import {
11 Environment,
12 ParaProvider,
13 useParaStatus,
14 type TOAuthMethod,
15} from "@getpara/react-sdk";
16import "@getpara/react-sdk/styles.css";
17import type {
18 AuthConfig,
19 AuthMethodId,
20 ProvidersConfig,
21} from "../../config/types";
22import {
23 registerWalletProvider,
24 type WalletProviderPlugin,
25} from "../plugin-registry";
26import { AomiParaPluginProvider } from "./ParaPluginProvider";
27import { AomiParaEvmRuntimeProvider } from "./para-evm-runtime-provider";
28import { defaultOAuthMethods } from "./para-auth";
29import { safeEnv } from "../../env";
30
31const PARA_STARTUP_TIMEOUT_MS = 4_000;
32
33/**
34 * Defensive read of the Para SDK readiness signal, mirroring the other
35 * `useSafe*` Para hooks: `useParaStatus()` throws if no Para context is mounted,
36 * which we treat as "not ready".
37 */
38function useSafeParaReady(): boolean {
39 try {
40 return Boolean(useParaStatus().isReady);
41 } catch {
42 return false;
43 }
44}
45
46/**
47 * Reports Para startup success from the SDK's real readiness signal rather than
48 * from "children mounted".
49 *
50 * `useParaStatus().isReady` flips true only after the Para client's first-time
51 * setup succeeds and stays false on startup failure — the true success/error
52 * discriminator. Because `ParaProvider` renders its children even while
53 * initializing (and even on error), keying readiness off "children rendered"
54 * (the previous approach) fired `onReady` on failure too, wrongly suppressing
55 * the startup banner. Gating on `isReady` fixes that direction.
56 *
57 * It also fixes the effect-ordering bug: child effects commit before the
58 * parent's on mount. Since `isReady` starts false, this watcher does NOT call
59 * `onReady` during the initial commit, so the parent's watchdog effect can no
60 * longer be clobbered by (and then re-clobber) a ready flag set from a child.
61 * `onReady` only fires later, on the async `isReady` false→true transition.
62 */
63function ParaStartupWatcher({
64 children,
65 onReady,
66}: {
67 children: ReactNode;
68 onReady: () => void;
69}) {
70 const isReady = useSafeParaReady();
71 useEffect(() => {
72 if (isReady) onReady();
73 }, [isReady, onReady]);
74 return <>{children}</>;
75}
76
77function toParaEnvironment(value?: "PROD" | "BETA") {
78 if (!value) return Environment.BETA;
79 return value === "PROD" ? Environment.PROD : Environment.BETA;
80}
81
82function toParaOAuthMethods(
83 methods: readonly AuthMethodId[] | undefined,
84// … truncated

What it pulls in

npm packages

  • @aomi-labs/client
  • @aomi-labs/react
  • @getpara/react-sdk
  • @getpara/wagmi-v2-connector
  • @solana/wallet-adapter-react
  • @solana/web3.js
  • @tanstack/react-query
  • viem
  • wagmi

Other registry items

  • https://aomi.dev/r/aomi-wallet-kit.json

Files it writes

  • lib/wallet-kit/providers/para/index.ts
  • lib/wallet-kit/providers/para/para-brand.ts
  • lib/wallet-kit/providers/para/para-plugin.tsx
  • lib/wallet-kit/providers/para/ParaPluginProvider.tsx
  • lib/wallet-kit/providers/para/para-evm-runtime-provider.tsx
  • lib/wallet-kit/providers/para/para-message-signing.ts
  • lib/wallet-kit/providers/para/para-auth.ts
  • lib/wallet-kit/providers/para/para-embedded-wallet.ts
  • lib/wallet-kit/providers/para/widget-auth.ts
  • lib/wallet-kit/registry/use-wallet-registry.ts
  • lib/wallet-kit/runtime/evm/registry-source.ts
  • lib/wallet-kit/runtime/evm/provider.tsx
  • lib/wallet-kit/runtime/evm/wallet-runtime.ts
  • lib/wallet-kit/providers/sources/embedded-session-source.ts
  • lib/wallet-kit/providers/para/sources/para-session-source.ts
  • lib/wallet-kit/runtime/svm/registry-source.ts
  • lib/wallet-kit/runtime/evm/disconnect-plan.ts
  • lib/wallet-kit/registry/identity-grace.ts
  • lib/wallet-kit/full-testnet-config.ts
  • lib/wallet-kit/full-testnet-wallet-routing.tsx
  • lib/wallet-kit/network-preferences.tsx
  • lib/wallet-kit/runtime/evm/safe-hooks.ts
  • lib/wallet-kit/runtime/evm/brands.ts
  • lib/wallet-kit/catalog/evm-connector-catalog.ts
  • lib/wallet-kit/catalog/wallet-ids.ts
  • lib/wallet-kit/catalog/svm-networks.ts
  • lib/wallet-kit/execution/wallet-execution.ts

Facts

Registry
aomi
Type
registry:component
Access
Free
Files written
27
Licence
the repository states none
In the index
at or before 2026-08-13
Last confirmed
today

Go to the source

aomi.dev aomi-labs/aomi on GitHub Raw registry item This item as JSON

More from aomi

All 34 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
accordionaccordionaomiComponentsFree2 deps
alertalertaomiComponentsFree1 dep
aomi-frameaomi-frameaomiComponentsFree1 dep
aomi-privy-provideraomi-privy-provideraomiComponentsFree7 deps · 15 files
aomi-wallet-kitaomi-wallet-kitaomiComponentsFree8 deps · 59 files
aomi-widgetaomi-widgetaomiComponentsFree2 deps
assistant-threadassistant-threadaomiComponentsFree6 deps · 26 files
assistant-thread-listassistant-thread-listaomiComponentsFree2 deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex