Skip to content

Commit 3f45970

Browse files
committed
restructure
1 parent 5f415ee commit 3f45970

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+5847
-1
lines changed

web-modal-sdk/account-abstraction-examples/safe/safe-modal-example/.env.example renamed to web-modal-sdk/account-abstraction-examples/biconomy-modal-example/.env.example

File renamed without changes.

web-modal-sdk/account-abstraction-examples/safe/safe-modal-example/.gitignore renamed to web-modal-sdk/account-abstraction-examples/biconomy-modal-example/.gitignore

File renamed without changes.
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Web3Auth Modal Biconomy AA Example
2+
3+
![Web3Auth](https://img.shields.io/badge/Web3Auth-SDK-blue)
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 [Account abstraction provider](https://www.npmjs.com/package/@web3auth/account-abstraction-provider) with Web3Auth Modal in React.
9+
10+
## Getting Started
11+
12+
1. Download Manually
13+
14+
```bash
15+
npx degit Web3Auth/web3auth-pnp-examples/web-modal-sdk/account-abstraction-examples/biconomy-modal-example w3a-biconomy-example
16+
```
17+
18+
2. Navigate into the project directory
19+
20+
```bash
21+
cd w3a-biconomy-example
22+
```
23+
24+
3. Install dependencies
25+
26+
```bash
27+
npm install
28+
```
29+
30+
## Setup
31+
32+
Set up the required environment variables by creating a `.env` file in the root of the project. Follow the instructions in the Environment Variables section.
33+
34+
Here is an example `.env` file template
35+
36+
```
37+
VITE_API_KEY = "YOUR_PIMLICO_API_KEY"
38+
```
39+
40+
<!-- markdown-link-check-disable-next-line -->
41+
42+
Get your pimlico API key from the [Pimlico Dashboard](https://dashboard.pimlico.io/)
43+
44+
## Run
45+
46+
To start the development, run the following command
47+
48+
```bash
49+
npm run dev
50+
```
51+
52+
## Important Links
53+
54+
- [Website](https://web3auth.io)
55+
- [Docs](https://web3auth.io/docs)
56+
- [Guides](https://web3auth.io/docs/guides)
57+
- [SDK / API References](https://web3auth.io/docs/sdk)
58+
- [Pricing](https://web3auth.io/pricing.html)
59+
- [Community Portal](https://community.web3auth.io)

web-modal-sdk/account-abstraction-examples/safe/safe-modal-example/eslint.config.js renamed to web-modal-sdk/account-abstraction-examples/biconomy-modal-example/eslint.config.js

File renamed without changes.

web-modal-sdk/account-abstraction-examples/safe/safe-modal-example/index.html renamed to web-modal-sdk/account-abstraction-examples/biconomy-modal-example/index.html

File renamed without changes.

web-modal-sdk/account-abstraction-examples/safe/safe-modal-example/package-lock.json renamed to web-modal-sdk/account-abstraction-examples/biconomy-modal-example/package-lock.json

File renamed without changes.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"name": "biconomy-modal-example",
3+
"private": true,
4+
"version": "0.0.0",
5+
"type": "module",
6+
"scripts": {
7+
"dev": "vite",
8+
"build": "tsc -b && vite build",
9+
"lint": "eslint .",
10+
"preview": "vite preview"
11+
},
12+
"dependencies": {
13+
"@web3auth/account-abstraction-provider": "9.3.1",
14+
"@web3auth/base": "9.3.0",
15+
"@web3auth/ethereum-provider": "9.3.0",
16+
"@web3auth/modal": "9.3.1",
17+
"ethers": "^6.13.3",
18+
"react": "^18.3.1",
19+
"react-dom": "^18.3.1"
20+
},
21+
"devDependencies": {
22+
"@eslint/js": "^9.11.1",
23+
"@types/react": "^18.3.10",
24+
"@types/react-dom": "^18.3.0",
25+
"@vitejs/plugin-react": "^4.3.2",
26+
"buffer": "^6.0.3",
27+
"eslint": "^9.11.1",
28+
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
29+
"eslint-plugin-react-refresh": "^0.4.12",
30+
"globals": "^15.9.0",
31+
"process": "^0.11.10",
32+
"typescript": "^5.5.3",
33+
"typescript-eslint": "^8.7.0",
34+
"vite": "^5.4.8"
35+
}
36+
}

web-modal-sdk/account-abstraction-examples/safe/safe-modal-example/public/vite.svg renamed to web-modal-sdk/account-abstraction-examples/biconomy-modal-example/public/vite.svg

File renamed without changes.

web-modal-sdk/account-abstraction-examples/safe/safe-modal-example/src/App.css renamed to web-modal-sdk/account-abstraction-examples/biconomy-modal-example/src/App.css

File renamed without changes.

web-modal-sdk/account-abstraction-examples/safe/safe-modal-example/src/App.tsx renamed to web-modal-sdk/account-abstraction-examples/biconomy-modal-example/src/App.tsx

File renamed without changes.

0 commit comments

Comments
 (0)