Skip to content

Commit aba6f80

Browse files
authored
Merge branch 'monad-developers:main' into main
2 parents 41e2316 + 4aa35bf commit aba6f80

File tree

256 files changed

+2800
-136
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

256 files changed

+2800
-136
lines changed

.github/workflows/check.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Validate JSON files
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "testnet/*.json"
7+
- "mainnet/*.json"
8+
9+
jobs:
10+
validate:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
- uses: actions/setup-python@v5
17+
with:
18+
python-version: "3.11"
19+
- run: pip install -r scripts/requirements.txt
20+
- name: Validating changed files
21+
env:
22+
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }}
23+
run: |
24+
git fetch origin ${{ github.base_ref }}
25+
FILES="$(git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -E '^(testnet|mainnet)/' || true)"
26+
27+
for FILE in $FILES; do
28+
python scripts/validate.py "$FILE"
29+
done
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Generate and Upload Validator Files
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'mainnet/**.json'
9+
- 'testnet/**.json'
10+
- '!mainnet/mainnet_validators.json'
11+
- '!testnet/testnet_validators.json'
12+
13+
env:
14+
R2_PATH_PREFIX: '' # Set to a path like 'validators/' if you want files under a subdirectory
15+
16+
jobs:
17+
generate-and-upload:
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v4
23+
24+
- name: Set up Python
25+
uses: actions/setup-python@v5
26+
with:
27+
python-version: '3.x'
28+
29+
- name: Run validator generation script
30+
run: python3 scripts/generate_validators_json.py
31+
32+
- name: Install AWS CLI (for S3-compatible upload)
33+
run: |
34+
pip install awscli
35+
36+
- name: Configure AWS CLI for R2
37+
env:
38+
R2_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}
39+
R2_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }}
40+
run: |
41+
aws configure set aws_access_key_id $R2_ACCESS_KEY_ID
42+
aws configure set aws_secret_access_key $R2_SECRET_ACCESS_KEY
43+
aws configure set default.region auto
44+
45+
- name: Upload files to R2
46+
env:
47+
R2_BUCKET_NAME: ${{ secrets.R2_BUCKET_NAME }}
48+
R2_ENDPOINT: ${{ secrets.R2_ENDPOINT }}
49+
run: |
50+
# Upload mainnet validators JSON
51+
aws s3 cp mainnet/mainnet_validators.json s3://${R2_BUCKET_NAME}/validator-info/mainnet/validators.json --endpoint-url $R2_ENDPOINT
52+
53+
# Upload testnet validators JSON
54+
aws s3 cp testnet/testnet_validators.json s3://${R2_BUCKET_NAME}/validator-info/testnet/validators.json --endpoint-url $R2_ENDPOINT
55+
56+
echo "✅ Successfully uploaded validator JSON files to R2"
57+

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@
33
This repository serves as a standard directory for validators to publish their information.
44

55
To contribute:
6-
1. Fork this repository.
7-
2. Add a new JSON file named `<SECP_KEY>.json`.
8-
3. Ensure the file follows the format shown in the [example file](example/000000000000000000000000000000000000000000000000000000000000000000).
9-
4. Open a pull request (PR) with your changes.
10-
5. Share the PR link in the designated Discord channel for review.
6+
7+
1. Fork this repository.
8+
1. Add a new JSON file named `<SECP_KEY>.json`.
9+
1. Ensure the file follows the format shown in the [example file](example/000000000000000000000000000000000000000000000000000000000000000000.json).
10+
1. Open a pull request (PR) with your changes.
11+
1. Make sure the branch is (re)based on `main` branch.
12+
1. Verify the Github checks are passing.
13+
1. Share the PR link in the designated Discord channel for review.
1114

