-
Notifications
You must be signed in to change notification settings - Fork 126
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
18 changed files
with
7,664 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
web-modal-sdk/quick-starts/telegram-modal-quick-start/.gitignore
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,25 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
yarn.lock | ||
|
||
node_modules | ||
dist | ||
dist-ssr | ||
*.local | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
41 changes: 41 additions & 0 deletions
41
web-modal-sdk/quick-starts/telegram-modal-quick-start/README.md
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,41 @@ | ||
# Web3Auth (`@web3auth/modal`) x EVM x React | ||
|
||
[![Web3Auth](https://img.shields.io/badge/Web3Auth-SDK-blue)](https://web3auth.io/docs/sdk/pnp/web/modal) | ||
[![Web3Auth](https://img.shields.io/badge/Web3Auth-Community-cyan)](https://community.web3auth.io) | ||
|
||
[Join our Community Portal](https://community.web3auth.io/) to get support and stay up to date with the latest news and updates. | ||
|
||
This example demonstrates how to use Web3Auth with EVM in React. | ||
|
||
## How to Use | ||
|
||
### One-Click Deploy to Vercel | ||
|
||
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FWeb3Auth%2Fweb3auth-pnp-examples%2Ftree%2Fmain%2Fweb-modal-sdk%2Fquick-starts%2Freact-vite-evm-modal-quick-start&project-name=w3a-react-vite-no-modal&repository-name=w3a-react-vite-no-modal) | ||
|
||
### Download Manually | ||
|
||
```bash | ||
npx degit Web3Auth/web3auth-pnp-examples/web-modal-sdk/quick-starts/react-modal-quick-start w3a-example | ||
``` | ||
|
||
Install & Run: | ||
|
||
```bash | ||
cd w3a-example | ||
npm install | ||
npm run dev | ||
# or | ||
cd w3a-example | ||
yarn | ||
yarn dev | ||
``` | ||
|
||
## Important Links | ||
|
||
- [Website](https://web3auth.io) | ||
- [Docs](https://web3auth.io/docs) | ||
- [Guides](https://web3auth.io/docs/guides) | ||
- [SDK / API References](https://web3auth.io/docs/sdk) | ||
- [Pricing](https://web3auth.io/pricing.html) | ||
- [Community Portal](https://community.web3auth.io) |
19 changes: 19 additions & 0 deletions
19
web-modal-sdk/quick-starts/telegram-modal-quick-start/index.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,19 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<script type="module"> | ||
import { Buffer } from "buffer"; | ||
import process from "process"; | ||
window.Buffer = Buffer; | ||
window.process = process; | ||
</script> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Vite + React + TS</title> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/main.tsx"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.