-
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.
Merge branch 'V4' into refactor/loading-state-in-useweb3modalstate-hook
- Loading branch information
Showing
430 changed files
with
27,201 additions
and
7,492 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 was deleted.
Oops, something went wrong.
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,15 @@ | ||
FROM node:20-bookworm | ||
|
||
WORKDIR /src | ||
|
||
COPY ../ ./ | ||
RUN npm ci | ||
RUN npm run build | ||
|
||
WORKDIR ./apps/laboratory/ | ||
|
||
RUN npm run playwright:install | ||
|
||
ENV TIMING_LOGS=true | ||
|
||
CMD ["npm", "run", "playwright:test:canary"] |
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,3 @@ | ||
{ | ||
"extends": ["../../.eslintrc.json"] | ||
} |
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,36 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
.yarn/install-state.gz | ||
|
||
# testing | ||
/coverage | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# local env files | ||
.env*.local | ||
|
||
# vercel | ||
.vercel | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts |
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,102 @@ | ||
# @apps/demo | ||
|
||
## 4.1.9 | ||
|
||
### Patch Changes | ||
|
||
- Blockchain API fix | ||
|
||
- Updated dependencies []: | ||
- @web3modal/wagmi@4.1.9 | ||
|
||
## 4.1.8 | ||
|
||
### Patch Changes | ||
|
||
- Hotfix for redundant tokenbalance calls | ||
|
||
- Updated dependencies []: | ||
- @web3modal/wagmi@4.1.8 | ||
|
||
## 4.1.7 | ||
|
||
### Patch Changes | ||
|
||
- Hotfix for inccorect state of w3m-button when email is enabled | ||
|
||
- Updated dependencies []: | ||
- @web3modal/wagmi@4.1.7 | ||
|
||
## 4.1.6 | ||
|
||
### Patch Changes | ||
|
||
- Fix modal default height. Fix ethers email connection lag. Fix ethers + rc relay disconnect issue. Adds new wui-components for secure site. | ||
|
||
- Updated dependencies []: | ||
- @web3modal/wagmi@4.1.6 | ||
|
||
## 4.1.5 | ||
|
||
### Patch Changes | ||
|
||
- release: v4.1.5 | ||
|
||
- Updated dependencies []: | ||
- @web3modal/wagmi@4.1.5 | ||
|
||
## 4.1.5-93c81127.0 | ||
|
||
### Patch Changes | ||
|
||
- fix: polyfill process in wallet package | ||
|
||
- Updated dependencies []: | ||
- @web3modal/wagmi@4.1.5-93c81127.0 | ||
|
||
## 4.1.4 | ||
|
||
### Patch Changes | ||
|
||
- feat: wallet info hook | ||
|
||
- Updated dependencies []: | ||
- @web3modal/wagmi@4.1.4 | ||
|
||
## 4.1.3 | ||
|
||
### Patch Changes | ||
|
||
- feat: wallet info hook | ||
|
||
- feat: reset version to 4.1.3 | ||
|
||
- Updated dependencies []: | ||
- @web3modal/wagmi@4.1.3 | ||
|
||
## 4.1.3-5f2ae345.1 | ||
|
||
### Patch Changes | ||
|
||
- canary: test imports | ||
|
||
- Updated dependencies []: | ||
- @web3modal/wagmi@4.1.3-5f2ae345.1 | ||
|
||
## 4.1.3-8e039e.0 | ||
|
||
### Patch Changes | ||
|
||
- feat: update optional dependencies | ||
|
||
- Updated dependencies []: | ||
- @web3modal/wagmi@4.1.3-8e039e.0 | ||
|
||
## 4.1.2 | ||
|
||
### Patch Changes | ||
|
||
- 4.1.2 release | ||
|
||
- Updated dependencies []: | ||
- @web3modal/wagmi@4.1.2 |
Binary file not shown.
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,42 @@ | ||
import type { Metadata } from 'next' | ||
import localFont from 'next/font/local' | ||
import '@/styles/globals.css' | ||
import Web3ModalProvider from '@/context/Web3Modal' | ||
|
||
const abcDiatype = localFont({ | ||
src: [ | ||
{ | ||
path: '../public/fonts/ABCDiatype-Regular.woff2', | ||
weight: '400' | ||
}, | ||
{ | ||
path: '../public/fonts/ABCDiatype-Bold.woff2', | ||
weight: '700' | ||
} | ||
], | ||
variable: '--font-abcDiatype' | ||
}) | ||
|
||
export const metadata: Metadata = { | ||
title: 'Web3Modal | Demo', | ||
description: | ||
'Web3Modal 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.' | ||
} | ||
} | ||
|
||
export default function RootLayout({ | ||
children | ||
}: Readonly<{ | ||
children: React.ReactNode | ||
}>) { | ||
return ( | ||
<html lang="en"> | ||
<body className={abcDiatype.className}> | ||
<Web3ModalProvider>{children}</Web3ModalProvider> | ||
</body> | ||
</html> | ||
) | ||
} |
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,35 @@ | ||
'use client' | ||
|
||
import Gradient from '@/components/Gradient' | ||
import ConfigSection from '@/components/ConfigSection' | ||
import ViewSection from '@/components/ViewSection' | ||
import NavSection from '@/components/NavSection' | ||
import { motion } from 'framer-motion' | ||
import { VARIANTS } from '@/utils/constants' | ||
|
||
export default function Home() { | ||
// Web3Modal Demo | ||
return ( | ||
<motion.main | ||
variants={VARIANTS} | ||
initial="initial" | ||
animate="animate" | ||
transition={{ | ||
delayChildren: 0.2, | ||
staggerChildren: 0.4 | ||
}} | ||
className="h-d-screen relative overflow-hidden" | ||
> | ||
<NavSection /> | ||
<div className="grid grid-cols-3 h-full pt-20"> | ||
<div className="col-span-1 bg-white border-r border-slate-100 relative"> | ||
<ConfigSection /> | ||
</div> | ||
<div className="col-span-2 shadow-[inset_0_-2px_24px_rgba(0,0,0,0.05)] px-12 py-8 grid place-items-center relative"> | ||
<ViewSection /> | ||
</div> | ||
</div> | ||
<Gradient /> | ||
</motion.main> | ||
) | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.