Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uHTTP playground testing #45

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
uClientId = XXXX
uForceZeroHop = true
discoveryPlatformEndpoint = https://discovery-platform.hoprnet.link
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"@emotion/styled": "^11.11.0",
"@fontsource/roboto": "^5.0.0",
"@hoprnet/hopr-sdk": "2.1.0-beta.30",
"@hoprnet/uhttp-lib": "4.0.0-beta.0",
"@metamask/jazzicon": "^2.0.0",
"@mui/icons-material": "^5.11.16",
"@mui/material": "^5.13.0",
Expand Down Expand Up @@ -48,7 +49,8 @@
"scripts": {
"dev": "vite",
"dev:clean": "npm run dev -- --force",
"build": "tsc && vite build",
"build": "tsc && vite build && uhttp-post-build-react",
"build:uHTTP": "tsc && vite build && uhttp-post-build-react",
"serve": "vite preview --port 3000",
"lint": "eslint --fix --ext .js,.jsx,.ts,.tsx ./src",
"format": "yarn prettier --write ./src",
Expand Down Expand Up @@ -86,6 +88,8 @@
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"@vitejs/plugin-react": "^4.0.0",
"cheerio": "^1.0.0",
"dotenv": "^16.4.5",
"eslint": "^8.42.0",
"eslint-plugin-import-newlines": "^1.3.1",
"eslint-plugin-newline-destructuring": "^1.2.1",
Expand Down
4 changes: 2 additions & 2 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"short_name": "hub-hoprnet-org",
"name": "HOPR | Staking Hub",
"icons": [
{
"src": "favicon.ico",
Expand Down
13 changes: 0 additions & 13 deletions scripts/post-build.js

This file was deleted.

22 changes: 0 additions & 22 deletions scripts/prepare-build-hub.js

This file was deleted.

25 changes: 0 additions & 25 deletions scripts/prepare-build-node.js

This file was deleted.

Loading