Skip to content

Commit

Permalink
Add secondname to the schema (#6)
Browse files Browse the repository at this point in the history
* add secondName

* add solana devnet

* update readme

* bump version
  • Loading branch information
YaroShkvorets authored Nov 13, 2024
1 parent 0152a3c commit 21c24dc
Show file tree
Hide file tree
Showing 46 changed files with 120 additions and 35 deletions.
2 changes: 2 additions & 0 deletions docs/adding-a-chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Each chain should be defined as a JSON file in the `registry` directory with the

- `shortName` - Brief display name (e.g., "Ethereum", "BNB")

- `secondName` [optional] - Second display name (e.g., "Sepolia", "One")

- `fullName` - Full display name (e.g., "Ethereum Mainnet", "BNB Smart Chain")

- `aliases` [optional] - Alternative names for the chain (e.g., ["ethereum", "eth", "eth-mainnet"]). Aliases need to be unique
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.4.3",
"version": "0.5.0",
"private": true,
"type": "module",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion registry/antelope/jungle4.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "jungle4",
"shortName": "Jungle4",
"shortName": "EOS",
"secondName": "Jungle4",
"fullName": "EOS Jungle4 Testnet",
"aliases": ["jungle"],
"caip2Id": "antelope:73e4385a2708e6d7048834fbc1079f2f",
Expand Down
3 changes: 2 additions & 1 deletion registry/antelope/kylin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "kylin",
"shortName": "Kylin",
"shortName": "EOS",
"secondName": "Kylin",
"fullName": "Kylin Testnet",
"aliases": ["eos-kylin"],
"caip2Id": "antelope:5fff1dae8dc8e2fc4d5b23b2c7665c97",
Expand Down
3 changes: 2 additions & 1 deletion registry/beacon/holesky-cl.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "holesky-cl",
"shortName": "Holesky Beacon",
"shortName": "Ethereum Beacon",
"secondName": "Holesky",
"fullName": "Ethereum Holesky Consensus Layer Chain",
"aliases": ["holesky-beacon"],
"caip2Id": "beacon:17000",
Expand Down
3 changes: 2 additions & 1 deletion registry/beacon/sepolia-cl.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "sepolia-cl",
"shortName": "Sepolia Beacon",
"shortName": "Ethereum Beacon",
"secondName": "Sepolia",
"fullName": "Ethereum Sepolia Consensus Layer Chain",
"aliases": ["sepolia-beacon"],
"caip2Id": "beacon:11155111",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/arbitrum-nova.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "arbitrum-nova",
"shortName": "Arbitrum Nova",
"shortName": "Arbitrum",
"secondName": "Nova",
"fullName": "Arbitrum Nova",
"aliases": ["evm-42170", "arbnova", "arb-nova", "arbitrum-nova-mainnet"],
"caip2Id": "eip155:42170",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/arbitrum-one.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "arbitrum-one",
"shortName": "Arbitrum One",
"shortName": "Arbitrum",
"secondName": "One",
"fullName": "Arbitrum One Mainnet",
"aliases": ["arbone", "arbitrum", "arb-sepolia", "evm-42161"],
"caip2Id": "eip155:42161",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/arbitrum-sepolia.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "arbitrum-sepolia",
"shortName": "Arbitrum Sepolia",
"shortName": "Arbitrum",
"secondName": "Sepolia",
"fullName": "Arbitrum Sepolia Testnet",
"aliases": ["evm-421614"],
"caip2Id": "eip155:421614",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/astar-zkevm-mainnet.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "astar-zkevm-mainnet",
"shortName": "Astar zkEVM",
"shortName": "Astar",
"secondName": "zkEVM",
"fullName": "Astar zkEVM Mainnet",
"aliases": ["evm-3776", "astar", "astar-zkevm"],
"caip2Id": "eip155:3776",
Expand Down
1 change: 1 addition & 0 deletions registry/eip155/avalanche.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "avalanche",
"shortName": "Avalanche",
"secondName": "C-Chain",
"fullName": "Avalanche C-Chain",
"aliases": ["evm-43114", "avalanche-mainnet"],
"caip2Id": "eip155:43114",
Expand Down
1 change: 1 addition & 0 deletions registry/eip155/base-sepolia.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "base-sepolia",
"shortName": "Base",
"secondName": "Sepolia",
"fullName": "Base Sepolia Testnet",
"aliases": ["evm-84532", "base-testnet"],
"caip2Id": "eip155:84532",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/blast-testnet.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "blast-testnet",
"shortName": "Blast Sepolia",
"shortName": "Blast",
"secondName": "Sepolia",
"fullName": "Blast Sepolia Testnet",
"aliases": ["evm-23888", "blast-sepolia"],
"caip2Id": "eip155:23888",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/boba-bnb-testnet.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "boba-bnb-testnet",
"shortName": "Boba BNB",
"shortName": "Boba",
"secondName": "BNB",
"fullName": "Boba BNB Testnet",
"aliases": ["evm-9728", "boba-bsc-testnet"],
"caip2Id": "eip155:9728",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/boba-bnb.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "boba-bnb",
"shortName": "Boba BNB",
"shortName": "Boba",
"secondName": "BNB",
"fullName": "Boba BNB Mainnet",
"aliases": ["evm-56288", "boba-bsc"],
"caip2Id": "eip155:56288",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/boba-testnet.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "boba-testnet",
"shortName": "Boba Sepolia",
"shortName": "Boba",
"secondName": "Sepolia",
"fullName": "Boba Sepolia Testnet",
"aliases": ["boba-sepolia"],
"caip2Id": "eip155:28882",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/celo-alfajores.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "celo-alfajores",
"shortName": "Celo Alfajores",
"shortName": "Celo",
"secondName": "Alfajores",
"fullName": "Celo Alfajores Testnet",
"aliases": ["evm-44787", "celo-testnet"],
"caip2Id": "eip155:44787",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/chapel.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "chapel",
"shortName": "BNB Chapel",
"shortName": "BNB",
"secondName": "Chapel",
"fullName": "BNB Smart Chain Chapel Testnet",
"aliases": ["bnb-chapel", "bnb-testnet", "bsc-testnet"],
"caip2Id": "eip155:97",
Expand Down
1 change: 1 addition & 0 deletions registry/eip155/chiliz-testnet.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "chiliz-testnet",
"shortName": "Chiliz",
"secondName": "Spicy",
"fullName": "Chiliz Spicy Testnet",
"aliases": ["chiliz-spicy-testnet", "evm-88882"],
"caip2Id": "eip155:88882",
Expand Down
2 changes: 1 addition & 1 deletion registry/eip155/fantom-testnet.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "fantom-testnet",
"shortName": "Fantom",
"fullName": "Fantom Opera Testnet",
"fullName": "Fantom Testnet",
"aliases": ["evm-4002"],
"caip2Id": "eip155:4002",
"graphNode": { "protocol": "ethereum" },
Expand Down
1 change: 1 addition & 0 deletions registry/eip155/fantom.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "fantom",
"shortName": "Fantom",
"secondName": "Opera",
"fullName": "Fantom Opera Mainnet",
"aliases": ["evm-250", "fantom-mainnet", "fantom-opera"],
"caip2Id": "eip155:250",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/fuji.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "fuji",
"shortName": "Avalanche Fuji",
"shortName": "Avalanche",
"secondName": "Fuji",
"fullName": "Avalanche Fuji Testnet",
"aliases": ["evm-43113", "avalanche-fuji"],
"caip2Id": "eip155:43113",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/gnosis-chiado.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "gnosis-chiado",
"shortName": "Gnosis Chiado",
"shortName": "Gnosis",
"secondName": "Chiado",
"fullName": "Gnosis Chiado Testnet",
"aliases": ["chiado"],
"caip2Id": "eip155:10200",
Expand Down
1 change: 1 addition & 0 deletions registry/eip155/gravity-mainnet.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "gravity-mainnet",
"shortName": "Gravity",
"secondName": "Alpha",
"fullName": "Gravity Alpha Mainnet",
"aliases": ["gravity"],
"caip2Id": "eip155:1625",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/gravity-testnet.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "gravity-testnet",
"shortName": "Gravity Sepolia",
"shortName": "Gravity",
"secondName": "Sepolia",
"fullName": "Gravity Sepolia Testnet",
"aliases": ["gravity-sepolia"],
"caip2Id": "eip155:13505",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/holesky.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "holesky",
"shortName": "Holesky",
"shortName": "Ethereum",
"secondName": "Holesky",
"fullName": "Ethereum Holesky Testnet",
"aliases": ["evm-17000"],
"caip2Id": "eip155:17000",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/jungle4-evm.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "jungle4-evm",
"shortName": "Jungle4 EVM",
"shortName": "EOS EVM",
"secondName": "Jungle4",
"fullName": "EOS Jungle4 EVM Testnet",
"aliases": ["jungle4-evm-testnet", "eos-evm-testnet", "evm-15557"],
"caip2Id": "eip155:15557",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/kaia-testnet.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"id": "kaia-testnet",
"shortName": "Kaia",
"fullName": "Kaia Testnet Kairos",
"secondName": "Kairos",
"fullName": "Kaia Kairos Testnet",
"aliases": ["evm-1001"],
"caip2Id": "eip155:1001",
"graphNode": { "protocol": "ethereum" },
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/linea-sepolia.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "linea-sepolia",
"shortName": "Linea Sepolia",
"shortName": "Linea",
"secondName": "Sepolia",
"fullName": "Linea Sepolia Testnet",
"aliases": ["evm-59141", "linea-testnet"],
"caip2Id": "eip155:59141",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/mbase.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "mbase",
"shortName": "Moonbase Alpha",
"shortName": "Moonbase",
"secondName": "Alpha",
"fullName": "Moonbase Alpha Testnet",
"aliases": ["evm-1287", "moonbase"],
"caip2Id": "eip155:1287",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/mode-sepolia.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "mode-sepolia",
"shortName": "Mode Sepolia",
"shortName": "Mode",
"secondName": "Sepolia",
"fullName": "Mode Sepolia Testnet",
"aliases": ["evm-919", "mode-testnet"],
"caip2Id": "eip155:919",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/optimism-sepolia.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "optimism-sepolia",
"shortName": "Optimism Sepolia",
"shortName": "Optimism",
"secondName": "Sepolia",
"fullName": "OP Sepolia Testnet",
"aliases": ["op-sepolia", "opsepolia"],
"caip2Id": "eip155:11155420",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/polygon-amoy.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "polygon-amoy",
"shortName": "Amoy",
"shortName": "Polygon",
"secondName": "Amoy",
"fullName": "Polygon Amoy Testnet",
"aliases": ["amoy-testnet", "amoy"],
"caip2Id": "eip155:80002",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/polygon-zkevm.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "polygon-zkevm",
"shortName": "Polygon zkEVM",
"shortName": "Polygon",
"secondName": "zkEVM",
"fullName": "Polygon zkEVM Mainnet",
"aliases": [],
"caip2Id": "eip155:1101",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/scroll-sepolia.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "scroll-sepolia",
"shortName": "Scroll Sepolia",
"shortName": "Scroll",
"secondName": "Sepolia",
"fullName": "Scroll Sepolia Testnet",
"aliases": ["evm-534351", "scroll-testnet"],
"caip2Id": "eip155:534351",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/sei-atlantic.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "sei-atlantic",
"shortName": "Sei Atlantic",
"shortName": "Sei",
"secondName": "Atlantic",
"fullName": "Sei Atlantic Testnet",
"aliases": ["sei-testnet", "sei-atlantic2"],
"caip2Id": "eip155:1328",
Expand Down
5 changes: 3 additions & 2 deletions registry/eip155/sepolia.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"id": "sepolia",
"shortName": "Ethereum Sepolia",
"fullName": "Ethereum Seepolia Testnet",
"shortName": "Ethereum",
"secondName": "Sepolia",
"fullName": "Ethereum Sepolia Testnet",
"aliases": ["evm-11155111"],
"caip2Id": "eip155:11155111",
"networkType": "testnet",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/soneium-minato.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "soneium-minato",
"shortName": "Soneium Minato",
"shortName": "Soneium",
"secondName": "Minato",
"fullName": "Soneium Minato Testnet",
"aliases": ["soneium-minato-testnet", "soneium-testnet"],
"caip2Id": "eip155:1946",
Expand Down
3 changes: 2 additions & 1 deletion registry/eip155/unichain-testnet.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "unichain-testnet",
"shortName": "Unichain Sepolia",
"shortName": "Unichain",
"secondName": "Sepolia",
"fullName": "Unichain Sepolia Testnet",
"aliases": ["evm-1301"],
"caip2Id": "eip155:1301",
Expand Down
1 change: 1 addition & 0 deletions registry/eip155/xlayer-sepolia.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "xlayer-sepolia",
"shortName": "XLayer",
"secondName": "Sepolia",
"fullName": "XLayer Testnet",
"aliases": ["evm-195"],
"caip2Id": "eip155:195",
Expand Down
1 change: 1 addition & 0 deletions registry/eip155/zksync-era-sepolia.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "zksync-era-sepolia",
"shortName": "zkSync",
"secondName": "Sepolia",
"fullName": "zkSync Sepolia Testnet",
"aliases": ["evm-300", "zksync-testnet", "zksync-sepolia"],
"caip2Id": "eip155:300",
Expand Down
1 change: 1 addition & 0 deletions registry/eip155/zksync-era.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"id": "zksync-era",
"shortName": "zkSync",
"secondName": "Era",
"fullName": "zkSync Mainnet",
"aliases": ["evm-324", "zksync"],
"caip2Id": "eip155:324",
Expand Down
Loading

0 comments on commit 21c24dc

Please sign in to comment.