diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index c5d34d434b..ff200f0c81 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,5 +1,5 @@ name: "\U0001F64B Feature Request" -description: 'Want us to add something to Web3Modal?' +description: 'Want us to add something to AppKit?' title: '[feature] ' labels: ['feature-request', 'needs review'] body: diff --git a/apps/demo/app/layout.tsx b/apps/demo/app/layout.tsx index 9e45c7f72f..0580180f96 100644 --- a/apps/demo/app/layout.tsx +++ b/apps/demo/app/layout.tsx @@ -1,7 +1,7 @@ import type { Metadata } from 'next' import localFont from 'next/font/local' import '@/styles/globals.css' -import Web3ModalProvider from '@/context/Web3Modal' +import AppKitProvider from '@/context/AppKit' const abcDiatype = localFont({ src: [ @@ -18,12 +18,12 @@ const abcDiatype = localFont({ }) export const metadata: Metadata = { - title: 'Web3Modal | Demo', + title: 'AppKit | Demo', description: - 'Web3Modal is an elegantly simple yet powerful library that helps you manage your multi-chain wallet connection flows, all in one place.', + 'AppKit is an elegantly simple yet powerful library that helps you manage your multi-chain wallet connection flows, all in one place.', openGraph: { description: - 'Your on-ramp to web3 multichain. Web3Modal is a versatile library that makes it super easy to connect users with your Dapp and start interacting with the blockchain.' + 'Your on-ramp to web3 multichain. AppKit is a versatile library that makes it super easy to connect users with your Dapp and start interacting with the blockchain.' } } @@ -35,7 +35,7 @@ export default function RootLayout({ return ( - {children} + {children} ) diff --git a/apps/demo/app/page.tsx b/apps/demo/app/page.tsx index 8f19126401..169bce3385 100644 --- a/apps/demo/app/page.tsx +++ b/apps/demo/app/page.tsx @@ -8,7 +8,7 @@ import { motion } from 'framer-motion' import { VARIANTS } from '@/utils/constants' export default function Home() { - // Web3Modal Demo + // AppKit Demo return (
- Build Your Own Web3Modal + Build Your Own AppKit Modify the configuration to suit your needs. You can copy the config and use it in your diff --git a/apps/demo/components/NavSection.tsx b/apps/demo/components/NavSection.tsx index fb3edadf90..8f4e5afa00 100644 --- a/apps/demo/components/NavSection.tsx +++ b/apps/demo/components/NavSection.tsx @@ -12,12 +12,12 @@ export default function NavSection() { Web3Modal Logo - Web3Modal + AppKit ) diff --git a/apps/demo/components/ViewSection.tsx b/apps/demo/components/ViewSection.tsx index e05348625b..0e9e4894b1 100644 --- a/apps/demo/components/ViewSection.tsx +++ b/apps/demo/components/ViewSection.tsx @@ -13,7 +13,7 @@ export default function ViewSection() { variants={VARIANTS} className="bg-white relative h-[36rem] w-96 grid place-items-center rounded-3xl text-xl shadow-slate-900/5 shadow-lg border-slate-200 border text-center p-8" > -

Hopefully Web3Modal here lol

+

Hopefully AppKit here lol

Email: diff --git a/apps/demo/context/AppKit.tsx b/apps/demo/context/AppKit.tsx new file mode 100644 index 0000000000..0f69e1ee96 --- /dev/null +++ b/apps/demo/context/AppKit.tsx @@ -0,0 +1,7 @@ +'use client' + +import React from 'react' + +export default function AppKitProvider({ children }: { children: React.ReactNode }) { + return <>{children} +} diff --git a/apps/demo/context/Web3Modal.tsx b/apps/demo/context/Web3Modal.tsx deleted file mode 100644 index 69c5cea439..0000000000 --- a/apps/demo/context/Web3Modal.tsx +++ /dev/null @@ -1,7 +0,0 @@ -'use client' - -import React from 'react' - -export default function Web3ModalProvider({ children }: { children: React.ReactNode }) { - return <>{children} -} diff --git a/apps/laboratory/.env.example b/apps/laboratory/.env.example index 573f63cd00..dd04c0d275 100644 --- a/apps/laboratory/.env.example +++ b/apps/laboratory/.env.example @@ -2,7 +2,7 @@ NEXT_PUBLIC_PROJECT_ID="" # See 1password for `NEXT_AUTH_SECRET` NEXTAUTH_SECRET="" -# See 1password for `Mailsac Web3Modal API Key` +# See 1password for `Mailsac AppKit API Key` MAILSAC_API_KEY="" # Only needed when overriding default next-auth URL # NEXTAUTH_URL="" diff --git a/apps/laboratory/src/components/Web3ModalButtons.tsx b/apps/laboratory/src/components/AppKitButtons.tsx similarity index 87% rename from apps/laboratory/src/components/Web3ModalButtons.tsx rename to apps/laboratory/src/components/AppKitButtons.tsx index 8ab100672b..18f65b3627 100644 --- a/apps/laboratory/src/components/Web3ModalButtons.tsx +++ b/apps/laboratory/src/components/AppKitButtons.tsx @@ -1,10 +1,10 @@ import { Stack, Card, CardHeader, Heading, CardBody, Box, StackDivider } from '@chakra-ui/react' -export function Web3ModalButtons() { +export function AppKitButtons() { return ( - Web3Modal Interactions + AppKit Interactions diff --git a/apps/laboratory/src/components/Web3ModalInfo.tsx b/apps/laboratory/src/components/AppKitInfo.tsx similarity index 91% rename from apps/laboratory/src/components/Web3ModalInfo.tsx rename to apps/laboratory/src/components/AppKitInfo.tsx index 5768e355c1..9df8a5598e 100644 --- a/apps/laboratory/src/components/Web3ModalInfo.tsx +++ b/apps/laboratory/src/components/AppKitInfo.tsx @@ -11,13 +11,13 @@ import { Text } from '@chakra-ui/react' -type Web3ModalInfoProps = { +type AppKitInfoProps = { address?: string chainId?: number clientId: string | null } -export function Web3ModalInfo({ address, chainId, clientId }: Web3ModalInfoProps) { +export function AppKitInfo({ address, chainId, clientId }: AppKitInfoProps) { return ( diff --git a/apps/laboratory/src/components/Ethers/EthersModalInfo.tsx b/apps/laboratory/src/components/Ethers/EthersModalInfo.tsx index 158085b607..6b3e80b5ad 100644 --- a/apps/laboratory/src/components/Ethers/EthersModalInfo.tsx +++ b/apps/laboratory/src/components/Ethers/EthersModalInfo.tsx @@ -2,7 +2,7 @@ import * as React from 'react' import { useWeb3ModalAccount, useWeb3ModalProvider } from '@web3modal/ethers/react' import EthereumProvider from '@walletconnect/ethereum-provider' -import { Web3ModalInfo } from '../Web3ModalInfo' +import { AppKitInfo } from '../AppKitInfo' export function EthersModalInfo() { const { isConnected, address, chainId } = useWeb3ModalAccount() @@ -28,6 +28,6 @@ export function EthersModalInfo() { }, []) return ready && isConnected ? ( - + ) : null } diff --git a/apps/laboratory/src/components/Wagmi/WagmiModalInfo.tsx b/apps/laboratory/src/components/Wagmi/WagmiModalInfo.tsx index 7a7063f005..02b1092301 100644 --- a/apps/laboratory/src/components/Wagmi/WagmiModalInfo.tsx +++ b/apps/laboratory/src/components/Wagmi/WagmiModalInfo.tsx @@ -2,7 +2,7 @@ import * as React from 'react' import EthereumProvider from '@walletconnect/ethereum-provider' import { useAccount } from 'wagmi' -import { Web3ModalInfo } from '../Web3ModalInfo' +import { AppKitInfo } from '../AppKitInfo' export function WagmiModalInfo() { const { isConnected, address, chainId, connector } = useAccount() @@ -23,7 +23,5 @@ export function WagmiModalInfo() { getClientId().then(setClientId) }, [connector]) - return isConnected ? ( - - ) : null + return isConnected ? : null } diff --git a/apps/laboratory/src/components/Wagmi/WagmiSignMessageTest.tsx b/apps/laboratory/src/components/Wagmi/WagmiSignMessageTest.tsx index 1f33ae7963..bb7e39db79 100644 --- a/apps/laboratory/src/components/Wagmi/WagmiSignMessageTest.tsx +++ b/apps/laboratory/src/components/Wagmi/WagmiSignMessageTest.tsx @@ -13,7 +13,7 @@ export function WagmiSignMessageTest() { async function onSignMessage() { try { - const sig = await signMessageAsync({ message: 'Hello Web3Modal!' }) + const sig = await signMessageAsync({ message: 'Hello AppKit!' }) setSignature(sig) toast({ title: ConstantsUtil.SigningSucceededToastTitle, diff --git a/apps/laboratory/src/pages/library/ethers-all-internal.tsx b/apps/laboratory/src/pages/library/ethers-all-internal.tsx index 73b790d802..dc2ce94568 100644 --- a/apps/laboratory/src/pages/library/ethers-all-internal.tsx +++ b/apps/laboratory/src/pages/library/ethers-all-internal.tsx @@ -3,7 +3,7 @@ import { ThemeStore } from '../../utils/StoreUtil' import { EthersConstants } from '../../utils/EthersConstants' import { ConstantsUtil } from '../../utils/ConstantsUtil' import { EthersTests } from '../../components/Ethers/EthersTests' -import { Web3ModalButtons } from '../../components/Web3ModalButtons' +import { AppKitButtons } from '../../components/AppKitButtons' import { siweConfig } from '../../utils/SiweUtils' import { SiweData } from '../../components/Siwe/SiweData' import { EthersModalInfo } from '../../components/Ethers/EthersModalInfo' @@ -32,7 +32,7 @@ ThemeStore.setModal(modal) export default function Ethers() { return ( <> - + diff --git a/apps/laboratory/src/pages/library/ethers-all.tsx b/apps/laboratory/src/pages/library/ethers-all.tsx index ea07cfc9e6..57ffcaf707 100644 --- a/apps/laboratory/src/pages/library/ethers-all.tsx +++ b/apps/laboratory/src/pages/library/ethers-all.tsx @@ -3,7 +3,7 @@ import { ThemeStore } from '../../utils/StoreUtil' import { EthersConstants } from '../../utils/EthersConstants' import { ConstantsUtil } from '../../utils/ConstantsUtil' import { EthersTests } from '../../components/Ethers/EthersTests' -import { Web3ModalButtons } from '../../components/Web3ModalButtons' +import { AppKitButtons } from '../../components/AppKitButtons' import { siweConfig } from '../../utils/SiweUtils' import { SiweData } from '../../components/Siwe/SiweData' import { EthersModalInfo } from '../../components/Ethers/EthersModalInfo' @@ -31,7 +31,7 @@ ThemeStore.setModal(modal) export default function Ethers() { return ( <> - + diff --git a/apps/laboratory/src/pages/library/ethers-email.tsx b/apps/laboratory/src/pages/library/ethers-email.tsx index a3db246135..ad5272fbd1 100644 --- a/apps/laboratory/src/pages/library/ethers-email.tsx +++ b/apps/laboratory/src/pages/library/ethers-email.tsx @@ -3,7 +3,7 @@ import { ThemeStore } from '../../utils/StoreUtil' import { EthersConstants } from '../../utils/EthersConstants' import { ConstantsUtil } from '../../utils/ConstantsUtil' import { EthersTests } from '../../components/Ethers/EthersTests' -import { Web3ModalButtons } from '../../components/Web3ModalButtons' +import { AppKitButtons } from '../../components/AppKitButtons' import { EthersModalInfo } from '../../components/Ethers/EthersModalInfo' const modal = createWeb3Modal({ @@ -28,7 +28,7 @@ ThemeStore.setModal(modal) export default function Ethers() { return ( <> - + diff --git a/apps/laboratory/src/pages/library/ethers-siwe.tsx b/apps/laboratory/src/pages/library/ethers-siwe.tsx index 78ecc93f8b..582ed2edee 100644 --- a/apps/laboratory/src/pages/library/ethers-siwe.tsx +++ b/apps/laboratory/src/pages/library/ethers-siwe.tsx @@ -1,6 +1,6 @@ import { SiweData } from '../../components/Siwe/SiweData' import { EthersTests } from '../../components/Ethers/EthersTests' -import { Web3ModalButtons } from '../../components/Web3ModalButtons' +import { AppKitButtons } from '../../components/AppKitButtons' import { createWeb3Modal, defaultConfig } from '@web3modal/ethers/react' import { ThemeStore } from '../../utils/StoreUtil' import { EthersConstants } from '../../utils/EthersConstants' @@ -26,7 +26,7 @@ ThemeStore.setModal(modal) export default function EthersSiwe() { return ( <> - + diff --git a/apps/laboratory/src/pages/library/ethers.tsx b/apps/laboratory/src/pages/library/ethers.tsx index 08ddf1f209..97e76d8371 100644 --- a/apps/laboratory/src/pages/library/ethers.tsx +++ b/apps/laboratory/src/pages/library/ethers.tsx @@ -1,5 +1,5 @@ import { EthersTests } from '../../components/Ethers/EthersTests' -import { Web3ModalButtons } from '../../components/Web3ModalButtons' +import { AppKitButtons } from '../../components/AppKitButtons' import { createWeb3Modal, defaultConfig } from '@web3modal/ethers/react' import { ThemeStore } from '../../utils/StoreUtil' import { EthersConstants } from '../../utils/EthersConstants' @@ -27,7 +27,7 @@ ThemeStore.setModal(modal) export default function Ethers() { return ( <> - + diff --git a/apps/laboratory/src/pages/library/external.tsx b/apps/laboratory/src/pages/library/external.tsx index 3ddd802c93..f19ec5748a 100644 --- a/apps/laboratory/src/pages/library/external.tsx +++ b/apps/laboratory/src/pages/library/external.tsx @@ -2,7 +2,7 @@ import { createWeb3Modal } from '@web3modal/wagmi/react' import { QueryClient, QueryClientProvider } from '@tanstack/react-query' import { useEffect, useState } from 'react' import { WagmiProvider, createConfig, http } from 'wagmi' -import { Web3ModalButtons } from '../../components/Web3ModalButtons' +import { AppKitButtons } from '../../components/AppKitButtons' import { WagmiTests } from '../../components/Wagmi/WagmiTests' import { ThemeStore } from '../../utils/StoreUtil' import { ConstantsUtil } from '../../utils/ConstantsUtil' @@ -44,7 +44,7 @@ export default function Wagmi() { return ready ? ( - + diff --git a/apps/laboratory/src/pages/library/solana.tsx b/apps/laboratory/src/pages/library/solana.tsx index 2d9ad4fe38..137fc71bff 100644 --- a/apps/laboratory/src/pages/library/solana.tsx +++ b/apps/laboratory/src/pages/library/solana.tsx @@ -2,7 +2,7 @@ import { createWeb3Modal, defaultSolanaConfig } from '@web3modal/solana/react' import { ThemeStore } from '../../utils/StoreUtil' import { solana, solanaDevnet, solanaTestnet } from '../../utils/ChainsUtil' -import { Web3ModalButtons } from '../../components/Web3ModalButtons' +import { AppKitButtons } from '../../components/AppKitButtons' import { ConstantsUtil } from '../../utils/ConstantsUtil' import { SolanaTests } from '../../components/Solana/SolanaTests' import { SolflareWalletAdapter } from '@solana/wallet-adapter-wallets' @@ -33,7 +33,7 @@ ThemeStore.setModal(modal) export default function Solana() { return ( <> - + ) diff --git a/apps/laboratory/src/pages/library/wagmi-all-internal.tsx b/apps/laboratory/src/pages/library/wagmi-all-internal.tsx index 5c6c8c21c8..06f551b313 100644 --- a/apps/laboratory/src/pages/library/wagmi-all-internal.tsx +++ b/apps/laboratory/src/pages/library/wagmi-all-internal.tsx @@ -2,7 +2,7 @@ import { createWeb3Modal } from '@web3modal/wagmi/react' import { QueryClient, QueryClientProvider } from '@tanstack/react-query' import { useEffect, useState } from 'react' import { WagmiProvider } from 'wagmi' -import { Web3ModalButtons } from '../../components/Web3ModalButtons' +import { AppKitButtons } from '../../components/AppKitButtons' import { WagmiTests } from '../../components/Wagmi/WagmiTests' import { ThemeStore } from '../../utils/StoreUtil' import { getWagmiConfig } from '../../utils/WagmiConstants' @@ -38,7 +38,7 @@ export default function Wagmi() { return ready ? ( - + diff --git a/apps/laboratory/src/pages/library/wagmi-all.tsx b/apps/laboratory/src/pages/library/wagmi-all.tsx index a03bc0163f..7e2c5a4ab8 100644 --- a/apps/laboratory/src/pages/library/wagmi-all.tsx +++ b/apps/laboratory/src/pages/library/wagmi-all.tsx @@ -2,7 +2,7 @@ import { createWeb3Modal } from '@web3modal/wagmi/react' import { QueryClient, QueryClientProvider } from '@tanstack/react-query' import { useEffect, useState } from 'react' import { WagmiProvider } from 'wagmi' -import { Web3ModalButtons } from '../../components/Web3ModalButtons' +import { AppKitButtons } from '../../components/AppKitButtons' import { WagmiTests } from '../../components/Wagmi/WagmiTests' import { ThemeStore } from '../../utils/StoreUtil' import { getWagmiConfig } from '../../utils/WagmiConstants' @@ -37,7 +37,7 @@ export default function Wagmi() { return ready ? ( - + diff --git a/apps/laboratory/src/pages/library/wagmi-email.tsx b/apps/laboratory/src/pages/library/wagmi-email.tsx index a234c2ef9f..e8ab06e034 100644 --- a/apps/laboratory/src/pages/library/wagmi-email.tsx +++ b/apps/laboratory/src/pages/library/wagmi-email.tsx @@ -2,7 +2,7 @@ import { createWeb3Modal } from '@web3modal/wagmi/react' import { QueryClient, QueryClientProvider } from '@tanstack/react-query' import { useEffect, useState } from 'react' import { WagmiProvider } from 'wagmi' -import { Web3ModalButtons } from '../../components/Web3ModalButtons' +import { AppKitButtons } from '../../components/AppKitButtons' import { WagmiTests } from '../../components/Wagmi/WagmiTests' import { ThemeStore } from '../../utils/StoreUtil' import { ConstantsUtil } from '../../utils/ConstantsUtil' @@ -34,7 +34,7 @@ export default function Wagmi() { return ready ? ( - + diff --git a/apps/laboratory/src/pages/library/wagmi-permissions-async.tsx b/apps/laboratory/src/pages/library/wagmi-permissions-async.tsx index a018ea0ad9..1007d3e578 100644 --- a/apps/laboratory/src/pages/library/wagmi-permissions-async.tsx +++ b/apps/laboratory/src/pages/library/wagmi-permissions-async.tsx @@ -1,7 +1,7 @@ import { createWeb3Modal } from '@web3modal/wagmi/react' import { QueryClient, QueryClientProvider } from '@tanstack/react-query' import { WagmiProvider } from 'wagmi' -import { Web3ModalButtons } from '../../components/Web3ModalButtons' +import { AppKitButtons } from '../../components/AppKitButtons' import { ThemeStore } from '../../utils/StoreUtil' import { ConstantsUtil } from '../../utils/ConstantsUtil' import { getWagmiConfig } from '../../utils/WagmiConstants' @@ -37,7 +37,7 @@ export default function Wagmi() { - + diff --git a/apps/laboratory/src/pages/library/wagmi-permissions-sync.tsx b/apps/laboratory/src/pages/library/wagmi-permissions-sync.tsx index 816a7fe771..e28c634f0c 100644 --- a/apps/laboratory/src/pages/library/wagmi-permissions-sync.tsx +++ b/apps/laboratory/src/pages/library/wagmi-permissions-sync.tsx @@ -1,7 +1,7 @@ import { createWeb3Modal } from '@web3modal/wagmi/react' import { QueryClient, QueryClientProvider } from '@tanstack/react-query' import { WagmiProvider } from 'wagmi' -import { Web3ModalButtons } from '../../components/Web3ModalButtons' +import { AppKitButtons } from '../../components/AppKitButtons' import { ThemeStore } from '../../utils/StoreUtil' import { ConstantsUtil } from '../../utils/ConstantsUtil' import { getWagmiConfig } from '../../utils/WagmiConstants' @@ -37,7 +37,7 @@ export default function Wagmi() { - + diff --git a/apps/laboratory/src/pages/library/wagmi-siwe.tsx b/apps/laboratory/src/pages/library/wagmi-siwe.tsx index 89babcf761..cc7988fbd4 100644 --- a/apps/laboratory/src/pages/library/wagmi-siwe.tsx +++ b/apps/laboratory/src/pages/library/wagmi-siwe.tsx @@ -1,7 +1,7 @@ import { createWeb3Modal } from '@web3modal/wagmi/react' import { QueryClient, QueryClientProvider } from '@tanstack/react-query' import { WagmiProvider } from 'wagmi' -import { Web3ModalButtons } from '../../components/Web3ModalButtons' +import { AppKitButtons } from '../../components/AppKitButtons' import { WagmiTests } from '../../components/Wagmi/WagmiTests' import { ThemeStore } from '../../utils/StoreUtil' import { getWagmiConfig } from '../../utils/WagmiConstants' @@ -28,7 +28,7 @@ export default function Wagmi() { return ( - + diff --git a/apps/laboratory/src/pages/library/wagmi.tsx b/apps/laboratory/src/pages/library/wagmi.tsx index 1fc80d14ff..6e68835c66 100644 --- a/apps/laboratory/src/pages/library/wagmi.tsx +++ b/apps/laboratory/src/pages/library/wagmi.tsx @@ -1,7 +1,7 @@ import { createWeb3Modal } from '@web3modal/wagmi/react' import { QueryClient, QueryClientProvider } from '@tanstack/react-query' import { WagmiProvider } from 'wagmi' -import { Web3ModalButtons } from '../../components/Web3ModalButtons' +import { AppKitButtons } from '../../components/AppKitButtons' import { WagmiTests } from '../../components/Wagmi/WagmiTests' import { ThemeStore } from '../../utils/StoreUtil' import { getWagmiConfig } from '../../utils/WagmiConstants' @@ -28,7 +28,7 @@ export default function Wagmi() { return ( - + diff --git a/apps/laboratory/src/utils/ConnectorUtil.ts b/apps/laboratory/src/utils/ConnectorUtil.ts index 8252133cb2..8169fe9569 100644 --- a/apps/laboratory/src/utils/ConnectorUtil.ts +++ b/apps/laboratory/src/utils/ConnectorUtil.ts @@ -12,7 +12,7 @@ export function externalTestConnector() { return createConnector<() => Record, Properties>(() => ({ id: 'externalTestConnector', - name: 'Web3Modal external', + name: 'AppKit external', type: 'externalTestConnector', async connect(options: ConnectOptions = {}) { diff --git a/apps/laboratory/tests/README.md b/apps/laboratory/tests/README.md index ade11493c6..1c64835d23 100644 --- a/apps/laboratory/tests/README.md +++ b/apps/laboratory/tests/README.md @@ -9,7 +9,7 @@ We use Playwright as our functional test runner. It's configured to try multiple - Make sure your `.env.local` is set up (see `.env.example` for reference) - Run `pnpm playwright:install` to install the browsers required to run the tests -- Build Web3Modal by running `pnpm build` in the root directory +- Build AppKit by running `pnpm build` in the root directory ## Running Tests diff --git a/apps/laboratory/tests/shared/pages/ModalPage.ts b/apps/laboratory/tests/shared/pages/ModalPage.ts index 4a54c1242a..81a02a4a35 100644 --- a/apps/laboratory/tests/shared/pages/ModalPage.ts +++ b/apps/laboratory/tests/shared/pages/ModalPage.ts @@ -230,7 +230,7 @@ export class ModalPage { async signatureRequestFrameShouldVisible(headerText: string) { await expect( this.page.frameLocator('#w3m-iframe').getByText(headerText), - 'Web3Modal iframe should be visible' + 'AppKit iframe should be visible' ).toBeVisible({ timeout: 10000 }) diff --git a/apps/laboratory/tests/shared/validators/ModalValidator.ts b/apps/laboratory/tests/shared/validators/ModalValidator.ts index cbcfa656aa..6bb93323c7 100644 --- a/apps/laboratory/tests/shared/validators/ModalValidator.ts +++ b/apps/laboratory/tests/shared/validators/ModalValidator.ts @@ -96,7 +96,7 @@ export class ModalValidator { async expectValidSignature(signature: `0x${string}`, address: `0x${string}`, chainId: number) { const isVerified = await verifySignature({ address, - message: 'Hello Web3Modal!', + message: 'Hello AppKit!', signature, chainId }) diff --git a/examples/html-ethers5/src/main.js b/examples/html-ethers5/src/main.js index 4bc9706686..5289ad65f8 100644 --- a/examples/html-ethers5/src/main.js +++ b/examples/html-ethers5/src/main.js @@ -30,9 +30,9 @@ const chains = [ const ethersConfig = defaultConfig({ metadata: { - name: 'Web3Modal', - description: 'Web3Modal Laboratory', - url: 'https://web3modal.com', + name: 'AppKit', + description: 'AppKit Laboratory', + url: 'https://example.com', icons: ['https://avatars.githubusercontent.com/u/37784886'] }, defaultChainId: 1 diff --git a/examples/react-ethers/src/App.tsx b/examples/react-ethers/src/App.tsx index ba378f2eb1..3c4731ccff 100644 --- a/examples/react-ethers/src/App.tsx +++ b/examples/react-ethers/src/App.tsx @@ -37,9 +37,9 @@ const chains = [ const ethersConfig = defaultConfig({ metadata: { - name: 'Web3Modal', - description: 'Web3Modal Laboratory', - url: 'https://web3modal.com', + name: 'AppKit', + description: 'AppKit Laboratory', + url: 'https://example.com', icons: ['https://avatars.githubusercontent.com/u/37784886'] }, defaultChainId: 1 diff --git a/examples/react-ethers5/src/App.tsx b/examples/react-ethers5/src/App.tsx index 9fc263631f..bc79c788c2 100644 --- a/examples/react-ethers5/src/App.tsx +++ b/examples/react-ethers5/src/App.tsx @@ -37,9 +37,9 @@ const chains = [ const ethersConfig = defaultConfig({ metadata: { - name: 'Web3Modal', - description: 'Web3Modal Laboratory', - url: 'https://web3modal.com', + name: 'AppKit', + description: 'AppKit Laboratory', + url: 'https://example.com', icons: ['https://avatars.githubusercontent.com/u/37784886'] }, defaultChainId: 1 diff --git a/examples/react-solana/src/App.tsx b/examples/react-solana/src/App.tsx index df4fcb6354..ad59373733 100644 --- a/examples/react-solana/src/App.tsx +++ b/examples/react-solana/src/App.tsx @@ -49,8 +49,8 @@ const solanaConfig = defaultSolanaConfig({ chains: chains, projectId, metadata: { - name: 'Web3Modal React Example', - description: 'Web3Modal React Example', + name: 'AppKit React Example', + description: 'AppKit React Example', url: '', icons: [] } diff --git a/examples/react-wagmi/src/App.tsx b/examples/react-wagmi/src/App.tsx index 3345416d53..b7be969417 100644 --- a/examples/react-wagmi/src/App.tsx +++ b/examples/react-wagmi/src/App.tsx @@ -24,8 +24,8 @@ const wagmiConfig = defaultWagmiConfig({ chains: [mainnet, arbitrum], projectId, metadata: { - name: 'Web3Modal React Example', - description: 'Web3Modal React Example', + name: 'AppKit React Example', + description: 'AppKit React Example', url: '', icons: [] } diff --git a/examples/vue-ethers5/src/App.vue b/examples/vue-ethers5/src/App.vue index 63baaa23d6..2063f2cbdd 100644 --- a/examples/vue-ethers5/src/App.vue +++ b/examples/vue-ethers5/src/App.vue @@ -38,9 +38,9 @@ const chains = [ const ethersConfig = defaultConfig({ metadata: { - name: 'Web3Modal', - description: 'Web3Modal Laboratory', - url: 'https://web3modal.com', + name: 'AppKit', + description: 'AppKit Laboratory', + url: 'https://example.com', icons: ['https://avatars.githubusercontent.com/u/37784886'] }, defaultChainId: 1 diff --git a/examples/vue-solana/src/App.vue b/examples/vue-solana/src/App.vue index b5cf883feb..e64a73e950 100644 --- a/examples/vue-solana/src/App.vue +++ b/examples/vue-solana/src/App.vue @@ -51,8 +51,8 @@ const solanaConfig = defaultSolanaConfig({ chains: chains, projectId, metadata: { - name: 'Web3Modal React Example', - description: 'Web3Modal React Example', + name: 'AppKit React Example', + description: 'AppKit React Example', url: '', icons: [] } diff --git a/examples/vue-wagmi/src/App.vue b/examples/vue-wagmi/src/App.vue index ea88e6cb52..15471e3f42 100644 --- a/examples/vue-wagmi/src/App.vue +++ b/examples/vue-wagmi/src/App.vue @@ -21,8 +21,8 @@ const wagmiConfig = defaultWagmiConfig({ chains, projectId, metadata: { - name: 'Web3Modal Vue Example', - description: 'Web3Modal Vue Example', + name: 'AppKit Vue Example', + description: 'AppKit Vue Example', url: '', icons: [], verifyUrl: '' diff --git a/readme.md b/readme.md index ccb7114e06..e24ebc0ca4 100644 --- a/readme.md +++ b/readme.md @@ -7,9 +7,9 @@ #### 🔗 [Website](https://web3modal.com) -# Web3Modal +# AppKit -Your on-ramp to web3 multichain. Web3Modal is a versatile library that makes it super easy to connect users with your Dapp and start interacting with the blockchain. +Your on-ramp to web3 multichain. AppKit is a versatile library that makes it super easy to connect users with your Dapp and start interacting with the blockchain.