Skip to content

Commit 49b62ff

Browse files
Merge branch 'monad-developers:main' into main
2 parents b61bd8a + 6e12a0d commit 49b62ff

210 files changed

Lines changed: 2031 additions & 188 deletions

File tree

Some content is hidden

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

.github/workflows/check.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
paths:
66
- "testnet/*.json"
7+
- "mainnet/*.json"
78

89
jobs:
910
validate:
@@ -17,9 +18,11 @@ jobs:
1718
python-version: "3.11"
1819
- run: pip install -r scripts/requirements.txt
1920
- name: Validating changed files
21+
env:
22+
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }}
2023
run: |
2124
git fetch origin ${{ github.base_ref }}
22-
FILES="$(git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -E '^(testnet)/' || true)"
25+
FILES="$(git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -E '^(testnet|mainnet)/' || true)"
2326
2427
for FILE in $FILES; do
2528
python scripts/validate.py "$FILE"
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+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"id": 160,
3+
"name": "GalaxyDigital",
4+
"secp": "0202169e1025e8aa4d5979e759dd35e6e4baaa04137289d0651e45d9218b7a9229",
5+
"bls": "8b92bef43a7c83609504db88e0c7661c284055f979333eba0fa87b64d5da2db695f7a145b11c13c9540a41e6e488a28d",
6+
"website": "https://www.galaxy.com/",
7+
"description": "Galaxy is a digital asset and blockchain leader helping institutions, startups, and qualified individuals shape a changing economy. We provide platform solutions custom-made for a digitally native ecosystem.",
8+
"logo": "https://dmpf98hz4x3ps.cloudfront.net/galaxy.png",
9+
"x": "https://x.com/galaxyhq"
10+
}
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": 51,
3+
"name": "The Workshop",
4+
"secp": "0208f84160464849cdd39a656503c845c830393a3a0add0b98810a31f351f5865f",
5+
"bls": "98f2254039a0dbc853caa1de9e0c66d5358626468654859b4de4c6f5e3249420ad1e1647fffde52c2b4085077dc85635",
6+
"website": "https://theworkshop.sh",
7+
"description": "We run high-performance and transparent validators.",
8+
"logo": "https://theworkshop.sh/logo-dark.svg",
9+
"x": "https://x.com/hoanhan101"
10+
}

mainnet/020bdb4060390ca9dab26ee1d04e005639345611f1df29f47d2a7c26f09799d865.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "DSRV",
44
"secp": "020bdb4060390ca9dab26ee1d04e005639345611f1df29f47d2a7c26f09799d865",
55
"bls": "8b8e3032979770db7c470473b8492400026e282f35f05916d00189c38d7be61c974df876f5eef9d2bc33e539ca60d1d1",
6-
"website": "https://dsrvlabs.com",
6+
"website": "https://dsrv.com",
77
"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.",
88
"logo": "https://s3.amazonaws.com/keybase_processed_uploads/8349f3ab6852a8419c1987ad9096c605_360_360.jpg",
99
"x": "https://x.com/dsrvlabs"
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+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"id": 139,
3+
"name": "blockscape",
4+
"secp": "0214d6f23ff55f848e8b86513569e09e0fae58fcf82fc7b22a9026e8d95e929274",
5+
"bls": "80bb98f7f4ab44f47ed2a17d9a7d5e78524889bf5e55a0ed5f10c806e88a7a165e38cc038146bacbee4171f903cc93b1",
6+
"website": "https://blockscape.network",
7+
"description": "Founded in Switzerland, Blockscape has been actively engaged in staking technology since 2018. Today, we’re expanding our focus to support institutions with secure and seamless access to digital assets.",
8+
"logo": "https://blockscape.network/logo/logo-color.png",
9+
"x": "https://x.com/BlockscapeLab"
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"id": 37,
3+
"name": "LakeStake",
4+
"secp": "021e2253750bc794a45c4e05ffb79d8a111bba50ab117b6de51d0e9bf021381480",
5+
"bls": "a9effecd99ac7018ebb696937f1f93ee5994aee95bf8ec94702fca4d58443380510c965e951324113bd1ad015dd801dc",
6+
"website": "https://www.lakestake.io/",
7+
"description": "Stake at the lake!",
8+
"logo": "https://i.postimg.cc/fTHTBc00/LAKE-4.png",
9+
"x": "https://x.com/lakestakeio"
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"id": 62,
3+
"name": "Forest Staking",
4+
"secp": "021f68fac315a1b9e7258af85385b780e7a594819d7532015182a74b80442e71e6",
5+
"bls": "b987129ea2e19c737a40f84530683376d1c929b1b44d1bb57022aef4f4f4aefd359630a726c927774cc3474ba3ec73aa",
6+
"website": "https://foreststaking.com",
7+
"description": "Forest Staking is a team of military and civilian trained cybersecurity engineers, Linux admins and blockchain enthusiasts",
8+
"logo": "https://raw.githubusercontent.com/ForestStaking/Forest_Staking_Logo/refs/heads/main/Forest_Staking_Logo_main.jpg",
9+
"x": "https://x.com/foreststaking"
10+
}

0 commit comments

Comments
 (0)