Skip to content

Commit fce2586

Browse files
committed
init
0 parents  commit fce2586

38 files changed

+4533
-0
lines changed

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.idea
2+
.DS_Store
3+
node_modules
4+
/build
5+
/.svelte-kit
6+
/package
7+
.env
8+
.env.*
9+
!.env.example
10+
vite.config.js.timestamp-*
11+
vite.config.ts.timestamp-*

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 EOS Network Foundation
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Rex Staking Portal
2+
3+
This is a staking UI for EOS REX built in SvelteKit.
4+
5+
It simplifies the process of staking, unstaking, and claiming rewards post tokenomics-2 upgrade.
6+
7+
You can see it live at https://stake.eosnetwork.com/
8+
9+
## Development
10+
11+
```bash
12+
bun i
13+
bun dev
14+
```

bun.lockb

124 KB
Binary file not shown.

netlify.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build]
2+
command = "npm run build"
3+
publish = "build"

package.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"name": "@eosnetwork/rex-staking",
3+
"version": "0.0.1",
4+
"private": true,
5+
"scripts": {
6+
"dev": "vite dev",
7+
"build": "vite build",
8+
"preview": "vite preview",
9+
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
10+
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
11+
},
12+
"devDependencies": {
13+
"@sveltejs/adapter-auto": "^3.0.0",
14+
"@sveltejs/adapter-netlify": "^4.2.0",
15+
"@sveltejs/kit": "^2.0.0",
16+
"@sveltejs/vite-plugin-svelte": "^3.0.0",
17+
"@teapotlabs/identeapots": "^1.0.8",
18+
"@wharfkit/antelope": "^1.0.7",
19+
"@wharfkit/session": "^1.3.1",
20+
"@wharfkit/transact-plugin-resource-provider": "^1.1.1",
21+
"@wharfkit/wallet-plugin-anchor": "^1.3.4",
22+
"@wharfkit/wallet-plugin-scatter": "^1.3.1",
23+
"@wharfkit/wallet-plugin-tokenpocket": "^1.3.1",
24+
"@wharfkit/wallet-plugin-wombat": "^1.3.1",
25+
"@wharfkit/web-renderer": "^1.2.5",
26+
"autoprefixer": "^10.4.16",
27+
"postcss": "^8.4.33",
28+
"sass": "^1.77.5",
29+
"svelte": "^4.2.7",
30+
"svelte-check": "^3.6.0",
31+
"svelte-confetti": "^2.0.1",
32+
"svelte-sonner": "^0.3.24",
33+
"tailwindcss": "^3.4.1",
34+
"tslib": "^2.4.1",
35+
"typescript": "^5.0.0",
36+
"vite": "^5.0.3"
37+
},
38+
"type": "module"
39+
}

postcss.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export default {
2+
plugins: {
3+
tailwindcss: {},
4+
autoprefixer: {}
5+
}
6+
};

src/app.d.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// See https://kit.svelte.dev/docs/types#app
2+
// for information about these interfaces
3+
declare global {
4+
namespace App {
5+
// interface Error {}
6+
// interface Locals {}
7+
// interface PageData {}
8+
// interface PageState {}
9+
// interface Platform {}
10+
}
11+
}
12+
13+
export {};

src/app.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+
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
%sveltekit.head%
8+
</head>
9+
<body data-sveltekit-preload-data="hover">
10+
<div style="display: contents">%sveltekit.body%</div>
11+
</body>
12+
</html>

0 commit comments

Comments
 (0)