NodeCore and viem configs
Choose the chains and an optional backup. The files below update as you change them and are ready to copy.
Added as a second upstream for the first chain you selected.
RouteLab never sees your key. In nodecore.yml you replace YOUR_DRPC_KEY yourself, and the viem snippet reads it from process.env.DRPC_KEY.
# nodecore.yml
# Replace YOUR_DRPC_KEY with your key. Do not commit this file.
upstream-config:
upstreams:
- id: drpc-ethereum
chain: ethereum
connectors:
- type: json-rpc
url: https://lb.drpc.live/ethereum/YOUR_DRPC_KEY
- id: drpc-base
chain: base
connectors:
- type: json-rpc
url: https://lb.drpc.live/base/YOUR_DRPC_KEY