Skip to content

Commit

Permalink
chore(bens): add configs for indexing names from puppynet
Browse files Browse the repository at this point in the history
  • Loading branch information
renatoalencar committed Jan 14, 2025
1 parent 1c70b84 commit 62b3211
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 2 deletions.
31 changes: 29 additions & 2 deletions blockscout-ens/bens-server/config/dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,18 @@
"url": "https://shibariumscan.io"
},
"use_protocols": [
"d3_connect"
"d3_connect_shib"
],
"rpc_url": "https://www.shibrpc.com"
},
"157": {
"blockscout": {
"url": "https://puppyscan.shib.io/"
},
"use_protocols": [
"d3_connect_shib_testnet"
],
"rpc_url": "https://puppynet.shibrpc.com"
}
},
"protocols": {
Expand Down Expand Up @@ -69,7 +78,7 @@
"docs_url": "https://docs.ens.domains/"
}
},
"d3_connect": {
"d3_connect_shib": {
"tld_list": ["shib"],
"network_id": 109,
"subgraph_name": "d3-connect-shib-subgraph",
Expand All @@ -86,6 +95,24 @@
"icon_url": "https://i.imgur.com/cD6VIXk.png",
"docs_url": "https://docs.d3.app/"
}
},
"d3_connect_shib_testnet": {
"tld_list": ["shib"],
"network_id": 157,
"subgraph_name": "d3-connect-shib-subgraph",
"address_resolve_technique": "reverse_registry",
"specific": {
"type": "d3_connect",
"native_token_contract": "0x4F3775dfd49db0BBcd47eB6f45CEb6E6E9e15CD8",
"resolver_contract": "0x51B4894B45A764d2bF48aE5D7F9e70Ac70e28875"
},
"meta": {
"short_name": "D3 Connect",
"title": "D3 Connect",
"description": "D3 Connect is a platform for connecting to the Shibarium network.",
"icon_url": "https://i.imgur.com/cD6VIXk.png",
"docs_url": "https://docs.d3.app/"
}
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions blockscout-ens/graph-node/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,9 @@ provider = [
{ label = "shibarium", url = "https://www.shibrpc.com", features = [] }
]
shard = "primary"

[chains.shibarium-testnet]
provider = [
{ label = "shibarium-testnet", url = "https://puppynet.shibrpc.com", features = [] }
]
shard = "primary"
5 changes: 5 additions & 0 deletions blockscout-ens/graph-node/deployer/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@
"subgraph_path": "../subgraphs/d3-connect-subgraph",
"subgraph_name": "d3-connect-shib-subgraph",
"network": "shibarium"
},
"d3-connect-shib-testnet": {
"subgraph_path": "../subgraphs/d3-connect-subgraph",
"subgraph_name": "d3-connect-shib-subgraph",
"network": "shibarium-testnet"
}
}
}

0 comments on commit 62b3211

Please sign in to comment.