-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
115 changed files
with
5,901 additions
and
3,874 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
apps/laboratory/public/.well-known/apple-app-site-association
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"applinks": { | ||
"apps": [], | ||
"details": [ | ||
{ | ||
"appID": "W5R8AG9K22.com.walletconnect.dapp", | ||
"paths": ["/dapp*"] | ||
}, | ||
{ | ||
"appID": "W5R8AG9K22.com.walletconnect.walletapp", | ||
"paths": ["/wallet*"] | ||
}, | ||
{ | ||
"appID": "W5R8AG9K22.com.walletconnect.universal-link-test", | ||
"paths": ["/test*"] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import { createWeb3Modal, defaultConfig } from '@web3modal/ethers/react' | ||
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 { siweConfig } from '../../utils/SiweUtils' | ||
import { SiweData } from '../../components/Siwe/SiweData' | ||
|
||
const modal = createWeb3Modal({ | ||
ethersConfig: defaultConfig({ | ||
metadata: ConstantsUtil.Metadata, | ||
defaultChainId: 1, | ||
rpcUrl: 'https://cloudflare-eth.com', | ||
enableEmail: true | ||
}), | ||
chains: EthersConstants.chains, | ||
projectId: ConstantsUtil.ProjectId, | ||
enableAnalytics: true, | ||
metadata: ConstantsUtil.Metadata, | ||
termsConditionsUrl: 'https://walletconnect.com/terms', | ||
privacyPolicyUrl: 'https://walletconnect.com/privacy', | ||
siweConfig, | ||
enableOnramp: true, | ||
customWallets: ConstantsUtil.CustomWallets, | ||
enableWalletFeatures: true | ||
}) | ||
|
||
ThemeStore.setModal(modal) | ||
|
||
export default function Ethers() { | ||
return ( | ||
<> | ||
<Web3ModalButtons /> | ||
<SiweData /> | ||
<EthersTests /> | ||
</> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import { createWeb3Modal } from '@web3modal/wagmi/react' | ||
import { defaultWagmiConfig } from '@web3modal/wagmi/react/config' | ||
import { QueryClient, QueryClientProvider } from '@tanstack/react-query' | ||
import { useEffect, useState } from 'react' | ||
import { WagmiProvider } from 'wagmi' | ||
import { Web3ModalButtons } from '../../components/Web3ModalButtons' | ||
import { WagmiTests } from '../../components/Wagmi/WagmiTests' | ||
import { ThemeStore } from '../../utils/StoreUtil' | ||
import { WagmiConstantsUtil } from '../../utils/WagmiConstants' | ||
import { ConstantsUtil } from '../../utils/ConstantsUtil' | ||
import { SiweData } from '../../components/Siwe/SiweData' | ||
import { siweConfig } from '../../utils/SiweUtils' | ||
|
||
const queryClient = new QueryClient() | ||
|
||
export const wagmiConfig = defaultWagmiConfig({ | ||
chains: WagmiConstantsUtil.chains, | ||
projectId: ConstantsUtil.ProjectId, | ||
metadata: ConstantsUtil.Metadata, | ||
enableEmail: true, | ||
ssr: true | ||
}) | ||
|
||
const modal = createWeb3Modal({ | ||
wagmiConfig, | ||
projectId: ConstantsUtil.ProjectId, | ||
enableAnalytics: true, | ||
metadata: ConstantsUtil.Metadata, | ||
termsConditionsUrl: 'https://walletconnect.com/terms', | ||
privacyPolicyUrl: 'https://walletconnect.com/privacy', | ||
siweConfig, | ||
enableOnramp: true, | ||
customWallets: ConstantsUtil.CustomWallets, | ||
enableWalletFeatures: true | ||
}) | ||
|
||
ThemeStore.setModal(modal) | ||
|
||
export default function Wagmi() { | ||
const [ready, setReady] = useState(false) | ||
|
||
useEffect(() => { | ||
setReady(true) | ||
}, []) | ||
|
||
return ready ? ( | ||
<WagmiProvider config={wagmiConfig}> | ||
<QueryClientProvider client={queryClient}> | ||
<Web3ModalButtons /> | ||
<SiweData /> | ||
<WagmiTests /> | ||
</QueryClientProvider> | ||
</WagmiProvider> | ||
) : null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { test as base } from '@playwright/test' | ||
|
||
export type TimingRecords = { item: string; timeMs: number }[] | ||
|
||
export interface TimingFixture { | ||
timingRecords: TimingRecords | ||
} | ||
|
||
export const timingFixture = base.extend<TimingFixture>({ | ||
timingRecords: [] | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.