-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from Rocket-Rescue-Node/daniel-refactor-solo
feat: refactor as app, introduce solo op flow
- Loading branch information
Showing
63 changed files
with
7,137 additions
and
1,303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# See https://cloud.walletconnect.com/app | ||
VITE_WC_PROJECT_ID= | ||
|
||
# The base URL of the Rescue API | ||
VITE_RESCUE_API_BASE_URL=https://.../rescue/v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
on: | ||
pull_request: | ||
jobs: | ||
check_build: | ||
if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: npm install | ||
- run: npm run pretty:check | ||
- run: npm run build | ||
env: | ||
VITE_WC_PROJECT_ID: "112233445566778899aabbccddeeff00" | ||
VITE_RESCUE_API_BASE_URL: "https://example.com/rescue/v1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,43 @@ | ||
*~ | ||
_site | ||
.sass-cache | ||
.jekyll-cache | ||
.jekyll-metadata | ||
vendor | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
|
||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
|
||
/coverage | ||
|
||
# vite | ||
|
||
dist | ||
dist-ssr | ||
|
||
# production | ||
|
||
/build | ||
|
||
# misc | ||
|
||
.DS_Store | ||
*.DS_Store | ||
**/.DS_Store | ||
\*.pem | ||
*.local | ||
|
||
# debug | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
.pnpm-debug.log* | ||
|
||
# local env files | ||
|
||
.env | ||
.env\*.local | ||
|
||
# typescript | ||
|
||
\*.tsbuildinfo | ||
next-env.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
strict-peer-dependencies = false | ||
legacy-peer-deps = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Ignore artifacts: | ||
build | ||
coverage | ||
public/docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
# rescue-ui | ||
|
||
[![Website shields.io](https://img.shields.io/website-up-down-green-red/https/rescuenode.com.svg)](https://rescuenode.com/) | ||
[![Website shields.io](https://img.shields.io/website-up-down-green-red/https/rescuenode.com.svg)](https://rescuenode.com/) | ||
|
||
This repository contains the source code for [Rocket Rescue Node](https://rescuenode.com), a community-run, trust-minimized, and secured fallback node for emergencies and maintenance. | ||
This repository contains the source code for [Rocket Rescue Node](https://rescuenode.com), | ||
a community-run, trust-minimized, and secured fallback node for emergencies and maintenance. | ||
|
||
This web app uses [wagmi](https://wagmi.sh) + [Web3Modal](https://web3modal.com/) + [Vite](https://vitejs.dev/). | ||
|
||
## Local Development | ||
# Local Dev | ||
|
||
Due to CORS policy, there's 2 options for local development: | ||
Run `npm run dev` in your terminal, and then open [localhost:5173](http://localhost:5173) in your browser. | ||
|
||
1. In `js/main.js` change the variable `dev` to `true`. This will bypass communicating with the server and is a good solution for changes that don't require communication with the rescue node. | ||
1. Run your own Rescue Node locally. This requires you to run execution and consensus clients, the [rescue-proxy](https://github.com/Rocket-Rescue-Node/rescue-proxy), and the [rescue-api](https://github.com/Rocket-Rescue-Node/rescue-api). | ||
Run `npm run pretty` to normalize style before committing. | ||
|
||
# Publishing | ||
|
||
Run `npm run build` in your terminal. This will create a `dist/` directory with the compiled files. |
Oops, something went wrong.