-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgateway.yml
More file actions
66 lines (66 loc) · 1.75 KB
/
gateway.yml
File metadata and controls
66 lines (66 loc) · 1.75 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
bind: localhost:8888
logging:
log_level: debug
redis:
namespace: venn-gateway-dev
uri: redis://localhost:6379
nats:
uri: nats://localhost:4222
telemetry:
enabled: true
jetstream_stream_config:
name: "gateway-requests"
subjects: ["gateway-requests"]
security:
allowed_origins:
- https://oku.trade
- https://*.staging.gfx.town
- https://*.*.staging.gfx.town
- '*://localhost:*'
# CORS configuration (optional)
cors_enabled: true # Enable CORS headers for matched origins
# cors_allowed_methods: # Optional, defaults to ["POST", "GET", "OPTIONS"]
# - POST
# - GET
# - OPTIONS
# cors_allowed_headers: # Optional, defaults to ["Content-Type", "Accept", "Authorization"]
# - Content-Type
# - Accept
# - Authorization
# cors_expose_headers: # Optional, headers exposed to the browser
# - X-Request-ID
# cors_allow_credentials: false # Optional, defaults to false
# cors_max_age: 86400 # Optional, preflight cache duration in seconds (default: 86400 = 24 hours)
endpoint:
name: public
venn_url: http://localhost:8545
paths:
eip155-1: ethereum
eip155-8453: base
limits:
abuse:
- id: "rps-simple"
total: 10
window: 10s
methods:
- eth_blobBaseFee
- eth_blockNumber
- eth_call
- eth_chainId
- eth_estimateGas
- eth_gasPrice
- eth_getAccount
- eth_getBalance
- eth_getBlockByNumber
- eth_getBlockByHash
- eth_getBlockByNumber
- eth_getCode
- eth_getLogs
- eth_getStorageAt
- eth_getTransactionByHash
- eth_getTransactionCount
- eth_getTransactionReceipt
- eth_getTransactionByBlockHashAndIndex
- eth_getTransactionByBlockNumberAndIndex
- eth_sendRawTransaction
- eth_maxPriorityFeePerGas