Skip to content

Commit 6e497c4

Browse files
committed
add solana vue composable example
1 parent b9846ab commit 6e497c4

File tree

26 files changed

+18819
-99
lines changed

26 files changed

+18819
-99
lines changed

web-no-modal-sdk/quick-starts/react-no-modal-solana-quick-start/src/web3authContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { WEB3AUTH_NETWORK, type Web3AuthNoModalOptions } from "@web3auth/no-moda
33
// IMP END - Quick Start
44

55
// IMP START - Dashboard Registration
6-
const clientId = "BPi5PB_UiIZ-cPz1GtV5i1I2iOSOHuimiXBI0e-Oe_u6X3oVAbCiAZOTEBtTXw4tsluTITPqA8zMsfxIKMjiqNQ"; // get from https://dashboard.web3auth.io
6+
const clientId = "BAS4B9cHfGZ147TYTOhKfnahOwCOtSRz_9Ce2aOQWYn8eYKKmEMQJUYdsokqpk_YGvfA3sKymOcNJnBIYUGuRfs"; // get from https://dashboard.web3auth.io
77
// IMP END - Dashboard Registration
88

99
// IMP START - Instantiate SDK

web-no-modal-sdk/quick-starts/vue-no-modal-quick-start/package-lock.json

Lines changed: 0 additions & 97 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web-no-modal-sdk/quick-starts/vue-no-modal-quick-start/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
},
1010
"//IMP START": "IMP START - Web3Auth Installation",
1111
"dependencies": {
12-
"@ethersproject/units": "^5.8.0",
1312
"@tanstack/vue-query": "^5.74.6",
1413
"@wagmi/vue": "^0.1.16",
1514
"@web3auth/no-modal": "^10.0.0-beta.9",
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
> 1%
2+
last 2 versions
3+
not dead
4+
not ie 11
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true,
5+
},
6+
extends: [
7+
"plugin:vue/vue3-essential",
8+
"eslint:recommended",
9+
"@vue/typescript/recommended",
10+
"plugin:prettier/recommended",
11+
],
12+
parserOptions: {
13+
ecmaVersion: 2020,
14+
},
15+
rules: {
16+
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
17+
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
18+
},
19+
};
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
.DS_Store
2+
node_modules
3+
/dist
4+
5+
6+
# local env files
7+
.env.local
8+
.env.*.local
9+
10+
# Log files
11+
npm-debug.log*
12+
yarn-debug.log*
13+
yarn-error.log*
14+
pnpm-debug.log*
15+
16+
# Editor directories and files
17+
.idea
18+
.vscode
19+
*.suo
20+
*.ntvs*
21+
*.njsproj
22+
*.sln
23+
*.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 x Vue.js
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 Vue.js
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%2Fvue-modal-quick-start&project-name=w3a-vue-modal&repository-name=w3a-vue-modal)
15+
16+
### Download Manually
17+
18+
```bash
19+
npx degit Web3Auth/web3auth-pnp-examples/web-modal-sdk/quick-starts/vue-modal-quick-start w3a-example
20+
```
21+
22+
Install & Run:
23+
24+
```bash
25+
cd w3a-example
26+
npm install
27+
npm run serve
28+
# or
29+
cd w3a-example
30+
yarn
31+
yarn serve
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: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
presets: ["@vue/cli-plugin-babel/preset"],
3+
plugins: ["@babel/plugin-transform-private-methods"],
4+
};

0 commit comments

Comments
 (0)