Skip to content

Commit b7cd453

Browse files
upd readme+upprovider+nextjs version (#9)
1 parent a20f085 commit b7cd453

File tree

4 files changed

+67
-70
lines changed

4 files changed

+67
-70
lines changed

README.md

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ A template project demonstrating how to build mini-apps using the [up-provider p
55
## Overview
66

77
This template showcases:
8+
89
- [UP-Provider](https://github.com/lukso-network/tools-up-provider) implementation and wallet connection on the Grid
910
- Profile search functionality using Envio integration for fast querying
1011
- Integrates the [@lukso/web-components](https://www.npmjs.com/package/@lukso/web-components) library for ready-to-use branded components
@@ -15,56 +16,53 @@ This template showcases:
1516
## Key Features
1617

1718
### UP-Provider Integration
19+
1820
The template demonstrates how to:
21+
1922
- Connect to Universal Profile browser extension from the Grid
2023
- Manage UP contexts on the Grid
2124

2225
### Envio Integration
26+
2327
Shows how to:
28+
2429
- Query the LUKSO Envio indexer
2530
- Search for Universal Profiles
2631
- Display profile information and images
2732

2833
### Web Components
34+
2935
Shows how to:
36+
3037
- Use the [@lukso/web-components](https://www.npmjs.com/package/@lukso/web-components) library to display profile card
3138

3239
### ERC-725.js
40+
3341
Shows how to:
42+
3443
- Use the [erc725js](https://docs.lukso.tech/tools/dapps/erc725js/getting-started) library to fetch profile data from the blockchain
3544

3645
## Getting Started
3746

3847
1. Install dependencies:
48+
3949
```bash
4050
yarn install
4151
```
52+
4253
2. Run the development server:
54+
4355
```bash
4456
yarn dev
4557
```
4658

47-
3. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.(Note that the Grid context is not available in the local environment)
59+
3. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
4860

4961
4. Testing your mini-app on the Grid:
5062

51-
We're using `localtunnel` to test the mini-app on the Grid. This library helps us to generate a public URL that can be used to add the mini-app to the Grid.
52-
53-
> Alternatively, you can use free cloud deployment services like Vercel, Replit, etc.
54-
55-
Globally install `localtunnel`:
56-
57-
```bash
58-
npm install -g localtunnel
59-
```
63+
Simply add your localhost url as a mini-app to your Grid!
6064

61-
In the second terminal, run:
62-
63-
```bash
64-
lt --port <LOCALHOST_PORT>
65-
```
66-
67-
You can use this URL to add the mini-app to the Grid.
65+
> Alternatively, you can use free cloud deployment services like Vercel, Replit, etc. and use the url provided from those services.
6866
6967
## Project Structure
7068

@@ -77,10 +75,9 @@ You can use this URL to add the mini-app to the Grid.
7775

7876
- [LUKSO Documentation](https://docs.lukso.tech/) - Learn more about developing on LUKSO
7977
- [UP Browser Extension](https://docs.lukso.tech/install-up-browser-extension) - Install the Universal Profile Browser Extension
80-
- [erc725js](https://docs.lukso.tech/tools/dapps/erc725js/getting-started) - Learn more about the erc725js library
78+
- [erc725js](https://docs.lukso.tech/tools/dapps/erc725js/getting-started) - Learn more about the erc725js library
8179
- [@lukso/web-components](https://www.npmjs.com/package/@lukso/web-components) - Learn more about the @lukso/web-components library
8280

83-
8481
## Contributing
8582

8683
Contributions are welcome! Feel free to submit issues and pull requests.

next.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const nextConfig: NextConfig = {
66
quietDeps: true,
77
},
88
images: {
9-
domains: ['api.universalprofile.cloud']
9+
remotePatterns: [{ hostname: 'api.universalprofile.cloud' }],
1010
},
1111
};
1212

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
},
1212
"dependencies": {
1313
"@erc725/erc725.js": "^0.27.2",
14-
"@lukso/up-provider": "^0.3.2",
14+
"@lukso/up-provider": "^0.3.5",
1515
"@lukso/web-components": "^1.104.0",
1616
"@radix-ui/react-slot": "^1.1.0",
1717
"class-variance-authority": "^0.7.1",
1818
"ethereum-blockies-base64": "^1.0.2",
1919
"graphql": "^16.10.0",
2020
"graphql-request": "^7.1.2",
21-
"next": "15.1.0",
21+
"next": "15.2.3",
2222
"react": "^19.0.0",
2323
"react-dom": "^19.0.0",
2424
"viem": "^2.21.54"

yarn.lock

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -516,9 +516,9 @@ __metadata:
516516
languageName: node
517517
linkType: hard
518518

519-
"@lukso/up-provider@npm:^0.3.2":
520-
version: 0.3.2
521-
resolution: "@lukso/up-provider@npm:0.3.2"
519+
"@lukso/up-provider@npm:^0.3.5":
520+
version: 0.3.5
521+
resolution: "@lukso/up-provider@npm:0.3.5"
522522
dependencies:
523523
"@mixer/postmessage-rpc": "npm:^1.1.4"
524524
"@types/debug": "npm:^4.1.12"
@@ -529,7 +529,7 @@ __metadata:
529529
lit: "npm:^3.2.1"
530530
pauseable: "npm:^0.3.2"
531531
uuid: "npm:^11.0.3"
532-
checksum: 10c0/20adb3c0f910a671a1755617b0df7399c76398d4056747c8cd10b1b9ced41de78192d5a650d30039097b606fd40e71afd6a9a0536625b58d0e73d712c4a79611
532+
checksum: 10c0/ac91857bea2e68dc4840e710cd34f4fc7b7731ffea18269cf410484dac232a671126115bac4fa410be0e9c31a98b2727c23e97c564ffc6e53b909038cf70b3a4
533533
languageName: node
534534
linkType: hard
535535

@@ -570,10 +570,10 @@ __metadata:
570570
languageName: node
571571
linkType: hard
572572

573-
"@next/env@npm:15.1.0":
574-
version: 15.1.0
575-
resolution: "@next/env@npm:15.1.0"
576-
checksum: 10c0/5c6d66bcc652696a8dbbe1596194b612dd492e8b27041b738fcb63aa08669754bd7bdd3664ec8b756029a7d7b22187e646409fc1651c5e95d3ae39c3cca62c3d
573+
"@next/env@npm:15.2.3":
574+
version: 15.2.3
575+
resolution: "@next/env@npm:15.2.3"
576+
checksum: 10c0/52e60419f71b991bdab23fc23f05d221dfe07b725140a110eedc158b2612cebcaa71a74726e2f78b1d53ae162ae0a745fdc3263a2bc76eda013cac057a30f05e
577577
languageName: node
578578
linkType: hard
579579

@@ -586,58 +586,58 @@ __metadata:
586586
languageName: node
587587
linkType: hard
588588

589-
"@next/swc-darwin-arm64@npm:15.1.0":
590-
version: 15.1.0
591-
resolution: "@next/swc-darwin-arm64@npm:15.1.0"
589+
"@next/swc-darwin-arm64@npm:15.2.3":
590+
version: 15.2.3
591+
resolution: "@next/swc-darwin-arm64@npm:15.2.3"
592592
conditions: os=darwin & cpu=arm64
593593
languageName: node
594594
linkType: hard
595595

596-
"@next/swc-darwin-x64@npm:15.1.0":
597-
version: 15.1.0
598-
resolution: "@next/swc-darwin-x64@npm:15.1.0"
596+
"@next/swc-darwin-x64@npm:15.2.3":
597+
version: 15.2.3
598+
resolution: "@next/swc-darwin-x64@npm:15.2.3"
599599
conditions: os=darwin & cpu=x64
600600
languageName: node
601601
linkType: hard
602602

603-
"@next/swc-linux-arm64-gnu@npm:15.1.0":
604-
version: 15.1.0
605-
resolution: "@next/swc-linux-arm64-gnu@npm:15.1.0"
603+
"@next/swc-linux-arm64-gnu@npm:15.2.3":
604+
version: 15.2.3
605+
resolution: "@next/swc-linux-arm64-gnu@npm:15.2.3"
606606
conditions: os=linux & cpu=arm64 & libc=glibc
607607
languageName: node
608608
linkType: hard
609609

610-
"@next/swc-linux-arm64-musl@npm:15.1.0":
611-
version: 15.1.0
612-
resolution: "@next/swc-linux-arm64-musl@npm:15.1.0"
610+
"@next/swc-linux-arm64-musl@npm:15.2.3":
611+
version: 15.2.3
612+
resolution: "@next/swc-linux-arm64-musl@npm:15.2.3"
613613
conditions: os=linux & cpu=arm64 & libc=musl
614614
languageName: node
615615
linkType: hard
616616

617-
"@next/swc-linux-x64-gnu@npm:15.1.0":
618-
version: 15.1.0
619-
resolution: "@next/swc-linux-x64-gnu@npm:15.1.0"
617+
"@next/swc-linux-x64-gnu@npm:15.2.3":
618+
version: 15.2.3
619+
resolution: "@next/swc-linux-x64-gnu@npm:15.2.3"
620620
conditions: os=linux & cpu=x64 & libc=glibc
621621
languageName: node
622622
linkType: hard
623623

624-
"@next/swc-linux-x64-musl@npm:15.1.0":
625-
version: 15.1.0
626-
resolution: "@next/swc-linux-x64-musl@npm:15.1.0"
624+
"@next/swc-linux-x64-musl@npm:15.2.3":
625+
version: 15.2.3
626+
resolution: "@next/swc-linux-x64-musl@npm:15.2.3"
627627
conditions: os=linux & cpu=x64 & libc=musl
628628
languageName: node
629629
linkType: hard
630630

631-
"@next/swc-win32-arm64-msvc@npm:15.1.0":
632-
version: 15.1.0
633-
resolution: "@next/swc-win32-arm64-msvc@npm:15.1.0"
631+
"@next/swc-win32-arm64-msvc@npm:15.2.3":
632+
version: 15.2.3
633+
resolution: "@next/swc-win32-arm64-msvc@npm:15.2.3"
634634
conditions: os=win32 & cpu=arm64
635635
languageName: node
636636
linkType: hard
637637

638-
"@next/swc-win32-x64-msvc@npm:15.1.0":
639-
version: 15.1.0
640-
resolution: "@next/swc-win32-x64-msvc@npm:15.1.0"
638+
"@next/swc-win32-x64-msvc@npm:15.2.3":
639+
version: 15.2.3
640+
resolution: "@next/swc-win32-x64-msvc@npm:15.2.3"
641641
conditions: os=win32 & cpu=x64
642642
languageName: node
643643
linkType: hard
@@ -2843,7 +2843,7 @@ __metadata:
28432843
dependencies:
28442844
"@erc725/erc725.js": "npm:^0.27.2"
28452845
"@eslint/eslintrc": "npm:^3"
2846-
"@lukso/up-provider": "npm:^0.3.2"
2846+
"@lukso/up-provider": "npm:^0.3.5"
28472847
"@lukso/web-components": "npm:^1.104.0"
28482848
"@radix-ui/react-slot": "npm:^1.1.0"
28492849
"@types/node": "npm:^20"
@@ -2855,7 +2855,7 @@ __metadata:
28552855
ethereum-blockies-base64: "npm:^1.0.2"
28562856
graphql: "npm:^16.10.0"
28572857
graphql-request: "npm:^7.1.2"
2858-
next: "npm:15.1.0"
2858+
next: "npm:15.2.3"
28592859
postcss: "npm:^8"
28602860
react: "npm:^19.0.0"
28612861
react-dom: "npm:^19.0.0"
@@ -3794,19 +3794,19 @@ __metadata:
37943794
languageName: node
37953795
linkType: hard
37963796

3797-
"next@npm:15.1.0":
3798-
version: 15.1.0
3799-
resolution: "next@npm:15.1.0"
3800-
dependencies:
3801-
"@next/env": "npm:15.1.0"
3802-
"@next/swc-darwin-arm64": "npm:15.1.0"
3803-
"@next/swc-darwin-x64": "npm:15.1.0"
3804-
"@next/swc-linux-arm64-gnu": "npm:15.1.0"
3805-
"@next/swc-linux-arm64-musl": "npm:15.1.0"
3806-
"@next/swc-linux-x64-gnu": "npm:15.1.0"
3807-
"@next/swc-linux-x64-musl": "npm:15.1.0"
3808-
"@next/swc-win32-arm64-msvc": "npm:15.1.0"
3809-
"@next/swc-win32-x64-msvc": "npm:15.1.0"
3797+
"next@npm:15.2.3":
3798+
version: 15.2.3
3799+
resolution: "next@npm:15.2.3"
3800+
dependencies:
3801+
"@next/env": "npm:15.2.3"
3802+
"@next/swc-darwin-arm64": "npm:15.2.3"
3803+
"@next/swc-darwin-x64": "npm:15.2.3"
3804+
"@next/swc-linux-arm64-gnu": "npm:15.2.3"
3805+
"@next/swc-linux-arm64-musl": "npm:15.2.3"
3806+
"@next/swc-linux-x64-gnu": "npm:15.2.3"
3807+
"@next/swc-linux-x64-musl": "npm:15.2.3"
3808+
"@next/swc-win32-arm64-msvc": "npm:15.2.3"
3809+
"@next/swc-win32-x64-msvc": "npm:15.2.3"
38103810
"@swc/counter": "npm:0.1.3"
38113811
"@swc/helpers": "npm:0.5.15"
38123812
busboy: "npm:1.6.0"
@@ -3851,7 +3851,7 @@ __metadata:
38513851
optional: true
38523852
bin:
38533853
next: dist/bin/next
3854-
checksum: 10c0/652a48a6cf6329753da72bec9777c153e88aee8dd1bb709c2c8e6b31b678514d50501e1a58e065464416998bb5d872ce0eaf769e7aacebc2821d36359e63c225
3854+
checksum: 10c0/d9f374d42e422b1fc6ef3499e46318b572717c4dd35db04c25bec3b998e693d927ec8edaa7aa819f71aae7ae74645f498184e08ad261e35baeeaac560e915b9c
38553855
languageName: node
38563856
linkType: hard
38573857

0 commit comments

Comments
 (0)