repo
stringlengths
7
64
file_url
stringlengths
81
338
file_path
stringlengths
5
257
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:25:31
2026-01-05 01:50:38
truncated
bool
2 classes
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/google-one-tap-example/src/App.tsx
custom-authentication/single-connection/google-one-tap-example/src/App.tsx
/* eslint-disable no-console */ import "./App.css"; import { useWeb3AuthConnect, useWeb3AuthDisconnect, useWeb3AuthUser} from "@web3auth/modal/react"; import { WALLET_CONNECTORS, AUTH_CONNECTION } from "@web3auth/modal"; import { useAccount } from "wagmi"; import { SendTransaction } from "./components/sendTransaction";...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/google-one-tap-example/src/web3authContext.tsx
custom-authentication/single-connection/google-one-tap-example/src/web3authContext.tsx
import { WEB3AUTH_NETWORK, type Web3AuthOptions } from "@web3auth/modal"; // Dashboard Registration const clientId = "BHgArYmWwSeq21czpcarYh0EVq2WWOzflX-NTK-tY1-1pauPzHKRRLgpABkmYiIV_og9jAvoIxQ8L3Smrwe04Lw"; // get from https://dashboard.web3auth.io // Instantiate SDK const web3AuthOptions: Web3AuthOptions = { clie...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/google-one-tap-example/src/utils.ts
custom-authentication/single-connection/google-one-tap-example/src/utils.ts
import bowser from "bowser"; const PASSKEYS_ALLOWED_MAP = [bowser.OS_MAP.iOS, bowser.OS_MAP.MacOS, bowser.OS_MAP.Android, bowser.OS_MAP.Windows]; const getWindowsVersion = (osVersion: string) => { const windowsVersionRegex = /NT (\d+\.\d+)/; const match = osVersion.match(windowsVersionRegex); if (match) return ...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/google-one-tap-example/src/index.tsx
custom-authentication/single-connection/google-one-tap-example/src/index.tsx
import "./index.css"; import ReactDOM from "react-dom/client"; // Setup Web3Auth Provider import { Web3AuthProvider } from "@web3auth/modal/react"; import web3AuthContextConfig from "./web3authContext"; // Setup Wagmi Provider import { WagmiProvider } from "@web3auth/modal/react/wagmi"; import { QueryClient, QueryClie...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/google-one-tap-example/src/vite-env.d.ts
custom-authentication/single-connection/google-one-tap-example/src/vite-env.d.ts
/// <reference types="vite/client" />
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/google-one-tap-example/src/components/sendTransaction.tsx
custom-authentication/single-connection/google-one-tap-example/src/components/sendTransaction.tsx
import { FormEvent } from "react"; import { useWaitForTransactionReceipt, useSendTransaction, BaseError } from "wagmi"; import { Hex, parseEther } from "viem"; export function SendTransaction() { const { data: hash, error, isPending, sendTransaction } = useSendTransaction() async function submit(e: FormEvent<HTML...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/google-one-tap-example/src/components/getBalance.tsx
custom-authentication/single-connection/google-one-tap-example/src/components/getBalance.tsx
import { useAccount, useBalance } from "wagmi"; import { formatUnits } from "viem"; export function Balance() { const { address } = useAccount() const { data, isLoading, error } = useBalance({ address }) return ( <div> <h2>Balance</h2> <div>{data?.value !== undefined && `${formatUnits(data.valu...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/google-one-tap-example/src/components/switchNetwork.tsx
custom-authentication/single-connection/google-one-tap-example/src/components/switchNetwork.tsx
import { useChainId, useSwitchChain } from 'wagmi' export function SwitchChain() { const chainId = useChainId() const { chains, switchChain, error } = useSwitchChain() return ( <div> <h2>Switch Chain</h2> <h3>Connected to {chainId}</h3> {chains.map((chain) => ( <button di...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/worldcoin-implicit-example/vite.config.ts
custom-authentication/single-connection/worldcoin-implicit-example/vite.config.ts
/* eslint-disable import/no-extraneous-dependencies */ import react from "@vitejs/plugin-react"; import { defineConfig } from "vite"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], // alias are only to be added when absolutely necessary, these modules are already present in the bro...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/worldcoin-implicit-example/src/App.tsx
custom-authentication/single-connection/worldcoin-implicit-example/src/App.tsx
/* eslint-disable no-console */ import "./App.css"; import { useWeb3AuthConnect, useWeb3AuthDisconnect, useWeb3AuthUser} from "@web3auth/modal/react"; import { WALLET_CONNECTORS, AUTH_CONNECTION } from "@web3auth/modal"; import { useAccount } from "wagmi"; import { SendTransaction } from "./components/sendTransaction";...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/worldcoin-implicit-example/src/web3authContext.tsx
custom-authentication/single-connection/worldcoin-implicit-example/src/web3authContext.tsx
import { WEB3AUTH_NETWORK, type Web3AuthOptions } from "@web3auth/modal"; // Dashboard Registration const clientId = "BHgArYmWwSeq21czpcarYh0EVq2WWOzflX-NTK-tY1-1pauPzHKRRLgpABkmYiIV_og9jAvoIxQ8L3Smrwe04Lw"; // get from https://dashboard.web3auth.io // Instantiate SDK const web3AuthOptions: Web3AuthOptions = { clie...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/worldcoin-implicit-example/src/index.tsx
custom-authentication/single-connection/worldcoin-implicit-example/src/index.tsx
import "./index.css"; import ReactDOM from "react-dom/client"; // Setup Web3Auth Provider import { Web3AuthProvider } from "@web3auth/modal/react"; import web3AuthContextConfig from "./web3authContext"; // Setup Wagmi Provider import { WagmiProvider } from "@web3auth/modal/react/wagmi"; import { QueryClient, QueryClie...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/worldcoin-implicit-example/src/vite-env.d.ts
custom-authentication/single-connection/worldcoin-implicit-example/src/vite-env.d.ts
/// <reference types="vite/client" />
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/worldcoin-implicit-example/src/components/sendTransaction.tsx
custom-authentication/single-connection/worldcoin-implicit-example/src/components/sendTransaction.tsx
import { FormEvent } from "react"; import { useWaitForTransactionReceipt, useSendTransaction, BaseError } from "wagmi"; import { Hex, parseEther } from "viem"; export function SendTransaction() { const { data: hash, error, isPending, sendTransaction } = useSendTransaction() async function submit(e: FormEvent<HTML...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/worldcoin-implicit-example/src/components/getBalance.tsx
custom-authentication/single-connection/worldcoin-implicit-example/src/components/getBalance.tsx
import { useAccount, useBalance } from "wagmi"; import { formatUnits } from "viem"; export function Balance() { const { address } = useAccount() const { data, isLoading, error } = useBalance({ address }) return ( <div> <h2>Balance</h2> <div>{data?.value !== undefined && `${formatUnits(data.valu...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/worldcoin-implicit-example/src/components/switchNetwork.tsx
custom-authentication/single-connection/worldcoin-implicit-example/src/components/switchNetwork.tsx
import { useChainId, useSwitchChain } from 'wagmi' export function SwitchChain() { const chainId = useChainId() const { chains, switchChain, error } = useSwitchChain() return ( <div> <h2>Switch Chain</h2> <h3>Connected to {chainId}</h3> {chains.map((chain) => ( <button di...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/auth0-implicit-example/vite.config.ts
custom-authentication/single-connection/auth0-implicit-example/vite.config.ts
/* eslint-disable import/no-extraneous-dependencies */ import react from "@vitejs/plugin-react"; import { defineConfig } from "vite"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], // alias are only to be added when absolutely necessary, these modules are already present in the bro...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/auth0-implicit-example/src/App.tsx
custom-authentication/single-connection/auth0-implicit-example/src/App.tsx
/* eslint-disable no-console */ import "./App.css"; import { useEnableMFA, useManageMFA, useWeb3AuthConnect, useWeb3AuthDisconnect, useWeb3AuthUser } from "@web3auth/modal/react"; import { WALLET_CONNECTORS, AUTH_CONNECTION } from "@web3auth/modal"; import { useAccount } from "wagmi"; import { SendTransaction } from "....
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/auth0-implicit-example/src/web3authContext.tsx
custom-authentication/single-connection/auth0-implicit-example/src/web3authContext.tsx
import { WEB3AUTH_NETWORK, type Web3AuthOptions } from "@web3auth/modal"; // IMP START - Dashboard Registration const clientId = "BHgArYmWwSeq21czpcarYh0EVq2WWOzflX-NTK-tY1-1pauPzHKRRLgpABkmYiIV_og9jAvoIxQ8L3Smrwe04Lw"; // get from https://dashboard.web3auth.io // IMP END - Dashboard Registration // Instantiate SDK c...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/auth0-implicit-example/src/index.tsx
custom-authentication/single-connection/auth0-implicit-example/src/index.tsx
import "./index.css"; import ReactDOM from "react-dom/client"; // Setup Web3Auth Provider import { Web3AuthProvider } from "@web3auth/modal/react"; import web3AuthContextConfig from "./web3authContext"; // Setup Wagmi Provider import { WagmiProvider } from "@web3auth/modal/react/wagmi"; import { QueryClient, QueryClie...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/auth0-implicit-example/src/vite-env.d.ts
custom-authentication/single-connection/auth0-implicit-example/src/vite-env.d.ts
/// <reference types="vite/client" />
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/auth0-implicit-example/src/components/sendTransaction.tsx
custom-authentication/single-connection/auth0-implicit-example/src/components/sendTransaction.tsx
import { FormEvent } from "react"; import { useWaitForTransactionReceipt, useSendTransaction, BaseError } from "wagmi"; import { Hex, parseEther } from "viem"; export function SendTransaction() { const { data: hash, error, isPending, sendTransaction } = useSendTransaction() async function submit(e: FormEvent<HTML...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/auth0-implicit-example/src/components/getBalance.tsx
custom-authentication/single-connection/auth0-implicit-example/src/components/getBalance.tsx
import { useAccount, useBalance } from "wagmi"; import { formatUnits } from "viem"; export function Balance() { const { address } = useAccount() const { data, isLoading, error } = useBalance({ address }) return ( <div> <h2>Balance</h2> <div>{data?.value !== undefined && `${formatUnits(data.valu...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/auth0-implicit-example/src/components/switchNetwork.tsx
custom-authentication/single-connection/auth0-implicit-example/src/components/switchNetwork.tsx
import { useChainId, useSwitchChain } from 'wagmi' export function SwitchChain() { const chainId = useChainId() const { chains, switchChain, error } = useSwitchChain() return ( <div> <h2>Switch Chain</h2> <h3>Connected to {chainId}</h3> {chains.map((chain) => ( <button di...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/facebook-implicit-example/vite.config.ts
custom-authentication/single-connection/facebook-implicit-example/vite.config.ts
/* eslint-disable import/no-extraneous-dependencies */ import react from "@vitejs/plugin-react"; import { defineConfig } from "vite"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], // alias are only to be added when absolutely necessary, these modules are already present in the bro...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/facebook-implicit-example/src/App.tsx
custom-authentication/single-connection/facebook-implicit-example/src/App.tsx
/* eslint-disable no-console */ import "./App.css"; import { useManageMFA, useEnableMFA, useWeb3AuthConnect, useWeb3AuthDisconnect, useWeb3AuthUser} from "@web3auth/modal/react"; import { WALLET_CONNECTORS, AUTH_CONNECTION } from "@web3auth/modal"; import { useAccount } from "wagmi"; import { SendTransaction } from "./...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/facebook-implicit-example/src/web3authContext.tsx
custom-authentication/single-connection/facebook-implicit-example/src/web3authContext.tsx
import { WEB3AUTH_NETWORK, type Web3AuthOptions } from "@web3auth/modal"; // Dashboard Registration const clientId = "BHgArYmWwSeq21czpcarYh0EVq2WWOzflX-NTK-tY1-1pauPzHKRRLgpABkmYiIV_og9jAvoIxQ8L3Smrwe04Lw"; // get from https://dashboard.web3auth.io // Instantiate SDK const web3AuthOptions: Web3AuthOptions = { clie...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/facebook-implicit-example/src/index.tsx
custom-authentication/single-connection/facebook-implicit-example/src/index.tsx
import "./index.css"; import ReactDOM from "react-dom/client"; // Setup Web3Auth Provider import { Web3AuthProvider } from "@web3auth/modal/react"; import web3AuthContextConfig from "./web3authContext"; // Setup Wagmi Provider import { WagmiProvider } from "@web3auth/modal/react/wagmi"; import { QueryClient, QueryClie...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/facebook-implicit-example/src/vite-env.d.ts
custom-authentication/single-connection/facebook-implicit-example/src/vite-env.d.ts
/// <reference types="vite/client" />
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/facebook-implicit-example/src/components/sendTransaction.tsx
custom-authentication/single-connection/facebook-implicit-example/src/components/sendTransaction.tsx
import { FormEvent } from "react"; import { useWaitForTransactionReceipt, useSendTransaction, BaseError } from "wagmi"; import { Hex, parseEther } from "viem"; export function SendTransaction() { const { data: hash, error, isPending, sendTransaction } = useSendTransaction() async function submit(e: FormEvent<HTML...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/facebook-implicit-example/src/components/getBalance.tsx
custom-authentication/single-connection/facebook-implicit-example/src/components/getBalance.tsx
import { useAccount, useBalance } from "wagmi"; import { formatUnits } from "viem"; export function Balance() { const { address } = useAccount() const { data, isLoading, error } = useBalance({ address }) return ( <div> <h2>Balance</h2> <div>{data?.value !== undefined && `${formatUnits(data.valu...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/facebook-implicit-example/src/components/switchNetwork.tsx
custom-authentication/single-connection/facebook-implicit-example/src/components/switchNetwork.tsx
import { useChainId, useSwitchChain } from 'wagmi' export function SwitchChain() { const chainId = useChainId() const { chains, switchChain, error } = useSwitchChain() return ( <div> <h2>Switch Chain</h2> <h3>Connected to {chainId}</h3> {chains.map((chain) => ( <button di...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/auth0-jwt-example/vite.config.ts
custom-authentication/single-connection/auth0-jwt-example/vite.config.ts
/* eslint-disable import/no-extraneous-dependencies */ import react from "@vitejs/plugin-react"; import { defineConfig } from "vite"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], // alias are only to be added when absolutely necessary, these modules are already present in the bro...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/auth0-jwt-example/src/App.tsx
custom-authentication/single-connection/auth0-jwt-example/src/App.tsx
/* eslint-disable no-console */ import "./App.css"; import { useEnableMFA, useManageMFA, useWeb3AuthConnect, useWeb3AuthDisconnect, useWeb3AuthUser} from "@web3auth/modal/react"; import { WALLET_CONNECTORS, AUTH_CONNECTION } from "@web3auth/modal"; import { useAccount } from "wagmi"; import { SendTransaction } from "./...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/auth0-jwt-example/src/web3authContext.tsx
custom-authentication/single-connection/auth0-jwt-example/src/web3authContext.tsx
import { WEB3AUTH_NETWORK, type Web3AuthOptions } from "@web3auth/modal"; // Dashboard Registration const clientId = "BHgArYmWwSeq21czpcarYh0EVq2WWOzflX-NTK-tY1-1pauPzHKRRLgpABkmYiIV_og9jAvoIxQ8L3Smrwe04Lw"; // get from https://dashboard.web3auth.io // Instantiate SDK const web3AuthOptions: Web3AuthOptions = { clie...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/auth0-jwt-example/src/index.tsx
custom-authentication/single-connection/auth0-jwt-example/src/index.tsx
import "./index.css"; import ReactDOM from "react-dom/client"; // Setup Web3Auth Provider import { Web3AuthProvider } from "@web3auth/modal/react"; import web3AuthContextConfig from "./web3authContext"; // Setup Wagmi Provider import { WagmiProvider } from "@web3auth/modal/react/wagmi"; import { QueryClient, QueryClie...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/auth0-jwt-example/src/vite-env.d.ts
custom-authentication/single-connection/auth0-jwt-example/src/vite-env.d.ts
/// <reference types="vite/client" />
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/auth0-jwt-example/src/components/sendTransaction.tsx
custom-authentication/single-connection/auth0-jwt-example/src/components/sendTransaction.tsx
import { FormEvent } from "react"; import { useWaitForTransactionReceipt, useSendTransaction, BaseError } from "wagmi"; import { Hex, parseEther } from "viem"; export function SendTransaction() { const { data: hash, error, isPending, sendTransaction } = useSendTransaction() async function submit(e: FormEvent<HTML...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/auth0-jwt-example/src/components/getBalance.tsx
custom-authentication/single-connection/auth0-jwt-example/src/components/getBalance.tsx
import { useAccount, useBalance } from "wagmi"; import { formatUnits } from "viem"; export function Balance() { const { address } = useAccount() const { data, isLoading, error } = useBalance({ address }) return ( <div> <h2>Balance</h2> <div>{data?.value !== undefined && `${formatUnits(data.valu...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/auth0-jwt-example/src/components/switchNetwork.tsx
custom-authentication/single-connection/auth0-jwt-example/src/components/switchNetwork.tsx
import { useChainId, useSwitchChain } from 'wagmi' export function SwitchChain() { const chainId = useChainId() const { chains, switchChain, error } = useSwitchChain() return ( <div> <h2>Switch Chain</h2> <h3>Connected to {chainId}</h3> {chains.map((chain) => ( <button di...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/google-implicit-example/vite.config.ts
custom-authentication/single-connection/google-implicit-example/vite.config.ts
/* eslint-disable import/no-extraneous-dependencies */ import react from "@vitejs/plugin-react"; import { defineConfig } from "vite"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], // alias are only to be added when absolutely necessary, these modules are already present in the bro...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/google-implicit-example/src/App.tsx
custom-authentication/single-connection/google-implicit-example/src/App.tsx
/* eslint-disable no-console */ import "./App.css"; import { useWeb3AuthConnect, useWeb3AuthDisconnect, useWeb3AuthUser} from "@web3auth/modal/react"; import { WALLET_CONNECTORS, AUTH_CONNECTION } from "@web3auth/modal"; import { useAccount } from "wagmi"; import { SendTransaction } from "./components/sendTransaction";...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/google-implicit-example/src/web3authContext.tsx
custom-authentication/single-connection/google-implicit-example/src/web3authContext.tsx
import { WEB3AUTH_NETWORK, type Web3AuthOptions } from "@web3auth/modal"; // Dashboard Registration const clientId = "BHgArYmWwSeq21czpcarYh0EVq2WWOzflX-NTK-tY1-1pauPzHKRRLgpABkmYiIV_og9jAvoIxQ8L3Smrwe04Lw"; // get from https://dashboard.web3auth.io // Instantiate SDK const web3AuthOptions: Web3AuthOptions = { clie...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/google-implicit-example/src/index.tsx
custom-authentication/single-connection/google-implicit-example/src/index.tsx
import "./index.css"; import ReactDOM from "react-dom/client"; // Setup Web3Auth Provider import { Web3AuthProvider } from "@web3auth/modal/react"; import web3AuthContextConfig from "./web3authContext"; // Setup Wagmi Provider import { WagmiProvider } from "@web3auth/modal/react/wagmi"; import { QueryClient, QueryClie...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/google-implicit-example/src/vite-env.d.ts
custom-authentication/single-connection/google-implicit-example/src/vite-env.d.ts
/// <reference types="vite/client" />
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/google-implicit-example/src/components/sendTransaction.tsx
custom-authentication/single-connection/google-implicit-example/src/components/sendTransaction.tsx
import { FormEvent } from "react"; import { useWaitForTransactionReceipt, useSendTransaction, BaseError } from "wagmi"; import { Hex, parseEther } from "viem"; export function SendTransaction() { const { data: hash, error, isPending, sendTransaction } = useSendTransaction() async function submit(e: FormEvent<HTML...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/google-implicit-example/src/components/getBalance.tsx
custom-authentication/single-connection/google-implicit-example/src/components/getBalance.tsx
import { useAccount, useBalance } from "wagmi"; import { formatUnits } from "viem"; export function Balance() { const { address } = useAccount() const { data, isLoading, error } = useBalance({ address }) return ( <div> <h2>Balance</h2> <div>{data?.value !== undefined && `${formatUnits(data.valu...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/google-implicit-example/src/components/switchNetwork.tsx
custom-authentication/single-connection/google-implicit-example/src/components/switchNetwork.tsx
import { useChainId, useSwitchChain } from 'wagmi' export function SwitchChain() { const chainId = useChainId() const { chains, switchChain, error } = useSwitchChain() return ( <div> <h2>Switch Chain</h2> <h3>Connected to {chainId}</h3> {chains.map((chain) => ( <button di...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/custom-jwt-example/vite.config.ts
custom-authentication/single-connection/custom-jwt-example/vite.config.ts
/* eslint-disable import/no-extraneous-dependencies */ import react from "@vitejs/plugin-react"; import { defineConfig } from "vite"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], // alias are only to be added when absolutely necessary, these modules are already present in the bro...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/custom-jwt-example/src/App.tsx
custom-authentication/single-connection/custom-jwt-example/src/App.tsx
/* eslint-disable no-console */ import "./App.css"; import { useEnableMFA, useManageMFA, useWeb3AuthConnect, useWeb3AuthDisconnect, useWeb3AuthUser} from "@web3auth/modal/react"; import { WALLET_CONNECTORS, AUTH_CONNECTION } from "@web3auth/modal"; import { useAccount } from "wagmi"; import { SendTransaction } from "./...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/custom-jwt-example/src/web3authContext.tsx
custom-authentication/single-connection/custom-jwt-example/src/web3authContext.tsx
import { WEB3AUTH_NETWORK, type Web3AuthOptions } from "@web3auth/modal"; // Dashboard Registration const clientId = "BHgArYmWwSeq21czpcarYh0EVq2WWOzflX-NTK-tY1-1pauPzHKRRLgpABkmYiIV_og9jAvoIxQ8L3Smrwe04Lw"; // Instantiate SDK const web3AuthOptions: Web3AuthOptions = { clientId, web3AuthNetwork: WEB3AUTH_NETWORK....
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/custom-jwt-example/src/index.tsx
custom-authentication/single-connection/custom-jwt-example/src/index.tsx
import "./index.css"; import ReactDOM from "react-dom/client"; // Setup Web3Auth Provider import { Web3AuthProvider } from "@web3auth/modal/react"; import web3AuthContextConfig from "./web3authContext"; // Setup Wagmi Provider import { WagmiProvider } from "@web3auth/modal/react/wagmi"; import { QueryClient, QueryClie...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/custom-jwt-example/src/vite-env.d.ts
custom-authentication/single-connection/custom-jwt-example/src/vite-env.d.ts
/// <reference types="vite/client" />
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/custom-jwt-example/src/components/sendTransaction.tsx
custom-authentication/single-connection/custom-jwt-example/src/components/sendTransaction.tsx
import { FormEvent } from "react"; import { useWaitForTransactionReceipt, useSendTransaction, BaseError } from "wagmi"; import { Hex, parseEther } from "viem"; export function SendTransaction() { const { data: hash, error, isPending, sendTransaction } = useSendTransaction() async function submit(e: FormEvent<HTML...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/custom-jwt-example/src/components/getBalance.tsx
custom-authentication/single-connection/custom-jwt-example/src/components/getBalance.tsx
import { useAccount, useBalance } from "wagmi"; import { formatUnits } from "viem"; export function Balance() { const { address } = useAccount() const { data, isLoading, error } = useBalance({ address }) return ( <div> <h2>Balance</h2> <div>{data?.value !== undefined && `${formatUnits(data.valu...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/custom-jwt-example/src/components/switchNetwork.tsx
custom-authentication/single-connection/custom-jwt-example/src/components/switchNetwork.tsx
import { useChainId, useSwitchChain } from 'wagmi' export function SwitchChain() { const chainId = useChainId() const { chains, switchChain, error } = useSwitchChain() return ( <div> <h2>Switch Chain</h2> <h3>Connected to {chainId}</h3> {chains.map((chain) => ( <button di...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/firebase-jwt-example/vite.config.ts
custom-authentication/single-connection/firebase-jwt-example/vite.config.ts
/* eslint-disable import/no-extraneous-dependencies */ import react from "@vitejs/plugin-react"; import { defineConfig } from "vite"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], // alias are only to be added when absolutely necessary, these modules are already present in the bro...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/firebase-jwt-example/src/App.tsx
custom-authentication/single-connection/firebase-jwt-example/src/App.tsx
/* eslint-disable no-console */ import "./App.css"; import { useWeb3AuthConnect, useWeb3AuthDisconnect, useWeb3AuthUser, useManageMFA, useEnableMFA } from "@web3auth/modal/react"; import { WALLET_CONNECTORS, AUTH_CONNECTION } from "@web3auth/modal"; import { useAccount } from "wagmi"; import { SendTransaction } from "....
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/firebase-jwt-example/src/web3authContext.tsx
custom-authentication/single-connection/firebase-jwt-example/src/web3authContext.tsx
import { WEB3AUTH_NETWORK, type Web3AuthOptions } from "@web3auth/modal"; // Dashboard Registration const clientId = "BHgArYmWwSeq21czpcarYh0EVq2WWOzflX-NTK-tY1-1pauPzHKRRLgpABkmYiIV_og9jAvoIxQ8L3Smrwe04Lw"; // get from https://dashboard.web3auth.io // Instantiate SDK const web3AuthOptions: Web3AuthOptions = { clie...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/firebase-jwt-example/src/index.tsx
custom-authentication/single-connection/firebase-jwt-example/src/index.tsx
import "./index.css"; import ReactDOM from "react-dom/client"; // Setup Web3Auth Provider import { Web3AuthProvider } from "@web3auth/modal/react"; import web3AuthContextConfig from "./web3authContext"; // Setup Wagmi Provider import { WagmiProvider } from "@web3auth/modal/react/wagmi"; import { QueryClient, QueryClie...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/firebase-jwt-example/src/vite-env.d.ts
custom-authentication/single-connection/firebase-jwt-example/src/vite-env.d.ts
/// <reference types="vite/client" />
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/firebase-jwt-example/src/components/sendTransaction.tsx
custom-authentication/single-connection/firebase-jwt-example/src/components/sendTransaction.tsx
import { FormEvent } from "react"; import { useWaitForTransactionReceipt, useSendTransaction, BaseError } from "wagmi"; import { Hex, parseEther } from "viem"; export function SendTransaction() { const { data: hash, error, isPending, sendTransaction } = useSendTransaction() async function submit(e: FormEvent<HTML...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/firebase-jwt-example/src/components/getBalance.tsx
custom-authentication/single-connection/firebase-jwt-example/src/components/getBalance.tsx
import { useAccount, useBalance } from "wagmi"; import { formatUnits } from "viem"; export function Balance() { const { address } = useAccount() const { data, isLoading, error } = useBalance({ address }) return ( <div> <h2>Balance</h2> <div>{data?.value !== undefined && `${formatUnits(data.valu...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/firebase-jwt-example/src/components/switchNetwork.tsx
custom-authentication/single-connection/firebase-jwt-example/src/components/switchNetwork.tsx
import { useChainId, useSwitchChain } from 'wagmi' export function SwitchChain() { const chainId = useChainId() const { chains, switchChain, error } = useSwitchChain() return ( <div> <h2>Switch Chain</h2> <h3>Connected to {chainId}</h3> {chains.map((chain) => ( <button di...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/cognito-implicit-example/vite.config.ts
custom-authentication/single-connection/cognito-implicit-example/vite.config.ts
/* eslint-disable import/no-extraneous-dependencies */ import react from "@vitejs/plugin-react"; import { defineConfig } from "vite"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], server: { port: 3000, }, // alias are only to be added when absolutely necessary, these modul...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/cognito-implicit-example/src/App.tsx
custom-authentication/single-connection/cognito-implicit-example/src/App.tsx
/* eslint-disable no-console */ import "./App.css"; import { useEnableMFA, useManageMFA, useWeb3AuthConnect, useWeb3AuthDisconnect, useWeb3AuthUser } from "@web3auth/modal/react"; import { WALLET_CONNECTORS, AUTH_CONNECTION } from "@web3auth/modal"; import { useAccount } from "wagmi"; import { SendTransaction } from "....
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/cognito-implicit-example/src/web3authContext.tsx
custom-authentication/single-connection/cognito-implicit-example/src/web3authContext.tsx
import { WEB3AUTH_NETWORK, type Web3AuthOptions } from "@web3auth/modal"; // Dashboard Registration const clientId = "BHgArYmWwSeq21czpcarYh0EVq2WWOzflX-NTK-tY1-1pauPzHKRRLgpABkmYiIV_og9jAvoIxQ8L3Smrwe04Lw"; // get from https://dashboard.web3auth.io // Instantiate SDK const web3AuthOptions: Web3AuthOptions = { clie...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/cognito-implicit-example/src/index.tsx
custom-authentication/single-connection/cognito-implicit-example/src/index.tsx
import "./index.css"; import ReactDOM from "react-dom/client"; // Setup Web3Auth Provider import { Web3AuthProvider } from "@web3auth/modal/react"; import web3AuthContextConfig from "./web3authContext"; // Setup Wagmi Provider import { WagmiProvider } from "@web3auth/modal/react/wagmi"; import { QueryClient, QueryClie...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/cognito-implicit-example/src/vite-env.d.ts
custom-authentication/single-connection/cognito-implicit-example/src/vite-env.d.ts
/// <reference types="vite/client" />
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/cognito-implicit-example/src/components/sendTransaction.tsx
custom-authentication/single-connection/cognito-implicit-example/src/components/sendTransaction.tsx
import { FormEvent } from "react"; import { useWaitForTransactionReceipt, useSendTransaction, BaseError } from "wagmi"; import { Hex, parseEther } from "viem"; export function SendTransaction() { const { data: hash, error, isPending, sendTransaction } = useSendTransaction() async function submit(e: FormEvent<HTML...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/cognito-implicit-example/src/components/getBalance.tsx
custom-authentication/single-connection/cognito-implicit-example/src/components/getBalance.tsx
import { useAccount, useBalance } from "wagmi"; import { formatUnits } from "viem"; export function Balance() { const { address } = useAccount() const { data, isLoading, error } = useBalance({ address }) return ( <div> <h2>Balance</h2> <div>{data?.value !== undefined && `${formatUnits(data.valu...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/single-connection/cognito-implicit-example/src/components/switchNetwork.tsx
custom-authentication/single-connection/cognito-implicit-example/src/components/switchNetwork.tsx
import { useChainId, useSwitchChain } from 'wagmi' export function SwitchChain() { const chainId = useChainId() const { chains, switchChain, error } = useSwitchChain() return ( <div> <h2>Switch Chain</h2> <h3>Connected to {chainId}</h3> {chains.map((chain) => ( <button di...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/auth0-google-implicit-grouped-example/vite.config.ts
custom-authentication/grouped-connection/auth0-google-implicit-grouped-example/vite.config.ts
/* eslint-disable import/no-extraneous-dependencies */ import react from "@vitejs/plugin-react"; import { defineConfig } from "vite"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], // alias are only to be added when absolutely necessary, these modules are already present in the bro...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/auth0-google-implicit-grouped-example/src/App.tsx
custom-authentication/grouped-connection/auth0-google-implicit-grouped-example/src/App.tsx
import "./App.css"; import { useWeb3AuthConnect, useWeb3AuthDisconnect, useWeb3AuthUser} from "@web3auth/modal/react"; import { WALLET_CONNECTORS, AUTH_CONNECTION } from "@web3auth/modal"; import { useAccount } from "wagmi"; import { SendTransaction } from "./components/sendTransaction"; import { Balance } from "./comp...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/auth0-google-implicit-grouped-example/src/web3authContext.tsx
custom-authentication/grouped-connection/auth0-google-implicit-grouped-example/src/web3authContext.tsx
import { WEB3AUTH_NETWORK, type Web3AuthOptions } from "@web3auth/modal"; // Dashboard Registration const clientId = "BHgArYmWwSeq21czpcarYh0EVq2WWOzflX-NTK-tY1-1pauPzHKRRLgpABkmYiIV_og9jAvoIxQ8L3Smrwe04Lw"; // get from https://dashboard.web3auth.io // Instantiate SDK const web3AuthOptions: Web3AuthOptions = { cli...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/auth0-google-implicit-grouped-example/src/index.tsx
custom-authentication/grouped-connection/auth0-google-implicit-grouped-example/src/index.tsx
import "./index.css"; import ReactDOM from "react-dom/client"; // Setup Web3Auth Provider import { Web3AuthProvider } from "@web3auth/modal/react"; import web3AuthContextConfig from "./web3authContext"; // Setup Wagmi Provider import { WagmiProvider } from "@web3auth/modal/react/wagmi"; import { QueryClient, QueryClie...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/auth0-google-implicit-grouped-example/src/vite-env.d.ts
custom-authentication/grouped-connection/auth0-google-implicit-grouped-example/src/vite-env.d.ts
/// <reference types="vite/client" />
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/auth0-google-implicit-grouped-example/src/components/sendTransaction.tsx
custom-authentication/grouped-connection/auth0-google-implicit-grouped-example/src/components/sendTransaction.tsx
import { FormEvent } from "react"; import { useWaitForTransactionReceipt, useSendTransaction, BaseError } from "wagmi"; import { Hex, parseEther } from "viem"; export function SendTransaction() { const { data: hash, error, isPending, sendTransaction } = useSendTransaction() async function submit(e: FormEvent<HTML...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/auth0-google-implicit-grouped-example/src/components/getBalance.tsx
custom-authentication/grouped-connection/auth0-google-implicit-grouped-example/src/components/getBalance.tsx
import { useAccount, useBalance } from "wagmi"; import { formatUnits } from "viem"; export function Balance() { const { address } = useAccount() const { data, isLoading, error } = useBalance({ address }) return ( <div> <h2>Balance</h2> <div>{data?.value !== undefined && `${formatUnits(data.valu...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/auth0-google-implicit-grouped-example/src/components/switchNetwork.tsx
custom-authentication/grouped-connection/auth0-google-implicit-grouped-example/src/components/switchNetwork.tsx
import { useChainId, useSwitchChain } from 'wagmi' export function SwitchChain() { const chainId = useChainId() const { chains, switchChain, error } = useSwitchChain() return ( <div> <h2>Switch Chain</h2> <h3>Connected to {chainId}</h3> {chains.map((chain) => ( <button di...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/modal-google-email-passwordless-grouped-example/vite.config.ts
custom-authentication/grouped-connection/modal-google-email-passwordless-grouped-example/vite.config.ts
/* eslint-disable import/no-extraneous-dependencies */ import react from "@vitejs/plugin-react"; import { defineConfig } from "vite"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], // alias are only to be added when absolutely necessary, these modules are already present in the bro...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/modal-google-email-passwordless-grouped-example/src/App.tsx
custom-authentication/grouped-connection/modal-google-email-passwordless-grouped-example/src/App.tsx
import "./App.css"; import { useWeb3AuthConnect, useWeb3AuthDisconnect, useWeb3AuthUser } from "@web3auth/modal/react"; import { useAccount } from "wagmi"; import { SendTransaction } from "./components/sendTransaction"; import { Balance } from "./components/getBalance"; import { SwitchChain } from "./components/switchN...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/modal-google-email-passwordless-grouped-example/src/web3authContext.tsx
custom-authentication/grouped-connection/modal-google-email-passwordless-grouped-example/src/web3authContext.tsx
// IMP START - Quick Start import { AUTH_CONNECTION, WALLET_CONNECTORS, WEB3AUTH_NETWORK } from "@web3auth/modal"; import { type Web3AuthContextConfig } from "@web3auth/modal/react"; // IMP END - Quick Start // IMP START - Dashboard Registration const clientId = "BHgArYmWwSeq21czpcarYh0EVq2WWOzflX-NTK-tY1-1pauPzHKRRLg...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/modal-google-email-passwordless-grouped-example/src/main.tsx
custom-authentication/grouped-connection/modal-google-email-passwordless-grouped-example/src/main.tsx
import "./index.css"; import ReactDOM from "react-dom/client"; // IMP START - Setup Web3Auth Provider import { Web3AuthProvider } from "@web3auth/modal/react"; import web3AuthContextConfig from "./web3authContext"; // IMP END - Setup Web3Auth Provider // IMP START - Setup Wagmi Provider import { WagmiProvider } from "...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/modal-google-email-passwordless-grouped-example/src/vite-env.d.ts
custom-authentication/grouped-connection/modal-google-email-passwordless-grouped-example/src/vite-env.d.ts
/// <reference types="vite/client" />
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/modal-google-email-passwordless-grouped-example/src/components/sendTransaction.tsx
custom-authentication/grouped-connection/modal-google-email-passwordless-grouped-example/src/components/sendTransaction.tsx
import { FormEvent } from "react"; import { useWaitForTransactionReceipt, useSendTransaction, BaseError } from "wagmi"; import { Hex, parseEther } from "viem"; export function SendTransaction() { const { data: hash, error, isPending, sendTransaction } = useSendTransaction() async function submit(e: FormEvent<HTML...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/modal-google-email-passwordless-grouped-example/src/components/getBalance.tsx
custom-authentication/grouped-connection/modal-google-email-passwordless-grouped-example/src/components/getBalance.tsx
import { useAccount, useBalance } from "wagmi"; import { formatUnits } from "viem"; export function Balance() { const { address } = useAccount() const { data, isLoading, error } = useBalance({ address }) return ( <div> <h2>Balance</h2> <div>{data?.value !== undefined && `${formatUnits(data.valu...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/modal-google-email-passwordless-grouped-example/src/components/switchNetwork.tsx
custom-authentication/grouped-connection/modal-google-email-passwordless-grouped-example/src/components/switchNetwork.tsx
import { useChainId, useSwitchChain } from 'wagmi' export function SwitchChain() { const chainId = useChainId() const { chains, switchChain, error } = useSwitchChain() return ( <div> <h2>Switch Chain</h2> <h3>Connected to {chainId}</h3> {chains.map((chain) => ( <button di...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/firebase-google-jwt-grouped-example/vite.config.ts
custom-authentication/grouped-connection/firebase-google-jwt-grouped-example/vite.config.ts
/* eslint-disable import/no-extraneous-dependencies */ import react from "@vitejs/plugin-react"; import { defineConfig } from "vite"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], // alias are only to be added when absolutely necessary, these modules are already present in the bro...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/firebase-google-jwt-grouped-example/src/App.tsx
custom-authentication/grouped-connection/firebase-google-jwt-grouped-example/src/App.tsx
import "./App.css"; import { useWeb3AuthConnect, useWeb3AuthDisconnect, useWeb3AuthUser } from "@web3auth/modal/react"; import { WALLET_CONNECTORS, AUTH_CONNECTION } from "@web3auth/modal"; import { initializeApp } from "firebase/app"; import { GithubAuthProvider, getAuth, signInWithPopup } from "firebase/auth"; import...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/firebase-google-jwt-grouped-example/src/web3authContext.tsx
custom-authentication/grouped-connection/firebase-google-jwt-grouped-example/src/web3authContext.tsx
import { WEB3AUTH_NETWORK, type Web3AuthOptions } from "@web3auth/modal"; // Dashboard Registration const clientId = "BHgArYmWwSeq21czpcarYh0EVq2WWOzflX-NTK-tY1-1pauPzHKRRLgpABkmYiIV_og9jAvoIxQ8L3Smrwe04Lw"; // get from https://dashboard.web3auth.io // Instantiate SDK const web3AuthOptions: Web3AuthOptions = { cli...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/firebase-google-jwt-grouped-example/src/index.tsx
custom-authentication/grouped-connection/firebase-google-jwt-grouped-example/src/index.tsx
import "./index.css"; import ReactDOM from "react-dom/client"; // Setup Web3Auth Provider import { Web3AuthProvider } from "@web3auth/modal/react"; import web3AuthContextConfig from "./web3authContext"; // Setup Wagmi Provider import { WagmiProvider } from "@web3auth/modal/react/wagmi"; import { QueryClient, QueryClie...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/firebase-google-jwt-grouped-example/src/vite-env.d.ts
custom-authentication/grouped-connection/firebase-google-jwt-grouped-example/src/vite-env.d.ts
/// <reference types="vite/client" />
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/firebase-google-jwt-grouped-example/src/components/sendTransaction.tsx
custom-authentication/grouped-connection/firebase-google-jwt-grouped-example/src/components/sendTransaction.tsx
import { FormEvent } from "react"; import { useWaitForTransactionReceipt, useSendTransaction, BaseError } from "wagmi"; import { Hex, parseEther } from "viem"; export function SendTransaction() { const { data: hash, error, isPending, sendTransaction } = useSendTransaction() async function submit(e: FormEvent<HTML...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/firebase-google-jwt-grouped-example/src/components/getBalance.tsx
custom-authentication/grouped-connection/firebase-google-jwt-grouped-example/src/components/getBalance.tsx
import { useAccount, useBalance } from "wagmi"; export function Balance() { const { address } = useAccount(); const { data } = useBalance({ address, }); return ( <div className="flex-container"> <div> <button className="card"> Get Balance: {data?.formatted} {data?.symbol} ...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/firebase-google-jwt-grouped-example/src/components/switchNetwork.tsx
custom-authentication/grouped-connection/firebase-google-jwt-grouped-example/src/components/switchNetwork.tsx
import { useSwitchChain } from "wagmi"; export function SwitchChain() { const { chains, switchChain } = useSwitchChain(); return ( <div className="flex-container"> {chains.map((chain) => ( <div key={chain.id}> <button onClick={() => switchChain({ chainId: chain.id })} ...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/auth0-google-jwt-grouped-example/vite.config.ts
custom-authentication/grouped-connection/auth0-google-jwt-grouped-example/vite.config.ts
/* eslint-disable import/no-extraneous-dependencies */ import react from "@vitejs/plugin-react"; import { defineConfig } from "vite"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], // alias are only to be added when absolutely necessary, these modules are already present in the bro...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/auth0-google-jwt-grouped-example/src/App.tsx
custom-authentication/grouped-connection/auth0-google-jwt-grouped-example/src/App.tsx
import "./App.css"; import { useWeb3AuthConnect, useWeb3AuthDisconnect, useWeb3AuthUser} from "@web3auth/modal/react"; import { WALLET_CONNECTORS, AUTH_CONNECTION } from "@web3auth/modal"; import { useAccount } from "wagmi"; import { SendTransaction } from "./components/sendTransaction"; import { Balance } from "./comp...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/auth0-google-jwt-grouped-example/src/web3authContext.tsx
custom-authentication/grouped-connection/auth0-google-jwt-grouped-example/src/web3authContext.tsx
import { WEB3AUTH_NETWORK, type Web3AuthOptions } from "@web3auth/modal"; // Dashboard Registration const clientId = "BHgArYmWwSeq21czpcarYh0EVq2WWOzflX-NTK-tY1-1pauPzHKRRLgpABkmYiIV_og9jAvoIxQ8L3Smrwe04Lw"; // get from https://dashboard.web3auth.io // Instantiate SDK const web3AuthOptions: Web3AuthOptions = { cli...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false
Web3Auth/web3auth-examples
https://github.com/Web3Auth/web3auth-examples/blob/7cf44e9b226676781496f9274d56c70bfedde4bd/custom-authentication/grouped-connection/auth0-google-jwt-grouped-example/src/index.tsx
custom-authentication/grouped-connection/auth0-google-jwt-grouped-example/src/index.tsx
import "./index.css"; import ReactDOM from "react-dom/client"; // Setup Web3Auth Provider import { Web3AuthProvider } from "@web3auth/modal/react"; import web3AuthContextConfig from "./web3authContext"; // Setup Wagmi Provider import { WagmiProvider } from "@web3auth/modal/react/wagmi"; import { QueryClient, QueryClie...
typescript
MIT
7cf44e9b226676781496f9274d56c70bfedde4bd
2026-01-05T04:59:52.308622Z
false