Skip to content

Commit

Permalink
Merge branch 'ethereum-lists:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
nohaapav authored Dec 12, 2024
2 parents 1fe7f4b + f47891d commit 892341b
Show file tree
Hide file tree
Showing 1,359 changed files with 21,641 additions and 688 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/action_lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: Github-Action linter
on: [pull_request]
jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: reviewdog/action-actionlint@v1
2 changes: 1 addition & 1 deletion .github/workflows/pr_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
else
echo "Trying to download the image..."
TARGET_FILE=icon
curl -Lo icon "https://cloudflare-ipfs.com/ipfs/$IPFS_HASH" 2>/dev/null
curl -Lo icon "https://dweb.link/ipfs/$IPFS_HASH" 2>/dev/null
fi
METADATA=$(exiftool $TARGET_FILE -json)
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/pr_intro_comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on:
pull_request_target:
types: [opened]
jobs:
comment_on_pr:
runs-on: ubuntu-latest
name: Comment after PR is submitted
steps:
- name: Comment PR
uses: thollander/actions-comment-pull-request@v2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
message: |
You successfully submitted a PR! Due to the amount of PRs coming in: we will only look at PRs that the CI is happy with. We can also not hold your hand getting the CI green - just look how others that where merged did it and RTFM. So as long as there is any CI check that reports an error - no human will look at this. You might be able to ask for some support after supporting the project - e.g. by sending funds to lists.eth. When you fixed things after a requested change - then you also need to (re-)request a review.
31 changes: 0 additions & 31 deletions .github/workflows/prettier_write.yml

This file was deleted.

