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-privy-provider

aomi-privy-provider

aomi/aomi-privy-provider
FreeComponent

Privy-backed Aomi wallet kit provider using Privy's hosted smart wallets (EVM 4337) and Privy's embedded Solana wallets. Bundler, paymaster, and AA implementation are configured in the integrator's Privy dashboard.

Install it

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

Source

lib/wallet-kit/providers/privy/PrivyPluginProvider.tsxaomi.dev/r/aomi-privy-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 { serializeSignature, type Chain, type Hex } from "viem";
11import type {
12 WalletAaSignPayload,
13 WalletEip712Payload,
14} from "@aomi-labs/react";
15import { toViemSignTypedDataArgs } from "@aomi-labs/react";
16import { AomiWalletKitComposer } from "../../composer/AomiWalletKitComposer";
17import type { AuthRuntime, ExecutionRuntime } from "../../composer/types";
18import { useResolvedAccountRuntime } from "../../account/use-resolved-account-runtime";
19import { buildEvmExecutionRuntime } from "../../execution/execution-runtime";
20import { useAomiWalletNetworkPreferences } from "../../network-preferences";
21import { useEvmWalletRuntime } from "../../runtime/evm/wallet-runtime";
22import { useSvmWalletRuntime } from "../../runtime/svm/wallet-runtime";
23import { REGISTRY_STORAGE_KEY } from "../../registry/types";
24import type { AomiAccount, AomiAccountCredential } from "../../types";
25import type { AccountConfig, ExecutionConfig } from "../../config/types";
26import {
27 inferPrivyAuthMethod,
28 inferPrivyPrimaryLabel,
29 pickPrivyEmbeddedEvmWallet,
30 pickPrivyEmbeddedEvmUserWallet,
31 privyLoginMethodsToOptions,
32 useSafePrivy,
33 useSafeSmartWallets,
34 useSafeSvmWallets,
35 useSafeWallets,
36} from "./privy-auth";
37import {
38 useSign7702Authorization,
39 type PrivyClientConfig,
40} from "@privy-io/react-auth";
41import { buildPrivySvmWalletState } from "./privy-svm";
42import { sendPrivySmartWalletTransaction } from "./privy-execution";
43import { useEmbeddedSessionSource } from "../sources/embedded-session-source";
44
45export type AomiPrivyPluginProviderProps = {
46 children: ReactNode;
47 supportedChains: readonly Chain[];
48 loginMethods?: PrivyClientConfig["loginMethods"];
49 execution?: ExecutionConfig;
50 account?: AccountConfig;
51 preferDirectSend?: boolean;
52};
53
54export function AomiPrivyPluginProvider({
55 children,
56 supportedChains,
57 loginMethods,
58 execution,
59 account,
60 preferDirectSend = true,
61}: AomiPrivyPluginProviderProps) {
62 const privy = useSafePrivy();
63 const { client: smartWalletClient, getClientForChain } =
64 useSafeSmartWallets();
65 const { wallets: solanaWallets } = useSafeSvmWallets();
66 const { wallets: connectedWallets } = useSafeWallets();
67 const { signAuthorization } = useSign7702Authorization();
68 const [activeSolanaAddress, setActiveSolanaAddress] = useState<
69 string | undefined
70 >();
71 const {
72 selectedEvmChainId,
73 selectedSolanaNetwork,
74// … truncated

What it pulls in

npm packages

  • @aomi-labs/react
  • @privy-io/react-auth
  • @privy-io/wagmi
  • @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/privy/index.ts
  • lib/wallet-kit/providers/privy/PrivyPluginProvider.tsx
  • lib/wallet-kit/providers/privy/PrivyProvider.tsx
  • lib/wallet-kit/providers/privy/privy-auth.ts
  • lib/wallet-kit/providers/privy/privy-execution.ts
  • lib/wallet-kit/providers/privy/privy-delegation-context.ts
  • lib/wallet-kit/providers/privy/privy-delegation.tsx
  • lib/wallet-kit/providers/privy/privy-plugin.tsx
  • lib/wallet-kit/providers/privy/privy-svm.ts
  • lib/wallet-kit/providers/privy/privy.tsx
  • lib/wallet-kit/providers/privy/widget-auth.ts
  • lib/wallet-kit/providers/sources/embedded-session-source.ts
  • lib/wallet-kit/catalog/evm-connector-catalog.ts
  • lib/wallet-kit/catalog/wallet-ids.ts
  • lib/wallet-kit/runtime/evm/safe-hooks.ts

Facts

Registry
aomi
Type
registry:component
Access
Free
Files written
15
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-para-provideraomi-para-provideraomiComponentsFree9 deps · 27 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