Skip to content

Commit

Permalink
feat(config): veascan extracted subgraph vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Mani Brar authored and Mani Brar committed Sep 2, 2024
1 parent 69285d8 commit d302601
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .env.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Subgraph endpoints for veascan, Example: "85918/vea-inbox-arb-sepolia-devnet/version/latest"
VEASCAN_INBOX_ARBSEPOLIA_TO_SEPOLIA_SUBGRAPH=11111/your-subgraph/version/your-version
VEASCAN_OUTBOX_ARBSEPOLIA_TO_SEPOLIA_SUBGRAPH=11111/your-subgraph/version/your-version

VEASCAN_INBOX_ARBSEPOLIA_TO_CHIADO_SUBGRAPH=11111/your-subgraph/version/your-version
VEASCAN_OUTBOX_ARBSEPOLIA_TO_CHIADO_SUBGRAPH=11111/your-subgraph/version/your-version
6 changes: 2 additions & 4 deletions veascan-web/src/consts/bridges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,9 @@ export const bridges: IBridge[] = [
from: arbitrumSepolia.id,
to: sepolia.id,
inboxAddress: VeaInboxArbitrumSepolia.address as `0x${string}`,
inboxEndpoint:
"https://api.studio.thegraph.com/query/85918/veascan-inbox-arb-sep-devnet/v0.8.0",
inboxEndpoint: `https://api.studio.thegraph.com/query/${process.env.VEASCAN_INBOX_ARBSEPOLIA_TO_SEPOLIA_SUBGRAPH}`,
outboxAddress: VeaOutboxSepolia.address as `0x${string}`,
outboxEndpoint:
"https://api.studio.thegraph.com/query/85918/veascan-outbox-arb-sep-devnet/v0.8.0",
outboxEndpoint: `https://api.studio.thegraph.com/query/${process.env.VEASCAN_OUTBOX_ARBSEPOLIA_TO_SEPOLIA_SUBGRAPH}`,
},
// {
// id: 1,
Expand Down

0 comments on commit d302601

Please sign in to comment.