Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 3 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
# Enables builder api for lodestar VC and charon services.
#BUILDER_API_ENABLED=

# address to be sent to the validator client to be used as default recipient of block fees
#FEE_RECIPIENT=0xYourAddress

######### Nethermind Config #########

# Nethermind docker container image version, e.g. `latest` or `1.25.3`.
Expand Down
3 changes: 3 additions & 0 deletions .env.sample.mainnet
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ NETWORK=mainnet
# Enables builder api for lodestar VC and charon services.
#BUILDER_API_ENABLED=

# address to be sent to the validator client to be used as default recipient of block fees
#FEE_RECIPIENT=0xYourAddress

######### Nethermind Config #########

# Nethermind docker container image version, e.g. `latest` or `1.25.3`.
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ services:
BEACON_NODE_ADDRESS: http://charon:3600
NETWORK: ${NETWORK:-holesky}
BUILDER_API_ENABLED: ${BUILDER_API_ENABLED:-false}
FEE_RECIPIENT: ${FEE_RECIPIENT:-0x0000000000000000000000000000000000000000}
volumes:
- ./lodestar/run.sh:/opt/lodestar/run.sh
- .charon/validator_keys:/home/charon/validator_keys
Expand Down
1 change: 1 addition & 0 deletions examples/geth_teku_lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ services:
LIGHTHOUSE_BEACON_NODE_ADDRESS: http://charon:3600
NETWORK: ${NETWORK:-holesky}
BUILDER_API_ENABLED: ${BUILDER_API_ENABLED:-false}
FEE_RECIPIENT: ${FEE_RECIPIENT:-0x0000000000000000000000000000000000000000}
volumes:
- ./lighthouse/run.sh:/opt/lighthouse/run.sh
- ../.charon/validator_keys:/opt/charon/validator_keys
Expand Down
2 changes: 1 addition & 1 deletion examples/lighthouse/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ done
echo "Starting lighthouse validator client for ${NODE}"
exec lighthouse --network "${NETWORK}" validator \
--beacon-nodes ${LIGHTHOUSE_BEACON_NODE_ADDRESS} \
--suggested-fee-recipient "0x0000000000000000000000000000000000000000" \
--suggested-fee-recipient "${FEE_RECIPIENT}" \
--metrics \
--metrics-address "0.0.0.0" \
--metrics-allow-origin "*" \
Expand Down
3 changes: 2 additions & 1 deletion lodestar/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ exec node /usr/app/packages/cli/bin/lodestar validator \
--builder="$BUILDER_API_ENABLED" \
--builder.selection="$BUILDER_SELECTION" \
--distributed \
--useProduceBlockV3=true
--useProduceBlockV3=true \
--suggestedFeeRecipient ${FEE_RECIPIENT}