The Shardeum Validator GUI is a web application that allows you to manage your Shardeum validator with ease.
Before setting up the Validator GUI, ensure you have the following prerequisites:
- Shardeum Server installed and running
- JSON RPC Server configured and running
- Shardeum CLI set up and running
Follow the README file in the individual repositories to set up the Shardeum Server, JSON RPC Server, and Shardeum CLI.
Once you have the prerequisites set up, follow these steps to set up the Validator GUI for local development:
-
Clone the repository:
git clone https://github.com/shardeum/validator-gui.git cd validator-gui
-
Install dependencies:
npm install
-
Configure environment variables: If you are running the JSON RPC server locally, create a
.env
file in the root directory with the following content:NEXT_PUBLIC_RPC_URL=http://127.0.0.1:8080 RPC_SERVER_URL=http://127.0.0.1:8080
Adjust the URLs and ports as needed for your setup.
-
Link to the Operator CLI and set the environment:
npm link operator-cli export NODE_ENV=development
-
Build and start the development server:
npm run build npm run start
We welcome contributions to the Shardeum Validator GUI! Please read our code of conduct before contributing. Everyone interacting in our codebases, issues, and chat rooms is expected to follow these guidelines.
Join our community to get help, discuss code, or engage in any other Shardeum-related conversations:
We look forward to your participation in the Shardeum ecosystem!