Skip to content

Commit 86e9876

Browse files
authored
✨ Add Support for Bepolia (#45)
### 🕓 Changelog This PR adds support for the following additional chain: - Bepolia (identifier: `bepolia`, chain ID: `80069`). All supported chains that use the [Safe transaction service API](https://docs.safe.global/core-api/transaction-service-overview) can be retrieved via: ```console curl -s https://safe-config.safe.global/api/v1/chains/ | jq ".results[].chainName" ``` which currently (4 November 2025) returns: ```console "Ethereum" "Gnosis Chain" "Polygon" "Polygon zkEVM" "Bepolia" "BNB Chain" "Arbitrum" "Optimism" "0G" "Base" "Berachain" "Botanix" "Codex" "Hemi" "Ink" "Katana" "Lens" "Linea" "Monad" "opBNB" "peaq" "Plasma" "Sonic" "Unichain" "XDC Network" "zkSync Era" "Scroll" "X Layer" "Celo" "Avalanche" "Mantle" "World Chain" "Aurora" "Sepolia" "Base Sepolia" "Gnosis Chiado" ``` ### Test Examples #### Bepolia ```console ./safe_hashes.sh --network bepolia --address 0x1aA8c95b610731e415b9A2B7180c56F74ba3fDe1 --nonce 5 ``` returns: ```console =================================== = Selected Network Configurations = =================================== Network: bepolia Chain ID: 80069 ======================================== = Transaction Data and Computed Hashes = ======================================== > Transaction Data: Multisig address: 0x1aA8c95b610731e415b9A2B7180c56F74ba3fDe1 To: 0x9641d764fc13c8B624c04430C7356C1C7C8102e2 Value: 0 Data: 0x8d80ff0a000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000aa001a95213d03eafbc555b73e460ebef7471662195900000000000000000000000000000000000000000000000000005af3107a40000000000000000000000000000000000000000000000000000000000000000000001a95213d03eafbc555b73e460ebef7471662195900000000000000000000000000000000000000000000000000005af3107a4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Operation: Delegatecall (trusted delegatecall) Safe Transaction Gas: 0 Base Gas: 0 Gas Price: 0 Gas Token: 0x0000000000000000000000000000000000000000 Refund Receiver: 0x0000000000000000000000000000000000000000 Nonce: 5 Encoded message: 0xbb8310d486368db6bd6f849402fdd73ad53d316b5a4b2644ad6efe0f941286d80000000000000000000000009641d764fc13c8b624c04430c7356c1c7c8102e200000000000000000000000000000000000000000000000000000000000000001e9125d7ebf8703629264ab74c9622369033e03eb4e22090a6006237bf015aa80000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005 Method: multiSend Parameters: [ { "name": "transactions", "type": "bytes", "value": "0x001a95213d03eafbc555b73e460ebef7471662195900000000000000000000000000000000000000000000000000005af3107a40000000000000000000000000000000000000000000000000000000000000000000001a95213d03eafbc555b73e460ebef7471662195900000000000000000000000000000000000000000000000000005af3107a40000000000000000000000000000000000000000000000000000000000000000000", "valueDecoded": [ { "operation": 0, "to": "0x1a95213d03EAfbc555B73E460eBEf74716621959", "value": "100000000000000", "data": null, "dataDecoded": null }, { "operation": 0, "to": "0x1a95213d03EAfbc555B73E460eBEf74716621959", "value": "100000000000000", "data": null, "dataDecoded": null } ] } ] > Hashes: Domain hash: 0x49C18729EC30E4CC0561D14929AA70CC9BE4B492650D02D8AB4883814078E873 Message hash: 0xD97C778AE2BFCC46F3F448E83CEE3E93D6E4F537011FEE95417DCEB9E86B6135 Safe transaction hash: 0x5fd61dcc444c78e617fdb4f217bd37eb72e3a6736071131343617dac46c61219 ``` Now compare with https://app.safe.global/transactions/tx?safe=bepolia:0x1aA8c95b610731e415b9A2B7180c56F74ba3fDe1&id=multisig_0x1aA8c95b610731e415b9A2B7180c56F74ba3fDe1_0x5fd61dcc444c78e617fdb4f217bd37eb72e3a6736071131343617dac46c61219. --------- Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
1 parent 1751954 commit 86e9876

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ This Bash [script](./safe_hashes.sh) calculates the Safe transaction hashes by r
5353
- Avalanche (identifier: `avalanche`, chain ID: `43114`)
5454
- Base (identifier: `base`, chain ID: `8453`)
5555
- Base Sepolia (identifier: `base-sepolia`, chain ID: `84532`)
56+
- Bepolia (identifier: `bepolia`, chain ID: `80069`)
5657
- Berachain (identifier: `berachain`, chain ID: `80094`)
5758
- Botanix (identifier: `botanix`, chain ID: `3637`)
5859
- BSC (BNB Smart Chain) (identifier: `bsc`, chain ID: `56`)

safe_hashes.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ declare -A -r API_URLS=(
247247
["avalanche"]="${BASE_URL}/avax"
248248
["base"]="${BASE_URL}/base"
249249
["base-sepolia"]="${BASE_URL}/basesep"
250+
["bepolia"]="${BASE_URL}/bep"
250251
["berachain"]="${BASE_URL}/berachain"
251252
["botanix"]="${BASE_URL}/btc"
252253
["bsc"]="${BASE_URL}/bnb"
@@ -286,6 +287,7 @@ declare -A -r CHAIN_IDS=(
286287
["avalanche"]="43114"
287288
["base"]="8453"
288289
["base-sepolia"]="84532"
290+
["bepolia"]="80069"
289291
["berachain"]="80094"
290292
["botanix"]="3637"
291293
["bsc"]="56"

0 commit comments

Comments
 (0)