Skip to content

Commit

Permalink
Add opBNB (#8)
Browse files Browse the repository at this point in the history
* add opBNB chain

* bump version
  • Loading branch information
YaroShkvorets authored Nov 13, 2024
1 parent 537b7a0 commit 7faa74d
Show file tree
Hide file tree
Showing 14 changed files with 151 additions and 21 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.5.0",
"version": "0.5.1",
"private": true,
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion registry/eip155/avalanche.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"explorerUrls": ["https://snowtrace.io"],
"rpcUrls": [
"https://api.avax.network/ext/bc/C/rpc",
"https://avalanche.rpc.pinax.network/v1/{PINAX_API_KEY}",
"https://avalanche.rpc.pinax.network/v1/{PINAX_API_KEY}/ext/bc/C/rpc",
"https://avalanche-c-chain-rpc.publicnode.com"
],
"apiUrls": [{ "url": "https://api.snowtrace.io/api", "kind": "etherscan" }],
Expand Down
13 changes: 11 additions & 2 deletions registry/eip155/base-sepolia.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,21 @@
"explorerUrls": ["https://sepolia.basescan.org"],
"rpcUrls": [
"https://sepolia.base.org",
"https://base-sepolia-rpc.publicnode.com"
"https://base-sepolia-rpc.publicnode.com",
"https://basesepolia.rpc.pinax.network/v1/{PINAX_API_KEY}"
],
"apiUrls": [
{ "url": "https://base-sepolia.abi.pinax.network/api", "kind": "etherscan" }
],
"services": { "subgraphs": [{ "provider": "e&n" }] },
"services": {
"subgraphs": [{ "provider": "e&n" }],
"firehose": [
{ "provider": "pinax", "url": "basesepolia.firehose.pinax.network:443" }
],
"substreams": [
{ "provider": "pinax", "url": "basesepolia.substreams.pinax.network:443" }
]
},
"networkType": "testnet",
"relations": [
{ "kind": "testnetOf", "network": "base" },
Expand Down
6 changes: 5 additions & 1 deletion registry/eip155/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"caip2Id": "eip155:8453",
"graphNode": { "protocol": "ethereum" },
"explorerUrls": ["https://base.blockscout.com"],
"rpcUrls": ["https://mainnet.base.org", "https://base-rpc.publicnode.com"],
"rpcUrls": [
"https://mainnet.base.org",
"https://base-rpc.publicnode.com",
"https://base.rpc.pinax.network/v1/{PINAX_API_KEY}"
],
"apiUrls": [
{ "url": "https://base.abi.pinax.network/api", "kind": "etherscan" }
],
Expand Down
38 changes: 38 additions & 0 deletions registry/eip155/bnb-op.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"id": "bnb-op",
"shortName": "opBNB",
"fullName": "opBNB Mainnet",
"aliases": ["evm-204", "opbnb", "bsc-op"],
"caip2Id": "eip155:204",
"graphNode": { "protocol": "ethereum" },
"relations": [{ "kind": "l2Of", "network": "bsc" }],
"explorerUrls": ["https://opbnbscan.com"],
"rpcUrls": [
"https://opbnb-mainnet-rpc.bnbchain.org",
"https://opbnb.rpc.pinax.network/v1/{PINAX_API_KEY}"
],
"apiUrls": [],
"services": {
"firehose": [
{ "provider": "pinax", "url": "opbnb.firehose.pinax.network:443" }
],
"substreams": [
{ "provider": "pinax", "url": "opbnb.substreams.pinax.network:443" }
]
},
"networkType": "mainnet",
"issuanceRewards": false,
"nativeToken": "BNB",
"docsUrl": "https://docs.bnbchain.org/bnb-opbnb",
"genesis": {
"hash": "0x4dd61178c8b0f01670c231597e7bcb368e84545acd46d940a896d6a791dd6df4",
"height": 0
},
"firehose": {
"blockType": "sf.ethereum.type.v2.Block",
"evmExtendedModel": false,
"bufUrl": "https://buf.build/streamingfast/firehose-ethereum",
"bytesEncoding": "hex"
},
"icon": { "web3Icons": { "name": "binance-smart-chain" } }
}
13 changes: 11 additions & 2 deletions registry/eip155/boba-bnb.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,24 @@
"explorerUrls": ["https://bnb.bobascan.com"],
"rpcUrls": [
"https://bnb.boba.network",
"https://boba-bnb.gateway.tenderly.co"
"https://boba-bnb.gateway.tenderly.co",
"https://bobabnb.rpc.pinax.network/v1/{PINAX_API_KEY}"
],
"apiUrls": [
{
"url": "https://api.routescan.io/v2/network/mainnet/evm/56288/etherscan/api",
"kind": "etherscan"
}
],
"services": { "subgraphs": [{ "provider": "e&n" }] },
"services": {
"subgraphs": [{ "provider": "e&n" }],
"firehose": [
{ "provider": "pinax", "url": "bobabnb.firehose.pinax.network:443" }
],
"substreams": [
{ "provider": "pinax", "url": "bobabnb.substreams.pinax.network:443" }
]
},
"networkType": "mainnet",
"relations": [{ "kind": "l2Of", "network": "bsc" }],
"issuanceRewards": true,
Expand Down
6 changes: 5 additions & 1 deletion registry/eip155/chiliz.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"caip2Id": "eip155:88888",
"graphNode": { "protocol": "ethereum" },
"explorerUrls": ["https://chiliscan.com"],
"rpcUrls": ["https://rpc.chiliz.com", "https://rpc.ankr.com/chiliz"],
"rpcUrls": [
"https://rpc.chiliz.com",
"https://rpc.ankr.com/chiliz",
"https://chiliz.rpc.pinax.network/v1/{PINAX_API_KEY}"
],
"apiUrls": [{ "url": "https://scan.chiliz.com/api", "kind": "etherscan" }],
"networkType": "mainnet",
"services": { "subgraphs": [{ "provider": "e&n" }] },
Expand Down
10 changes: 9 additions & 1 deletion registry/eip155/fantom.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,15 @@
"apiUrls": [
{ "url": "https://fantom.abi.pinax.network/api", "kind": "etherscan" }
],
"services": { "subgraphs": [{ "provider": "e&n" }] },
"services": {
"subgraphs": [{ "provider": "e&n" }],
"firehose": [
{ "provider": "pinax", "url": "fantom.firehose.pinax.network:443" }
],
"substreams": [
{ "provider": "pinax", "url": "fantom.substreams.pinax.network:443" }
]
},
"networkType": "mainnet",
"issuanceRewards": true,
"nativeToken": "FTM",
Expand Down
5 changes: 4 additions & 1 deletion registry/eip155/fuji.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"caip2Id": "eip155:43113",
"graphNode": { "protocol": "ethereum" },
"explorerUrls": ["https://testnet.snowscan.xyz"],
"rpcUrls": ["https://api.avax-test.network/ext/bc/C/rpc"],
"rpcUrls": [
"https://api.avax-test.network/ext/bc/C/rpc",
"https://fuji.rpc.pinax.network/v1/{PINAX_API_KEY}/ext/bc/C/rpc"
],
"apiUrls": [
{ "url": "https://api-testnet.snowtrace.io/api", "kind": "etherscan" }
],
Expand Down
15 changes: 13 additions & 2 deletions registry/eip155/gravity-mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,22 @@
"caip2Id": "eip155:1625",
"graphNode": { "protocol": "ethereum" },
"explorerUrls": ["https://explorer.gravity.xyz"],
"rpcUrls": ["https://rpc.gravity.xyz"],
"rpcUrls": [
"https://rpc.gravity.xyz",
"https://gravity.rpc.pinax.network/v1/{PINAX_API_KEY}"
],
"apiUrls": [
{ "url": "https://explorer.gravity.xyz/api", "kind": "etherscan" }
],
"services": { "subgraphs": [{ "provider": "e&n" }] },
"services": {
"subgraphs": [{ "provider": "e&n" }],
"firehose": [
{ "provider": "pinax", "url": "gravity.firehose.pinax.network:443" }
],
"substreams": [
{ "provider": "pinax", "url": "gravity.substreams.pinax.network:443" }
]
},
"networkType": "mainnet",
"relations": [{ "kind": "l2Of", "network": "mainnet" }],
"issuanceRewards": false,
Expand Down
15 changes: 12 additions & 3 deletions registry/eip155/optimism.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"explorerUrls": ["https://optimistic.etherscan.io"],
"rpcUrls": [
"https://mainnet.optimism.io",
"https://optimism-rpc.publicnode.com"
"https://optimism-rpc.publicnode.com",
"https://optimism.rpc.pinax.network/v1/{PINAX_API_KEY}"
],
"apiUrls": [
{ "url": "https://optimism.abi.pinax.network/api", "kind": "etherscan" }
Expand All @@ -18,10 +19,18 @@
"subgraphs": [{ "provider": "e&n" }],
"sps": [{ "provider": "e&n" }],
"firehose": [
{ "provider": "streamingfast", "url": "opt-mainnet.streamingfast.io:443" }
{
"provider": "streamingfast",
"url": "opt-mainnet.streamingfast.io:443"
},
{ "provider": "pinax", "url": "optimism.firehose.pinax.network:443" }
],
"substreams": [
{ "provider": "streamingfast", "url": "opt-mainnet.streamingfast.io:443" }
{
"provider": "streamingfast",
"url": "opt-mainnet.streamingfast.io:443"
},
{ "provider": "pinax", "url": "optimism.substreams.pinax.network:443" }
]
},
"networkType": "mainnet",
Expand Down
15 changes: 13 additions & 2 deletions registry/eip155/scroll-sepolia.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,22 @@
"caip2Id": "eip155:534351",
"graphNode": { "protocol": "ethereum" },
"explorerUrls": ["https://sepolia.scrollscan.com"],
"rpcUrls": ["https://sepolia-rpc.scroll.io"],
"rpcUrls": [
"https://sepolia-rpc.scroll.io",
"https://scrsepolia.rpc.pinax.network/v1/{PINAX_API_KEY}"
],
"apiUrls": [
{ "url": "https://api-sepolia.scrollscan.com/api", "kind": "etherscan" }
],
"services": { "subgraphs": [{ "provider": "e&n" }] },
"services": {
"subgraphs": [{ "provider": "e&n" }],
"firehose": [
{ "provider": "pinax", "url": "scrsepolia.firehose.pinax.network:443" }
],
"substreams": [
{ "provider": "pinax", "url": "scrsepolia.substreams.pinax.network:443" }
]
},
"networkType": "testnet",
"relations": [
{ "kind": "l2Of", "network": "sepolia" },
Expand Down
15 changes: 13 additions & 2 deletions registry/eip155/xlayer-mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,20 @@
"caip2Id": "eip155:196",
"graphNode": { "protocol": "ethereum" },
"explorerUrls": ["https://www.oklink.com/xlayer"],
"rpcUrls": ["https://rpc.xlayer.tech"],
"rpcUrls": [
"https://rpc.xlayer.tech",
"https://xlayer.rpc.pinax.network/v1/{PINAX_API_KEY}"
],
"apiUrls": [],
"services": { "subgraphs": [{ "provider": "e&n" }] },
"services": {
"subgraphs": [{ "provider": "e&n" }],
"firehose": [
{ "provider": "pinax", "url": "xlayer.firehose.pinax.network:443" }
],
"substreams": [
{ "provider": "pinax", "url": "xlayer.substreams.pinax.network:443" }
]
},
"networkType": "mainnet",
"relations": [{ "kind": "l2Of", "network": "mainnet" }],
"issuanceRewards": false,
Expand Down
17 changes: 15 additions & 2 deletions registry/starknet/starknet-testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,23 @@
{ "kind": "testnetOf", "network": "starknet-mainnet" }
],
"explorerUrls": ["https://sepolia.starkscan.co"],
"rpcUrls": ["https://starknet-sepolia.public.blastapi.io"],
"rpcUrls": [
"https://starknet-sepolia.public.blastapi.io",
"https://starksepolia.rpc.pinax.network/v1/{PINAX_API_KEY}"
],
"apiUrls": [],
"networkType": "testnet",
"services": {},
"services": {
"firehose": [
{ "provider": "pinax", "url": "starksepolia.firehose.pinax.network:443" }
],
"substreams": [
{
"provider": "pinax",
"url": "starksepolia.substreams.pinax.network:443"
}
]
},
"issuanceRewards": false,
"nativeToken": "STRK",
"docsUrl": "https://docs.starknet.io",
Expand Down

0 comments on commit 7faa74d

Please sign in to comment.