31 changes: 16 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The source data is in _data/chains. Each chain has its own file with the filename being the [CAIP-2](https://github.com/ChainAgnostic/CAIPs/blob/master/CAIPs/caip-2.md) representation as name and `.json` as extension.

## Example
## Example:

```json
{
Expand Down Expand Up @@ -33,7 +33,8 @@ The source data is in _data/chains. Each chain has its own file with the filenam
}
```

when an icon is used in either the network or an explorer there must be a json in _data/icons with the name used (e.g. in the above example there must be a `ethereum.json` and a `etherscan.json` in there) - the icon jsons look like this:
When an icon is used in either the network or an explorer, there must be a JSON in _data/icons with the name used.
(e.g. in the above example there must be a `ethereum.json` and a `etherscan.json` in there) - The icon JSON files look like this:

```json

Expand All @@ -49,9 +50,10 @@ when an icon is used in either the network or an explorer there must be a json i
```

where:
* the URL must be an IPFS url that is publicly resolvable
* width and height are positive integers
* The URL MUST be publicly resolvable through IPFS
* width and height MUST be positive integers
* format is either "png", "jpg" or "svg"
* size MUST be less than 250kb

If the chain is an L2 or a shard of another chain you can link it to the parent chain like this:

Expand All @@ -67,7 +69,7 @@ If the chain is an L2 or a shard of another chain you can link it to the parent
}
```

where you need to specify type 2 and the reference to an existing parent. The field about bridges is optional.
where you need to specify the type and the reference to an existing parent. The field about bridges is optional.

You can add a `status` field e.g. to deprecate (via status `deprecated`) a chain (a chain should never be deleted as this would open the door to replay attacks)
Other options for `status` are `active` (default) or `incubating`
Expand All @@ -82,7 +84,7 @@ There are also aggregated json files with all chains automatically assembled:

* the shortName and name MUST be unique - see e.g. EIP-3770 on why
* if referencing a parent chain - the chain MUST exist in the repo
* if using a IPFS CID for the icon - the CID MUST be retrievable via `ipfs get` - not only through some gateway (means please do not use pinata for now)
* if using an IPFS CID for the icon - the CID MUST be retrievable via `ipfs get` - not only through some gateway (means please do not use pinata for now)
* for more constraints you can look into the CI

## Collision management
Expand All @@ -95,7 +97,7 @@ There are also aggregated json files with all chains automatically assembled:
## Getting your PR merged
### before PR is submitted

Before submitting a PR, please verify that checks pass with:
Before submitting a PR, please ensure all checks pass by running:

```bash
$ ./gradlew run
Expand All @@ -104,6 +106,13 @@ BUILD SUCCESSFUL in 7s
9 actionable tasks: 9 executed
```

Additionally, run Prettier to format your JSON according to the style [defined here ](https://github.com/ethereum-lists/chains/blob/master/.prettierrc.json)
e.g. run

```
npx prettier --write _data/*/*.json
```

### Once PR is submitted

* Make sure CI is green. There will likely be no review when the CI is red.
Expand All @@ -130,19 +139,11 @@ BUILD SUCCESSFUL in 7s
### Listing sites
* [chainid.network](https://chainid.network) / [chainlist.wtf](https://chainlist.wtf)
* [chainlist.org](https://chainlist.org)
* [chaindirectory.xyz](https://www.chaindirectory.xyz)
* [chain-list.org](https://chain-list.org)
* [chainlist.network](https://chainlist.network/)
* [chainlist.info](https://chainlist.info)
* [chainmap.io](https://chainmap.io)
* [chainlist.in](https://www.chainlist.in)
* [chainz.me](https://chainz.me)
* [Chainlink docs](https://docs.chain.link/)
* [dRPC Chainlist - Load-balanced public nodes](https://drpc.org/chainlist)
* [eth-chains](https://github.com/taylorjdawson/eth-chains)
* [EVM-BOX](https://github.com/izayl/evm-box)
* [evmchain.info](https://evmchain.info)
* [evmchainlist.com](https://evmchainlist.com)
* [evmchainlist.org](https://evmchainlist.org)
* [networks.vercel.app](https://networks.vercel.app)
* [Wagmi compatible chain configurations](https://spenhouet.com/chains)
Expand Down
5 changes: 5 additions & 0 deletions _data/chains/eip155-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
"url": "https://ethereum.dex.guru",
"icon": "dexguru",
"standard": "EIP3091"
},
{
"name": "Routescan",
"url": "https://ethereum.routescan.io",
"standard": "EIP3091"
}
]
}
5 changes: 5 additions & 0 deletions _data/chains/eip155-10.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
"url": "https://optimism.dex.guru",
"icon": "dexguru",
"standard": "EIP3091"
},
{
"name": "Routescan",
"url": "https://mainnet.superscan.network",
"standard": "EIP3091"
}
]
}
25 changes: 25 additions & 0 deletions _data/chains/eip155-100000000.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "Ethos",
"chain": "ETHOS",
"rpc": ["https://rpc.ethos.cool"],
"faucets": ["https://faucet.ethos.cool"],
"nativeCurrency": {
"name": "ETHOS",
"symbol": "ETHOS",
"decimals": 18
},
"features": [{ "name": "EIP155" }, { "name": "EIP1559" }],
"infoURL": "https://ethos.cool",
"shortName": "ETHOS",
"chainId": 100000000,
"networkId": 100000000,
"icon": "ethos",
"explorers": [
{
"name": "ethos scan",
"url": "https://scan.ethos.cool",
"icon": "ethos",
"standard": "EIP3091"
}
]
}
2 changes: 1 addition & 1 deletion _data/chains/eip155-100009.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "VeChain",
"chain": "VeChain",
"rpc": [],
"rpc": ["https://rpc-mainnet.vechain.energy"],
"faucets": [],
"nativeCurrency": {
"name": "VeChain",
Expand Down
2 changes: 1 addition & 1 deletion _data/chains/eip155-100010.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "VeChain Testnet",
"chain": "VeChain",
"rpc": [],
"rpc": ["https://rpc-testnet.vechain.energy"],
"faucets": ["https://faucet.vecha.in"],
"nativeCurrency": {
"name": "VeChain",
Expand Down
19 changes: 19 additions & 0 deletions _data/chains/eip155-100011.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "QuarkChain L2 Mainnet",
"chain": "QuarkChain",
"rpc": ["https://mainnet-l2-ethapi.quarkchain.io"],
"faucets": [],
"nativeCurrency": {
"name": "QKC",
"symbol": "QKC",
"decimals": 18
},
"infoURL": "https://www.quarkchain.io",
"shortName": "qkc-l2",
"chainId": 100011,
"networkId": 100011,
"parent": {
"type": "L2",
"chain": "eip155-100000"
}
}
27 changes: 12 additions & 15 deletions _data/chains/eip155-1001.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,27 @@
{
"name": "Klaytn Testnet Baobab",
"chain": "KLAY",
"rpc": [
"https://public-en-baobab.klaytn.net",
"https://api.baobab.klaytn.net:8651"
],
"faucets": ["https://baobab.wallet.klaytn.com/access?next=faucet"],
"name": "Kaia Kairos Testnet",
"chain": "KAIA",
"rpc": ["https://public-en-kairos.node.kaia.io"],
"faucets": ["https://faucet.kaia.io"],
"nativeCurrency": {
"name": "KLAY",
"symbol": "KLAY",
"name": "KAIA",
"symbol": "KAIA",
"decimals": 18
},
"infoURL": "https://klaytn.foundation",
"shortName": "Baobab",
"infoURL": "https://kaia.io/",
"shortName": "kaia-kairos",
"chainId": 1001,
"networkId": 1001,
"slip44": 1,
"explorers": [
{
"name": "Klaytnscope",
"url": "https://baobab.klaytnscope.com",
"name": "Kaiascope",
"url": "https://kairos.kaiascope.com",
"standard": "EIP3091"
},
{
"name": "Klaytnfinder",
"url": "https://baobab.klaytnfinder.io",
"name": "Kaiascan",
"url": "https://kairos.kaiascan.io",
"standard": "EIP3091"
}
]
Expand Down
19 changes: 19 additions & 0 deletions _data/chains/eip155-10010.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "Warden Testnet",
"chain": "WARD",
"rpc": [
"https://evm.chiado.wardenprotocol.org",
"wss://evm-ws.chiado.wardenprotocol.org"
],
"faucets": ["https://faucet.chiado.wardenprotocol.org"],
"nativeCurrency": {
"name": "WARD",
"symbol": "WARD",
"decimals": 18
},
"infoURL": "https://wardenprotocol.org",
"icon": "warden",
"shortName": "ward",
"chainId": 10010,
"networkId": 10010
}
23 changes: 23 additions & 0 deletions _data/chains/eip155-10025.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "AEON Chain",
"chain": "AEON Chain",
"icon": "aeon",
"rpc": ["https://node.aeon.xyz/rpc"],
"faucets": [],
"nativeCurrency": {
"name": "AEON Token",
"symbol": "AEON",
"decimals": 18
},
"infoURL": "",
"shortName": "aeon",
"chainId": 10025,
"networkId": 10025,
"explorers": [
{
"name": "AEON Explorer",
"url": "https://scan.aeon.xyz",
"standard": "none"
}
]
}
19 changes: 19 additions & 0 deletions _data/chains/eip155-1005.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "LemonChainTestnet",
"chain": "tLEMX",
"rpc": [
"https://rpc.testnet.lemonchain.io",
"https://rpc.testnet.allthingslemon.io"
],
"faucets": [],
"nativeCurrency": {
"name": "testnet LEMX",
"symbol": "tLEMX",
"decimals": 18
},
"infoURL": "https://dapp.allthingslemon.io/home",
"shortName": "tlemx",
"chainId": 1005,
"networkId": 1005,
"explorers": []
}
16 changes: 16 additions & 0 deletions _data/chains/eip155-10058111.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Spotlight",
"chain": "ETH",
"rpc": [],
"faucets": [],
"nativeCurrency": {
"name": "Ether",
"symbol": "ETH",
"decimals": 18
},
"infoURL": "https://spotlightchain.com/",
"shortName": "spotlight",
"chainId": 10058111,
"networkId": 10058111,
"status": "incubating"
}
16 changes: 16 additions & 0 deletions _data/chains/eip155-10058112.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Spotlight Sepolia Testnet",
"chain": "ETH",
"rpc": [],
"faucets": [],
"nativeCurrency": {
"name": "Sepolia Ether",
"symbol": "ETH",
"decimals": 18
},
"infoURL": "https://spotlightchain.com/",
"shortName": "spotlightsep",
"chainId": 10058112,
"networkId": 10058112,
"status": "incubating"
}
Loading

0 comments on commit 892341b

Please sign in to comment.