Skip to content

Commit 8f37f7d

Browse files
authored
Merge pull request #1361 from Web3Auth/add-linea-sendBundle
Add Linea example
2 parents 32b0cd0 + 811da76 commit 8f37f7d

File tree

20 files changed

+7138
-0
lines changed

20 files changed

+7138
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
VITE_LINEA_RPC_URL=https://linea-sepolia.infura.io/v3/YOUR_INFURA_API_KEY
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
yarn.lock
10+
11+
node_modules
12+
dist
13+
dist-ssr
14+
*.local
15+
16+
# Editor directories and files
17+
.vscode/*
18+
!.vscode/extensions.json
19+
.idea
20+
.DS_Store
21+
*.suo
22+
*.ntvs*
23+
*.njsproj
24+
*.sln
25+
*.sw?
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Web3Auth (`@web3auth/modal`) x EVM(Linea) x React
2+
3+
[![Web3Auth](https://img.shields.io/badge/Web3Auth-SDK-blue)](https://web3auth.io/docs/sdk/pnp/web/modal)
4+
[![Web3Auth](https://img.shields.io/badge/Web3Auth-Community-cyan)](https://community.web3auth.io)
5+
6+
[Join our Community Portal](https://community.web3auth.io/) to get support and stay up to date with the latest news and updates.
7+
8+
This example demonstrates how to use Web3Auth with EVM in React.
9+
10+
## How to Use
11+
12+
### One-Click Deploy to Vercel
13+
14+
[![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)
15+
16+
### Download Manually
17+
18+
```bash
19+
npx degit Web3Auth/web3auth-pnp-examples/web-modal-sdk/blockchain-connection-examples/linea-modal-example linea-example
20+
```
21+
22+
Install & Run:
23+
24+
```bash
25+
cd w3a-linea-example
26+
npm install
27+
npm run dev
28+
# or
29+
cd w3a-linea-example
30+
yarn
31+
yarn dev
32+
```
33+
34+
## Important Links
35+
36+
- [Website](https://web3auth.io)
37+
- [Docs](https://web3auth.io/docs)
38+
- [Guides](https://web3auth.io/docs/guides)
39+
- [SDK / API References](https://web3auth.io/docs/sdk)
40+
- [Pricing](https://web3auth.io/pricing.html)
41+
- [Community Portal](https://community.web3auth.io)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<script type="module">
5+
import { Buffer } from "buffer";
6+
import process from "process";
7+
window.Buffer = Buffer;
8+
window.process = process;
9+
</script>
10+
<meta charset="UTF-8" />
11+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
12+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
13+
<title>Linea Modal Example (eth_sendBundle)</title>
14+
</head>
15+
<body>
16+
<div id="root"></div>
17+
<script type="module" src="/src/main.tsx"></script>
18+
</body>
19+
</html>

0 commit comments

Comments
 (0)