Skip to content

Commit 7394e7e

Browse files
committed
wip
1 parent ac86a9b commit 7394e7e

28 files changed

+1861
-0
lines changed

hyle-wallet/.env

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
VITE_SERVER_BASE_URL=http://localhost:4000
2+
VITE_WS_URL=ws://localhost:8081/ws
3+
VITE_NODE_BASE_URL=http://localhost:4321
4+
VITE_INDEXER_BASE_URL=http://localhost:4321
5+
VITE_TX_EXPLORER_URL=http://localhost:8000
6+
VITE_FAUCET_URL=http://localhost:5173

hyle-wallet/.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

hyle-wallet/bun.lockb

131 KB
Binary file not shown.

hyle-wallet/index.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
:root {
2+
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3+
line-height: 1.5;
4+
font-weight: 400;
5+
6+
font-synthesis: none;
7+
text-rendering: optimizeLegibility;
8+
-webkit-font-smoothing: antialiased;
9+
-moz-osx-font-smoothing: grayscale;
10+
-webkit-text-size-adjust: 100%;
11+
}
12+
13+
* {
14+
margin: 0;
15+
padding: 0;
16+
box-sizing: border-box;
17+
}
18+
19+
body {
20+
min-width: 320px;
21+
min-height: 100vh;
22+
background-color: #ffffff;
23+
}

hyle-wallet/index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>HyleWallet Demo</title>
7+
</head>
8+
<body>
9+
<script type="module" src="/src/index.ts"></script>
10+
<hyle-wallet providers="password,github,google"></hyle-wallet>
11+
</body>
12+
</html>

hyle-wallet/package-lock.json

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

hyle-wallet/package.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"name": "hyle-wallet",
3+
"version": "1.0.0",
4+
"type": "module",
5+
"description": "A reusable wallet component for React applications",
6+
"main": "dist/index.js",
7+
"module": "dist/index.mjs",
8+
"types": "dist/index.d.ts",
9+
"files": [
10+
"dist"
11+
],
12+
"peerDependencies": {
13+
"react": "^18.0.0",
14+
"react-dom": "^18.0.0"
15+
},
16+
"scripts": {
17+
"dev": "vite",
18+
"build": "tsc -b && vite build",
19+
"lint": "eslint .",
20+
"preview": "vite preview"
21+
},
22+
"dependencies": {
23+
"@types/crypto-js": "^4.2.2",
24+
"@types/elliptic": "^6.4.18",
25+
"@types/react-router-dom": "^5.3.3",
26+
"crypto-js": "^4.2.0",
27+
"elliptic": "^6.6.1",
28+
"hyle": "^0.2.5",
29+
"hyle-check-secret": "^0.3.2",
30+
"react": "^19.1.0",
31+
"react-dom": "^19.1.0",
32+
"react-router-dom": "^7.5.0"
33+
},
34+
"devDependencies": {
35+
"@eslint/js": "^9.24.0",
36+
"@types/react": "^19.1.2",
37+
"@types/react-dom": "^19.1.2",
38+
"@vitejs/plugin-react": "^4.4.0",
39+
"autoprefixer": "^10.4.21",
40+
"eslint": "^9.24.0",
41+
"eslint-plugin-react-hooks": "^5.2.0",
42+
"eslint-plugin-react-refresh": "^0.4.19",
43+
"globals": "^15.15.0",
44+
"postcss": "^8.5.3",
45+
"tailwindcss": "^4.1.4",
46+
"typescript": "~5.7.3",
47+
"typescript-eslint": "^8.30.1",
48+
"vite": "^6.2.6"
49+
}
50+
}

0 commit comments

Comments
 (0)