-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdipdup.yaml
More file actions
38 lines (33 loc) · 740 Bytes
/
dipdup.yaml
File metadata and controls
38 lines (33 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
spec_version: 3.0
package: dipdup_mcp_tutorial
datasources:
subsquid:
kind: evm.subsquid
url: https://v2.archive.subsquid.io/network/ethereum-mainnet
etherscan:
kind: evm.etherscan
url: https://api.etherscan.io/api
evm_node:
kind: evm.node
url: https://eth-mainnet.g.alchemy.com/v2/${NODE_API_KEY:-''}
ws_url: wss://eth-mainnet.g.alchemy.com/v2/${NODE_API_KEY:-''}
templates:
erc20_events:
kind: evm.events
datasources:
- subsquid
- etherscan
- evm_node
handlers:
- callback: on_transfer
contract: <contract>
name: Transfer
api:
host: 0.0.0.0
port: 46339
mcp:
host: 0.0.0.0
port: 9999
api_url: http://0.0.0.0:46339
logging:
mcp: DEBUG