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

Edit submission for Zeus validator #1094

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This is the bash script to automatically install and run the lastest Story and G

To get started, download this script:
```bash
wget -O install.sh https://gist.githubusercontent.com/LianD-09/780d712a17bf29597b696b56aae59b29/raw/57deef520f88e8c3b0c6f47a98b525b6ee1bb752/gistfile1.txt
wget -O install.sh https://gist.githubusercontent.com/LianD-09/780d712a17bf29597b696b56aae59b29/raw/c23e4f31b1be019dd02c62eef80e455a2a0436e8/install.sh
```

Then you can run the script to install both Geth and Story nodes. The script will automatically get the latest version of Geth and Story, find the peers and latest snapshot, create system services, and start the node.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
This is the documentation about Story Grafana dashboard and the setup instructions.

## Dashboard
You can view our public dasboard here: https://grafana.artsakh.network/d/be18s0yjyfzlsb/zeus?orgId=1&from=1729297104392&to=1729318704392
You can view our public dashboard here: https://grafana.artsakh.network/public-dashboards/d3e1c4c46ad2420a9b0256817146b6ce?orgId=1

Our JSON file: https://gist.github.com/LianD-09/05dd28f331cc7971ea581e3d072cbfcc

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ You also need an account with fund stored in geth node. Here are the steps to im
geth --datadir $HOME/.story/geth/iliad account import /path/to/priv_key
geth --datadir $HOME/.story/geth/iliad account list
```
Geth also needs to have flags `--http --http.api personal,eth,web3 --rpc.enabledeprecatedpersonal` enabled so the faucet could work.

Bot repo: https://github.com/LianD-09/discord-faucet-bot

Then, in the bot repo, add configuration to `config.toml`:
Expand All @@ -44,4 +46,12 @@ Install required libs:
```bash
pip install -r requirements.txt
```
After everything is on set, you can run `python3 faucet.py`
After everything is on set, you can run `python3 faucet.py`. The bot will start and listen to new messages in configured channels. Here are the commands you can ask the bot:
- `$help`: This command will show the full help message about the available commands as well as their function
- `$faucet_address`: This command will show the address of faucet
- `$balance <0xaddress>`: This command will show the balance of provided address
- `$request <0xaddress>`: This command will check if the user and address are eligible for receiving token or not, and send the token to the address. It will show the tx hash so the user can check the transaction details. Every address and user can only request once during `request_timeout` window.
- `$convert <base64-pubkey>`: This command will convert and show the address in both `story` and `0x` syntax. The user needs to provide compressed pubkey in base64 format, which can be obtained from this command:
```bash
story validator export --keyfile $HOME/.story/story/config/priv_validator_key.json
```