Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
types
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ ALCHEMY_OPTIMISM_GOERLI_API_KEY=
#BATCH_SIZE=2000 # How many blocks to fetch at once (some providers have limits)

# Sepolia
CHAIN_ID=11155111
CHAIN_ID=11155111
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine
FROM node:20-alpine3.20
WORKDIR /app
ENV NODE_ENV=production

Expand All @@ -16,4 +16,4 @@ RUN apk update && apk add --no-cache postgresql-client
RUN chmod +x /app/entrypoint.sh
RUN yarn install
ENTRYPOINT ["/app/entrypoint.sh"]
EXPOSE 4000
EXPOSE 4000
Empty file modified entrypoint.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,6 @@ export async function startGraph() {
context: () => ({ prisma }),
});

const { url } = await server.listen(PORT);
const { url } = await server.listen({ port: PORT, host: '0.0.0.0' });
console.log(`Server is running, GraphQL Playground available at ${url}`);
}
22 changes: 22 additions & 0 deletions utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,28 @@ export const EAS_CHAIN_CONFIGS: EASChainConfig[] = [
etherscanURL: "https://goerli-optimism.etherscan.io/",
rpcProvider: `https://opt-mainnet.g.alchemy.com/v2/${process.env.ALCHEMY_OPTIMISM_API_KEY}`,
},
{
chainId: 747,
chainName: "flow",
subdomain: "flow.",
version: "1.2.0",
contractAddress: "0xB3a182BbEAe5e2a05fdA1dB9f2e29F78b02f2AbA",
schemaRegistryAddress: "0x7e0b40985D3C44F448EB8C2b89Aa54C99e6878c9",
contractStartBlock: 2286026,
etherscanURL: "https://evm.flowscan.io",
rpcProvider: `https://mainnet.evm.nodes.onflow.org`,
},
{
chainId: 545,
chainName: "flow-testnet",
subdomain: "flow-testnet.",
version: "1.2.0",
contractAddress: "0x201CB9CEe35cFe5Ac599ceFd1f84247c03b81A43",
schemaRegistryAddress: "0x7354114050DF7cE7F062605B6632B742A9429Bdb",
contractStartBlock: 7345096,
etherscanURL: "https://evm-testnet.flowscan.io",
rpcProvider: `https://testnet.evm.nodes.onflow.org`,
},
{
chainId: 84531,
chainName: "base-goerli",
Expand Down