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

Add script to generate Supported Networks pages from safe-deployments repo as a github action #278

Merged
merged 24 commits into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
93fdc91
Add script to genereate Supported Networks pages from safe-deployment…
louis-md Nov 22, 2023
219a0ed
Update summary
louis-md Nov 22, 2023
d66528c
Update summary
louis-md Nov 22, 2023
fbdffc5
Fix typo in supported networks script & re-generate .md files
louis-md Nov 22, 2023
804c785
Implement requested changes
louis-md Nov 22, 2023
b65a642
Implement requested changes
louis-md Nov 22, 2023
3ea1402
Remove unused console.log; fix supported networks index page & block …
louis-md Nov 22, 2023
13de5e6
Fix some vale errors ("networks's" & "Testnet")
louis-md Nov 22, 2023
bf2025a
Re-generate supported networks
louis-md Nov 22, 2023
8efde45
Implement requested changes (wording & correct section)
louis-md Nov 22, 2023
842986f
Update SUMMARY.md
germartinez Nov 22, 2023
5b926a4
Update SUMMARY.md
germartinez Nov 22, 2023
46f0fdc
Update SUMMARY.md
germartinez Nov 22, 2023
b7611e3
Update SUMMARY.md
germartinez Nov 22, 2023
4952f3a
Update SUMMARY.md
germartinez Nov 22, 2023
d6794cc
Move supported networks .md folder into safe-smart-accounts
louis-md Nov 22, 2023
c064b8d
Implement requested changes (create PR on workflow, minor fixes)
louis-md Nov 23, 2023
8d91e92
Update vale dictionnary
louis-md Nov 23, 2023
db31036
Update vale dictionnary
louis-md Nov 23, 2023
da182cc
Remove duplicates in vale dictionnary
louis-md Nov 23, 2023
a677f99
Remove unnecessary steps in github workflow for supported networks
louis-md Nov 23, 2023
3165f46
Remove duplicates in vale dictionnary
louis-md Nov 23, 2023
ef46997
Alphabetize & deduplicate vale dictionnary
louis-md Nov 23, 2023
e642001
Exclude deprecated block explorer from supported networks page genera…
louis-md Nov 23, 2023
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
2 changes: 1 addition & 1 deletion .github/scripts/generateSupportedNetworks.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ ${networks
return `
### ${network}

This network's Chain Id is ${chainId}.
This network's chain ID is ${chainId}.

${_contracts
.filter(c => c.chainId === chainId)
Expand Down
116 changes: 116 additions & 0 deletions .github/styles/Vocab/default/accept.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,119 @@ endhint
endembed
Rinkeby
Testnet
Ethereum
Ropsten
Rinkeby
Goerli
OP
Metadium
ThunderCore
Cronos
Boba Rinkeby
Rootstock
U2U Solaris
Telos
EVM
LUKSO
Crab
Darwinia
XDC
Apothem
BNB
Syscoin
Mordor
Kovan
Gnosis
Velas
ThunderCore
EtherLite Chain
Fuse
Sparknet
Polygon
ShimmerEVM
Tenet
Fantom
Boba
GC
KCC
zkSync Era
Shiden
Cronos
PGN
Rollux
Metis
Stardust
Astar
Acala Mandala TC9
Karura
Acala
Klaytn Baobab
Eurus
Metis Andromeda
zkEVM
WEMIX3.0
WEMIX3.0
tanay1337 marked this conversation as resolved.
Show resolved Hide resolved
Ultron
Ultron
Moonbeam
Moonriver
Moonbase Alpha
Bobabeam
Tenet
Lightlink
Eurus
Milkomeda
C1
A1
CloudWalk
PublicMint
Edgeware
EdgeEVM
Kava
Kava
Crossbell
Fantom
IoTeX
Venidium
Mantle
Syscoin
Tanenbaum
Cascadia
ZetaChain
Shyft
Canto
Klaytn
Evmos
Boba
Chiado
Haqq
Shyft
Supernet
Arianee
undefined
Holesky
Arbitrum
Nova
Celo
Fuji
C-Chain
Avax
Celo
Alfajores
Autobahn
REI
Haqq
Rollux
Linea
Godwoken
v1
Milkomeda
C1
A1
Polis
Rethereum
Zora
Sepolia
Kanazawa
Meld
Aurora
16 changes: 15 additions & 1 deletion .github/workflows/generate-supported-networks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,18 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-
- name: Generate supported networks
run: node ./.github/scripts/generateSupportedNetworks.js
run: node ./.github/scripts/generateSupportedNetworks.js
- uses: actions/checkout@v4
- name: Commit changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git add .
git commit -m "Update supported networks"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
2 changes: 1 addition & 1 deletion safe-smart-account/supported-networks.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
This section lists the addresses of all the Safe contracts deployed grouped by version and chain. The same list can be found on the [GitHub repository](https://github.com/safe-global/safe-deployments), from which these pages are automatically generated.

The most recent version of the Safe contracts is `v1.4.1`, which adds compatibility with the ERC-4337. However, it is not supported yet in the [Safe{Wallet}](app.safe.global) interface and the Safe Transaction Service. For that reason, depending on your use case, it might be recommended to continue using `v1.3.0` until there is better support.
The most recent version of the Safe contracts is `v1.4.1`, which adds compatibility with the ERC-4337. However, it's not supported yet in the [Safe{Wallet}](app.safe.global) interface and the Safe Transaction Service. For that reason, depending on your use case, it might be recommended to continue using `v1.3.0` until there is better support.
10 changes: 5 additions & 5 deletions safe-smart-account/supported-networks/v1.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,39 @@ This page lists the addresses of all the Safe contracts `v1.0.0` grouped by chai

### Ethereum Mainnet

This network's Chain Id is 1.
This network's chain ID is 1.

- `gnosis_safe.sol`: [0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A](https://etherscan.io/address/0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A)
- `proxy_factory.sol`: [0x12302fE9c02ff50939BaAaaf415fc226C078613C](https://etherscan.io/address/0x12302fE9c02ff50939BaAaaf415fc226C078613C)


### Rinkeby

This network's Chain Id is 4.
This network's chain ID is 4.

- `gnosis_safe.sol`: [0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A](https://rinkeby.etherscan.io/address/0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A)
- `proxy_factory.sol`: [0x12302fE9c02ff50939BaAaaf415fc226C078613C](https://rinkeby.etherscan.io/address/0x12302fE9c02ff50939BaAaaf415fc226C078613C)


### Goerli

This network's Chain Id is 5.
This network's chain ID is 5.

- `gnosis_safe.sol`: [0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A](https://goerli.etherscan.io/address/0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A)
- `proxy_factory.sol`: [0x12302fE9c02ff50939BaAaaf415fc226C078613C](https://goerli.etherscan.io/address/0x12302fE9c02ff50939BaAaaf415fc226C078613C)


### LUKSO Mainnet

This network's Chain Id is 42.
This network's chain ID is 42.

- `gnosis_safe.sol`: [0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A](https://explorer.execution.mainnet.lukso.network/address/0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A)
- `proxy_factory.sol`: [0x12302fE9c02ff50939BaAaaf415fc226C078613C](https://explorer.execution.mainnet.lukso.network/address/0x12302fE9c02ff50939BaAaaf415fc226C078613C)


### Gnosis

This network's Chain Id is 100.
This network's chain ID is 100.

- `gnosis_safe.sol`: [0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A](https://gnosisscan.io/address/0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A)
- `proxy_factory.sol`: [0x12302fE9c02ff50939BaAaaf415fc226C078613C](https://gnosisscan.io/address/0x12302fE9c02ff50939BaAaaf415fc226C078613C)
Expand Down
16 changes: 8 additions & 8 deletions safe-smart-account/supported-networks/v1.1.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This page lists the addresses of all the Safe contracts `v1.1.1` grouped by chai

### Ethereum Mainnet

This network's Chain Id is 1.
This network's chain ID is 1.

- `create_and_add_modules.sol`: [0xF61A721642B0c0C8b334bA3763BA1326F53798C0](https://etherscan.io/address/0xF61A721642B0c0C8b334bA3763BA1326F53798C0)
- `create_call.sol`: [0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a](https://etherscan.io/address/0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a)
Expand All @@ -18,7 +18,7 @@ This network's Chain Id is 1.

### Rinkeby

This network's Chain Id is 4.
This network's chain ID is 4.

- `create_and_add_modules.sol`: [0xF61A721642B0c0C8b334bA3763BA1326F53798C0](https://rinkeby.etherscan.io/address/0xF61A721642B0c0C8b334bA3763BA1326F53798C0)
- `create_call.sol`: [0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a](https://rinkeby.etherscan.io/address/0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a)
Expand All @@ -30,7 +30,7 @@ This network's Chain Id is 4.

### Goerli

This network's Chain Id is 5.
This network's chain ID is 5.

- `create_and_add_modules.sol`: [0xF61A721642B0c0C8b334bA3763BA1326F53798C0](https://goerli.etherscan.io/address/0xF61A721642B0c0C8b334bA3763BA1326F53798C0)
- `create_call.sol`: [0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a](https://goerli.etherscan.io/address/0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a)
Expand All @@ -42,7 +42,7 @@ This network's Chain Id is 5.

### LUKSO Mainnet

This network's Chain Id is 42.
This network's chain ID is 42.

- `create_and_add_modules.sol`: [0xF61A721642B0c0C8b334bA3763BA1326F53798C0](https://explorer.execution.mainnet.lukso.network/address/0xF61A721642B0c0C8b334bA3763BA1326F53798C0)
- `create_call.sol`: [0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a](https://explorer.execution.mainnet.lukso.network/address/0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a)
Expand All @@ -54,7 +54,7 @@ This network's Chain Id is 42.

### TomoChain

This network's Chain Id is 88.
This network's chain ID is 88.

- `create_and_add_modules.sol`: 0xF61A721642B0c0C8b334bA3763BA1326F53798C0
- `create_call.sol`: 0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a
Expand All @@ -66,7 +66,7 @@ This network's Chain Id is 88.

### Gnosis

This network's Chain Id is 100.
This network's chain ID is 100.

- `create_and_add_modules.sol`: [0xF61A721642B0c0C8b334bA3763BA1326F53798C0](https://gnosisscan.io/address/0xF61A721642B0c0C8b334bA3763BA1326F53798C0)
- `create_call.sol`: [0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a](https://gnosisscan.io/address/0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a)
Expand All @@ -78,7 +78,7 @@ This network's Chain Id is 100.

### Energy Web Chain

This network's Chain Id is 246.
This network's chain ID is 246.

- `create_and_add_modules.sol`: [0xF61A721642B0c0C8b334bA3763BA1326F53798C0](https://explorer.energyweb.org/address/0xF61A721642B0c0C8b334bA3763BA1326F53798C0)
- `create_call.sol`: [0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a](https://explorer.energyweb.org/address/0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a)
Expand All @@ -90,7 +90,7 @@ This network's Chain Id is 246.

### Energy Web Volta Testnet

This network's Chain Id is 73799.
This network's chain ID is 73799.

- `create_and_add_modules.sol`: 0xF61A721642B0c0C8b334bA3763BA1326F53798C0
- `create_call.sol`: 0x8538fcbccba7f5303d2c679fa5d7a629a8c9bf4a
Expand Down
16 changes: 8 additions & 8 deletions safe-smart-account/supported-networks/v1.2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,56 +6,56 @@ This page lists the addresses of all the Safe contracts `v1.2.0` grouped by chai

### Ethereum Mainnet

This network's Chain Id is 1.
This network's chain ID is 1.

- `gnosis_safe.sol`: [0x6851D6fDFAfD08c0295C392436245E5bc78B0185](https://etherscan.io/address/0x6851D6fDFAfD08c0295C392436245E5bc78B0185)


### Rinkeby

This network's Chain Id is 4.
This network's chain ID is 4.

- `gnosis_safe.sol`: [0x6851D6fDFAfD08c0295C392436245E5bc78B0185](https://rinkeby.etherscan.io/address/0x6851D6fDFAfD08c0295C392436245E5bc78B0185)


### Goerli

This network's Chain Id is 5.
This network's chain ID is 5.

- `gnosis_safe.sol`: [0x6851D6fDFAfD08c0295C392436245E5bc78B0185](https://goerli.etherscan.io/address/0x6851D6fDFAfD08c0295C392436245E5bc78B0185)


### LUKSO Mainnet

This network's Chain Id is 42.
This network's chain ID is 42.

- `gnosis_safe.sol`: [0x6851D6fDFAfD08c0295C392436245E5bc78B0185](https://explorer.execution.mainnet.lukso.network/address/0x6851D6fDFAfD08c0295C392436245E5bc78B0185)


### TomoChain

This network's Chain Id is 88.
This network's chain ID is 88.

- `gnosis_safe.sol`: 0x6851D6fDFAfD08c0295C392436245E5bc78B0185


### Gnosis

This network's Chain Id is 100.
This network's chain ID is 100.

- `gnosis_safe.sol`: [0x6851D6fDFAfD08c0295C392436245E5bc78B0185](https://gnosisscan.io/address/0x6851D6fDFAfD08c0295C392436245E5bc78B0185)


### Energy Web Chain

This network's Chain Id is 246.
This network's chain ID is 246.

- `gnosis_safe.sol`: [0x6851D6fDFAfD08c0295C392436245E5bc78B0185](https://explorer.energyweb.org/address/0x6851D6fDFAfD08c0295C392436245E5bc78B0185)


### Energy Web Volta Testnet

This network's Chain Id is 73799.
This network's chain ID is 73799.

- `gnosis_safe.sol`: 0x6851D6fDFAfD08c0295C392436245E5bc78B0185

Expand Down
Loading
Loading