1215
⚠️ Note: PRs that are not shared via Discord will not be reviewed.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"id": 127,
3+
"name": "Cogent ⚙️ by SOL Strategies",
4+
"secp": "020725ea4d9c56d7f0f798599c59682d1cfc6b667916946645d5887d5225c76733",
5+
"bls": "a272b13be554422fea0008d007c26d49917d3b1984411e260f24f3e8f0f485be3f96bbb486cd73e5ae06645857ace47a",
6+
"website": "https://cogentcrypto.io",
7+
"description": "High performance validator by SOL Strategies. ISO27001 & SOC2 Type I certified",
8+
"logo": "https://img.solstrategies.io/cogent.jpg",
9+
"x": "https://x.com/Cogent_Crypto"
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"id": 19,
3+
"name": "Natsai",
4+
"secp": "02087d6afd5b2ce1a22aa5682dbb0363f2557bf9cde3545fbd374c98fd2c3f3747",
5+
"bls": "acce56596784415836880bb5fddde6674440101470a0462e959c3f9ef134cc7299ade4447021bf6569ab357df027c40f",
6+
"website": "https://www.natsai.xyz/",
7+
"description": "Natsai.xyz manages lean, non-custodial validator operations, ensuring robust and efficient blockchain network security.",
8+
"logo": "https://avatars.githubusercontent.com/u/197120902?v=4",
9+
"x": "https://x.com/natsaiou"
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"id": 51,
3+
"name": "The Workshop",
4+
"secp": "0208f84160464849cdd39a656503c845c830393a3a0add0b98810a31f351f5865f",
5+
"bls": "98f2254039a0dbc853caa1de9e0c66d5358626468654859b4de4c6f5e3249420ad1e1647fffde52c2b4085077dc85635",
6+
"website": "https://theworkshop.sh",
7+
"description": "We run high-performance Monad validators with consistent uptime, thoughtful security practices, and a transparent experience.",
8+
"logo": "https://pbs.twimg.com/profile_images/1776880120307048448/604owgze_400x400.jpg",
9+
"x": "https://x.com/hoanhan101"
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"id": 27,
3+
"name": "ValiDAO",
4+
"secp": "020943aae8b02cb2bcc0fce26e8d52e0785af30f4f2532273caf88f4329864641f",
5+
"bls": "b7e1fc7068564d9e4db7eb1d55a17bc320e9b079599b2dbbccffd689d657f399d0f0cbe7a93642db7aedcc112762160b",
6+
"website": "https://validao.xyz/",
7+
"description": "Farm-to-table, non-custodial proof-of-stake services and products powered by the premiere DAO-owned enterprise with 1k+ stakeholders. Zero VCs, zero seed oils.",
8+
"logo": "https://pbs.twimg.com/profile_images/1932719728662831104/Rmp-zeGO_400x400.jpg",
9+
"x": "https://x.com/validaoxyz"
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"id": 8,
3+
"name": "DSRV",
4+
"secp": "020bdb4060390ca9dab26ee1d04e005639345611f1df29f47d2a7c26f09799d865",
5+
"bls": "8b8e3032979770db7c470473b8492400026e282f35f05916d00189c38d7be61c974df876f5eef9d2bc33e539ca60d1d1",
6+
"website": "https://dsrv.com",
7+
"description": "DSRV is an integrated blockchain solutions company with the mission of enriching the crypto ecosystem via stronger connectivity. We strive to be your gateway to a suite of all-comprehensive blockchain services. Everything distributed, served complete.",
8+
"logo": "https://s3.amazonaws.com/keybase_processed_uploads/8349f3ab6852a8419c1987ad9096c605_360_360.jpg",
9+
"x": "https://x.com/dsrvlabs"
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"id": 10,
3+
"name": "Stakin",
4+
"secp": "020c05dedec1dd1c1aa1da4b9772660ddb27c9fc5d5333750db159f4a516ae50b7",
5+
"bls": "8248a1327821f6cf605bcd934ece83abfdf2e644978cd8367efbee105e24b5d248aad609623b7a71c5ac4eff28351622",
6+
"website": "https://stakin.com/",
7+
"description": "Leading institutional-grade web3 infrastructure and non-custodial staking service provider. ISO27001 Certified and Audited.",
8+
"logo": "https://stakin-data.s3.eu-west-2.amazonaws.com/Stakin+Avatar+Square.png",
9+
"x": "https://x.com/StakinOfficial"
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"id": 41,
3+
"name": "ITRocket",
4+
"secp": "0212c604e7819769ac911dc34770760f6aba45934d1af6249c6827e79f0edb27a1",
5+
"bls": "82aacd6387d707a848b1abde3becf0eafe100833607ccc890595a9ef7ece2032d50580ce95392729698137b845a01572",
6+
"website": "https://itrocket.net/",
7+
"description": "Enterprise-level infrastructure and state-of-art tools for node operators, developers and analysts.",
8+
"logo": "https://server-4.itrocket.net/logo/itrocket_logo.png",
9+
"x": "https://x.com/itrocket_team"
10+
}

0 commit comments

Comments
 (0)