Compare commits
2 Commits
5c0fb760cc
...
blast-ethe
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
55f16856cf | ||
|
|
06c87462a6 |
10
dshackle.yml
10
dshackle.yml
@@ -7,6 +7,7 @@ services:
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./dshackle/config:/etc/dshackle # This should hold all your yaml files
|
||||
- ./dshackle/logs:/logs
|
||||
expose:
|
||||
- 8080 # /eth
|
||||
- 8081 # /metrics
|
||||
@@ -16,6 +17,7 @@ services:
|
||||
- chains
|
||||
ports:
|
||||
- "127.0.0.1:8082:8082" # healthcheck
|
||||
- "127.0.0.1:8545:8080"
|
||||
environment:
|
||||
- ALCHEMY_KEY=${ALCHEMY_KEY}
|
||||
- ANYBLOCK_KEY=${ANYBLOCK_KEY}
|
||||
@@ -34,13 +36,13 @@ services:
|
||||
- "prometheus-scrape.job_name=dshackle"
|
||||
- "prometheus-scrape.metrics_path=/metrics"
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.middlewares.dshackle-stripprefix.stripprefix.prefixes=/dshackle"
|
||||
# - "traefik.http.middlewares.shackle-replacepath.replacepath.path=/eth"
|
||||
- "traefik.http.middlewares.dshackle-stripprefix.stripprefix.prefixes=/eth-archive"
|
||||
- "traefik.http.middlewares.shackle-replacepath.replacepath.path=/eth"
|
||||
- "traefik.http.services.dshackle.loadbalancer.server.port=8080"
|
||||
- "traefik.http.routers.dshackle.entrypoints=websecure"
|
||||
- "traefik.http.routers.dshackle.tls.certresolver=myresolver"
|
||||
- "traefik.http.routers.dshackle.rule=Host(`$DOMAIN`) && PathPrefix(`/dshackle`)"
|
||||
# - "traefik.http.routers.dshackle.middlewares=dshackle-stripprefix, dshackle-replacepath, ipwhitelist"
|
||||
- "traefik.http.routers.dshackle.rule=Host(`$DOMAIN`) && PathPrefix(`/eth-archive`)"
|
||||
- "traefik.http.routers.dshackle.middlewares=dshackle-stripprefix, dshackle-replacepath, ipwhitelist"
|
||||
- "traefik.http.routers.dshackle.middlewares=dshackle-stripprefix, ipwhitelist"
|
||||
|
||||
redis:
|
||||
|
||||
27
dshackle/config/de-1-erigon.yaml
Normal file
27
dshackle/config/de-1-erigon.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
upstreams:
|
||||
- id: de-1-erigon
|
||||
chain: ethereum
|
||||
labels:
|
||||
provider: stakesquid-de-1-erigon
|
||||
priority: 100
|
||||
methods:
|
||||
enabled:
|
||||
# Manually Enabled
|
||||
- name: trace_block
|
||||
- name: trace_call
|
||||
- name: trace_callMany
|
||||
- name: trace_filter
|
||||
- name: trace_get
|
||||
- name: trace_transaction
|
||||
disabled:
|
||||
- name: eth_chainId
|
||||
- name: eth_chainID
|
||||
- name: eth_chainid
|
||||
connection:
|
||||
ethereum:
|
||||
rpc:
|
||||
url: "https://rpc-de-1.stakesquid.eu/erigon"
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: "wss://rpc-de-1.stakesquid.eu/erigon"
|
||||
44
dshackle/config/de-4-mainnet.yaml
Normal file
44
dshackle/config/de-4-mainnet.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
upstreams:
|
||||
- id: de-4-mainnet
|
||||
chain: ethereum
|
||||
labels:
|
||||
provider: stakesquid-de-4-mainnet
|
||||
priority: 120
|
||||
methods:
|
||||
enabled:
|
||||
# Manually Enabled
|
||||
- name: eth_chainid
|
||||
- name: eth_chainId
|
||||
- name: eth_chainID
|
||||
disabled:
|
||||
- name: eth_blockNumber
|
||||
- name: eth_call
|
||||
- name: eth_estimateGas
|
||||
- name: eth_feeHistory
|
||||
- name: eth_gasPrice
|
||||
- name: eth_getBalance
|
||||
- name: eth_getBlockByHash
|
||||
- name: eth_getBlockByNumber
|
||||
- name: eth_getBlockTransactionCountByHash
|
||||
- name: eth_getBlockTransactionCountByNumber
|
||||
- name: eth_getCode
|
||||
- name: eth_getLogs
|
||||
- name: eth_getStorageAt
|
||||
- name: eth_getTransactionByBlockHashAndIndex
|
||||
- name: eth_getTransactionByBlockNumberAndIndex
|
||||
- name: eth_getTransactionByHash
|
||||
- name: eth_getTransactionCount
|
||||
- name: eth_getTransactionReceipt
|
||||
- name: eth_getUncleByBlockHashAndIndex
|
||||
- name: eth_getUncleByBlockNumberAndIndex
|
||||
- name: eth_getUncleCountByBlockHash
|
||||
- name: eth_getUncleCountByBlockNumber
|
||||
- name: eth_sendRawTransaction
|
||||
connection:
|
||||
ethereum:
|
||||
rpc:
|
||||
url: "https://rpc-de-4.stakesquid.eu/mainnet"
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: "wss://rpc-de-4.stakesquid.eu/mainnet"
|
||||
@@ -37,6 +37,11 @@ proxy:
|
||||
- id: eth
|
||||
blockchain: ethereum
|
||||
|
||||
accessLog:
|
||||
enabled: true
|
||||
include-messages: true
|
||||
filename: /logs/access_log.jsonl
|
||||
|
||||
cluster:
|
||||
defaults:
|
||||
- chains:
|
||||
@@ -49,16 +54,19 @@ cluster:
|
||||
#- "geth.yaml"
|
||||
#- "nethermind.yaml"
|
||||
#- "erigon.yaml"
|
||||
- "de-1-erigon.yaml"
|
||||
- "fi-1-erigon.yaml"
|
||||
#- "de-4-mainnet.yaml"
|
||||
# Freemium Nodes
|
||||
- "alchemy.yaml"
|
||||
- "anyblock.yaml"
|
||||
- "chainstack.yaml"
|
||||
- "coinbase.yaml"
|
||||
#- "alchemy.yaml"
|
||||
#- "anyblock.yaml"
|
||||
#- "chainstack.yaml"
|
||||
#- "coinbase.yaml"
|
||||
- "infura.yaml"
|
||||
- "quicknode.yaml"
|
||||
- "rivet.yaml"
|
||||
#- "quicknode.yaml"
|
||||
#- "rivet.yaml"
|
||||
# Public Nodes
|
||||
- "cloudflare.yaml"
|
||||
- "avado.yaml"
|
||||
- "ankr.yaml"
|
||||
#- "cloudflare.yaml"
|
||||
#- "avado.yaml"
|
||||
#- "ankr.yaml"
|
||||
|
||||
|
||||
27
dshackle/config/fi-1-erigon.yaml
Normal file
27
dshackle/config/fi-1-erigon.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
upstreams:
|
||||
- id: fi-1-erigon
|
||||
chain: ethereum
|
||||
labels:
|
||||
provider: stakesquid-fi-1-erigon
|
||||
priority: 100
|
||||
methods:
|
||||
enabled:
|
||||
# Manually Enabled
|
||||
- name: trace_block
|
||||
- name: trace_call
|
||||
- name: trace_callMany
|
||||
- name: trace_filter
|
||||
- name: trace_get
|
||||
- name: trace_transaction
|
||||
disabled:
|
||||
- name: eth_chainId
|
||||
- name: eth_chainID
|
||||
- name: eth_chainid
|
||||
connection:
|
||||
ethereum:
|
||||
rpc:
|
||||
url: "https://rpc-fi-1.stakesquid.eu/erigon"
|
||||
ws:
|
||||
frameSize: 20Mb
|
||||
msgSize: 50Mb
|
||||
url: "wss://rpc-fi-1.stakesquid.eu/erigon"
|
||||
Reference in New Issue
Block a user