Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: sepolia #15

Merged
merged 2 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"deploy": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ RequestNetwork/request-storage",
"create-local": "graph create --node http://localhost:8020/ RequestNetwork/request-storage",
"remove-local": "graph remove --node http://localhost:8020/ RequestNetwork/request-storage",
"deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 RequestNetwork/request-storage",
"deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 --version-label $(git rev-parse --short HEAD) RequestNetwork/request-storage",
"monitor-deployment-local": "ts-node cli/monitor.ts"
},
"dependencies": {
Expand Down
26 changes: 26 additions & 0 deletions subgraph-sepolia.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
specVersion: 0.0.4
schema:
file: ./schema.graphql
features:
- ipfsOnEthereumContracts
dataSources:
- kind: ethereum/contract
name: Contract
network: sepolia
source:
address: "0xd6c085A4D14e9e171f4aF58F7F48bd81173f167E"
abi: Contract
startBlock: 4734914
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- NewHash
abis:
- name: Contract
file: ./abis/Contract.json
eventHandlers:
- event: NewHash(string,address,bytes)
handler: handleNewHash
file: ./src/mapping.ts
Loading