Skip to content

Commit a0fbe8b

Browse files
authored
Merge branch 'monad-developers:main' into main
2 parents 4b49d0a + d4a4ec5 commit a0fbe8b

File tree

332 files changed

+1420
-1375
lines changed

Some content is hidden

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

332 files changed

+1420
-1375
lines changed

.github/workflows/check.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ jobs:
2222
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }}
2323
run: |
2424
git fetch origin ${{ github.base_ref }}
25-
FILES="$(git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -E '^(testnet|mainnet)/' || true)"
25+
# Get list of changed files, excluding deleted files (--diff-filter=d)
26+
# since we can't validate files that no longer exist
27+
FILES="$(git diff --name-only --diff-filter=d origin/${{ github.base_ref }}...HEAD | grep -E '^(testnet|mainnet)/' || true)"
2628
2729
for FILE in $FILES; do
2830
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": 182,
3+
"name": "Water Cooler Studios",
4+
"secp": "02046d68c698c9262a73eeb75e08672d5c8177903ee4ce49156bee029d4e5665e7",
5+
"bls": "8c8259a054f8120ec0b944bc81ffb63ea5561ee2e8fc5a603162c9dc7d48eb69ccc8f3df8383b2ab6e27efadb6fad245",
6+
"website": "https://www.wcs.tech",
7+
"description": "Web3 Venture Studio focused on scalable yield and infrastructure products.",
8+
"logo": "https://wcs-logos.s3.us-east-1.amazonaws.com/wcs-logo-dark-bg.png",
9+
"x": "https://x.com/0xwatercooler"
10+
}

mainnet/0208f84160464849cdd39a656503c845c830393a3a0add0b98810a31f351f5865f.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"secp": "0208f84160464849cdd39a656503c845c830393a3a0add0b98810a31f351f5865f",
55
"bls": "98f2254039a0dbc853caa1de9e0c66d5358626468654859b4de4c6f5e3249420ad1e1647fffde52c2b4085077dc85635",
66
"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",
7+
"description": "We run high-performance and transparent validators.",
8+
"logo": "https://theworkshop.sh/logo-dark.svg",
99
"x": "https://x.com/hoanhan101"
1010
}
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": 154,
3+
"name": "forthenads",
4+
"secp": "022243e2310b7e32303e190bba153c372bc7d26cd8a31069accecc91998f2b3d65",
5+
"bls": "94069478d7ee1c116af461dd76011dc0ae6f6926fd36df96f5f68e3027b676678a6c6c153c4d2a760202ac21105cf62c",
6+
"website": "https://forthenads.xyz",
7+
"description": "for • the • nads",
8+
"logo": "https://raw.githubusercontent.com/vasdie/forthenads/main/forthenads-logo.png",
9+
"x": "@forthenads"
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"id": 149,
3+
"name": "Fountainhead",
4+
"secp": "022b554e6057fca7990bb5c966dfb215373a8845026a997ca0c6896abde5cd9cdb",
5+
"bls": "8d911f4a4d65447349bb33198476330251da048f83b7fba054f44c26897d5843e5c859a3098d3b85c130a224fef1eb04",
6+
"website": "https://fountainhead.network",
7+
"description": "Accelerating the future: Decentralized, low-latency and high-performance.",
8+
"logo": "https://pbs.twimg.com/profile_images/1901618986070011905/F6Ix-Mbc_400x400.jpg",
9+
"x": "https://x.com/Fountainhead_zh"
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"id": 162,
3+
"name": "Stake Shark",
4+
"secp": "022d5c0916186d979eec4e9fd8fb39c333adc90f2a07d32be9c4ab8b91b9dc1051",
5+
"bls": "946835da74417e669565e951e74cb55057b6ba5346db78507a55c440730af6850f6a4bacb1cc642cf34dffacc888a641",
6+
"website": "https://stakeshark.io",
7+
"description": "Industry Leader. Trusted by 200,000 delegators since 2019. Over $200 million in staked assets across 30+ networks.",
8+
"logo": "https://raw.githubusercontent.com/StakeSharkIo/logo/refs/heads/main/stakeshark%20logo%20512x512.png",
9+
"x": "https://x.com/stake_shark"
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"id": 179,
3+
"name": "0230fa478f6c0e6cab9edc0647080674a784d060328f343cb5e0c5bb3e4e15696e",
4+
"secp": "0230fa478f6c0e6cab9edc0647080674a784d060328f343cb5e0c5bb3e4e15696e",
5+
"bls": "85392066f71dc1e59849d1122fc35391a644df46fa0fdca41fae352877d3ea9f7452314dbe9cd274a4c37b5d78c8a8a5",
6+
"website": "",
7+
"description": "",
8+
"logo": "",
9+
"x": ""
10+
}

0 commit comments

Comments
 (0)