Skip to content

Instantly share code, notes, and snippets.

View SpiralOutDotEu's full-sized avatar
🤯
If ZK hasn't profoundly shocked you, you haven't understood it yet

Nikos Koumbakis SpiralOutDotEu

🤯
If ZK hasn't profoundly shocked you, you haven't understood it yet
View GitHub Profile
@SpiralOutDotEu
SpiralOutDotEu / react-app-env.d.ts
Last active October 28, 2024 13:10
window ethereum not found
// src/react-app-env.d.ts
// for ethers v6
/// <reference types="react-scripts" />
import { BrowserProvider, Eip1193Provider } from "ethers/types/providers";
declare global {
interface Window {
ethereum: Eip1193Provider & BrowserProvider;
}
@SpiralOutDotEu
SpiralOutDotEu / subgraph.yml
Created March 5, 2025 15:02 — forked from dabit3/subgraph.yml
Example subgraph with two contract data sources
specVersion: 0.0.2
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: Token
network: mainnet
source:
address: "0xabEFBc9fD2F806065b4f3C237d4b59D9A97Bcac7"
abi: Token