7.2 Custom Node Name
To personalize your node's appearance, you can assign a custom name thats publically displayed on the execution status panel.
The following steps are performed on your 📟 node server.
1. Stop Node Operation​
Depending on your setup method, there are different ways to stop your node before setting a custom name.
- LUKSO CLI
- Service Automation
cd <lukso-working-directory>
lukso stop
Exchange <lukso-working-directory>
with the path of the node folder.
sudo systemctl stop lukso-validator
Force Client Shutdown
- Geth
- Erigon
- Nethermind
- Besu
- Teku
- Nimbus-Eth2
- Lighthouse
- Prysm
sudo pkill geth
sudo pkill erigon
sudo pkill nethermind
sudo pkill besu
sudo pkill teku
sudo pkill nimbus_beacon_node
sudo pkill nimbus_validator_client
sudo pkill lighthouse
The Lighthouse client uses a single binary for both the consensus and validator processes.
sudo pkill prysm
sudo pkill validator
2. Add Node Name​
You can either set the node name via startup flags or persistently within the configuration files of your execution client. If you want to set a temporary name, using the flag is recommended, as it will only persist until the next restart of the node.
- Setting a Startup Flag
- Modifying the Client Configuration
Depending on your setup method, there are different ways to pass down the name flag using the LUKSO CLI.
- LUKSO CLI Node
- LUKSO CLI Validator
- Service Automation
Every execution client has a individual flag to set the node name during startup.
- Geth
- Erigon
- Nethermind
- Besu
cd <lukso-working-directory>
# Start the Mainnet Node with Custom Name
lukso start --checkpoint-sync --geth-identity "<your-node-name>"
# Start the Testnet Node with Custom Name
lukso start --testnet --checkpoint-sync --geth-identity "<your-node-name>"
cd <lukso-working-directory>
# Start the Mainnet Node with Custom Name
lukso start --checkpoint-sync --erigon-identity "<your-node-name>"
# Start the Testnet Node with Custom Name
lukso start --testnet --checkpoint-sync --erigon-identity "<your-node-name>"
cd <lukso-working-directory>
# Start the Mainnet Node with Custom Name
lukso start --checkpoint-sync --nethermind-ethstats-name "<your-node-name>"
# Start the Testnet Node with Custom Name
lukso start --testnet --checkpoint-sync --nethermind-ethstats-name "<your-node-name>"
cd <lukso-working-directory>
# Start the Mainnet Node with Custom Name
lukso start --checkpoint-sync --besu-ethstats="<your-node-name>:<ethstats-secret>@<ethstats-server-url>"
# Start the Testnet Node with Custom Name
lukso start --testnet --checkpoint-sync --besu-ethstats="<your-node-name>:<ethstats-secret>@<ethstats-server-url>"
The Besu client embeds the node name directly within the Eth-Stats connection string, meaning you must also exchange and provide the <ethstats-secret>
and <ethstats-server-url>
as a flag. Other execution clients have those set separately within their config files.
The following properties need to be exchanged:
<lukso-working-directory>
with the path of the node folder<your-node-name>
with the custom description or name of the node
After the clients were started, verify that their services are still up.
sudo lukso status
Every execution client has a individual flag to set the node name during startup.
- Geth
- Erigon
- Nethermind
- Besu
cd <lukso-working-directory>
# Start the Mainnet Validator Node with Custom Name
lukso start --validator --transaction-fee-recipient "<your-fee-recipient-address>" --checkpoint-sync --geth-identity "<your-node-name>"
# Start the Testnet Validator Node with Custom Name
lukso start --testnet --validator --transaction-fee-recipient "<your-fee-recipient-address>" --checkpoint-sync --geth-identity "<your-node-name>"
cd <lukso-working-directory>
# Start the Mainnet Validator Node with Custom Name
lukso start --validator --transaction-fee-recipient "<your-fee-recipient-address>" --checkpoint-sync --erigon-identity "<your-node-name>"
# Start the Testnet Validator Node with Custom Name
lukso start --testnet --validator --transaction-fee-recipient "<your-fee-recipient-address>" --checkpoint-sync --erigon-identity "<your-node-name>"
cd <lukso-working-directory>
# Start the Mainnet Validator Node with Custom Name
lukso start --validator --transaction-fee-recipient "<your-fee-recipient-address>" --checkpoint-sync --nethermind-ethstats-name "<your-node-name>"
# Start the Testnet Validator Node with Custom Name
lukso start --testnet --validator --transaction-fee-recipient "<your-fee-recipient-address>" --checkpoint-sync --nethermind-ethstats-name "<your-node-name>"
cd <lukso-working-directory>
# Start the Mainnet Validator Node with Custom Name
lukso start --validator --transaction-fee-recipient "<your-fee-recipient-address>" --checkpoint-sync --besu-ethstats="<your-node-name>:<ethstats-secret>@<ethstats-server-url>"
# Start the Testnet Validator Node with Custom Name
lukso start --testnet --validator --transaction-fee-recipient "<your-fee-recipient-address>" --checkpoint-sync --besu-ethstats="<your-node-name>:<ethstats-secret>@<ethstats-server-url>"
The Besu client embeds the node name directly within the Eth-Stats connection string, meaning you must also exchange and provide the <ethstats-secret>
and <ethstats-server-url>
as a flag. Other execution clients have those set separately within their config files.
The following properties need to be exchanged:
<lukso-working-directory>
with the path of the node folder<your-fee-recipient-address>
with the wallet address receiving staking profits<your-node-name>
with the custom description or name of the node
After the clients were started, verify that their services are still up.
sudo lukso status
Open the startup script within your node directory with your preferred text editor.
- Vim
- Nano
sudo vim <lukso-working-directory>/static/lukso_startup.sh
sudo nano <lukso-working-directory>/static/lukso_startup.sh
Exchange <lukso-working-directory>
with the path to the node folder.
Add the name flag new line to the start command, then save and exit the file.
- Geth
- Erigon
- Nethermind
- Besu
exec /usr/local/bin/lukso start \
--validator \
--validator-wallet-password ./static/<your-generic-password-file> \
--transaction-fee-recipient "<your-fee-recipient-address>" \
--checkpoint-sync \
--geth-identity "<your-node-name>"
exec /usr/local/bin/lukso start \
--validator \
--validator-wallet-password ./static/<your-generic-password-file> \
--transaction-fee-recipient "<your-fee-recipient-address>" \
--checkpoint-sync \
--erigon-identity "<your-node-name>"
exec /usr/local/bin/lukso start \
--validator \
--validator-wallet-password ./static/<your-generic-password-file> \
--transaction-fee-recipient "<your-fee-recipient-address>" \
--checkpoint-sync \
--nethermind-ethstats-name "<your-node-name>"
exec /usr/local/bin/lukso start \
--validator \
--validator-wallet-password ./static/<your-generic-password-file> \
--transaction-fee-recipient "<your-fee-recipient-address>" \
--checkpoint-sync \
--besu-ethstats="<your-node-name>:<ethstats-secret>@<ethstats-server-url>"
The Besu client embeds the node name directly within the Eth-Stats connection string, meaning you must also exchange and provide the <ethstats-secret>
and <ethstats-server-url>
as a flag. Other execution clients have those set separately within their config files.
After the startup script was updated, you can restart the node by executing the related service.
sudo systemctl start lukso-validator
Depending on your execution client, the name can be set with different properties.
- Geth
- Erigon
- Nethermind
- Besu
Open the configuration file using your preferred text editor.
- Vim
- Nano
cd <lukso-working-directory>/configs/<network>/geth/
vim geth.toml
cd <lukso-working-directory>/configs/<network>/geth/
nano geth.toml
Open the configuration file using your preferred text editor.
- Vim
- Nano
cd <lukso-working-directory>/configs/<network>/erigon/
vim erigon.toml
cd <lukso-working-directory>/configs/<network>/erigon/
nano erigon.toml
Open the configuration file using your preferred text editor.
- Vim
- Nano
cd <lukso-working-directory>/configs/<network>/nethermind/
vim nethermind.cfg
cd <lukso-working-directory>/configs/<network>/nethermind/
nano nethermind.cfg
Open the configuration file using your preferred text editor.
- Vim
- Nano
cd <lukso-working-directory>/configs/<network>/besu/
vim besu.toml
cd <lukso-working-directory>/configs/<network>/besu/
nano besu.toml
The following properties need to be exchanged:
<lukso-working-directory>
with the path to the node folder.<network>
with the name of your node's network.
Add the node name as a new line within the settings, then save and exit the file.
- Geth
- Erigon
- Nethermind
- Besu
Search for the Node section and add the UserIdent property under it.
[Node]
UserIdent = "<your-node-name>"
Set the identity property at the end of the file.
"identity" = "<your-node-name>"
Set the EthStats object and Name property at the ending bracket of the Network object.
"EthStats": {
"Name": "<your-node-name>"
}
Set the ethstats property at the end of the file.
'ethstats'='<your-node-name>:<secret>@<server-url>'
The Besu client embeds the node name directly within the Eth-Stats connection string, meaning you must also exchange and provide the <ethstats-secret>
and <ethstats-server-url>
as a flag. Other execution clients have those set separately within their config files.
Exchange <your-node-name>
with the custom description or name of the node
Ensure there are no missing spaces, characters or unintended linebreaks before saving the configuration file.
Depending on your setup method, there are different ways to start your node after setting the node name.
- LUKSO CLI Node
- LUKSO CLI Validator
- Service Automation
cd <lukso-working-directory>
lukso start --checkpoint-sync
Exchange <lukso-working-directory>
with the path of the node folder.
cd <lukso-working-directory>
lukso start --validator --transaction-fee-recipient "<your-fee-recipient-address>" --checkpoint-sync
The following properties need to be exchanged:
<lukso-working-directory>
with the path of the node folder<your-fee-recipient-address>
with the wallet address receiving staking profits
sudo systemctl start lukso-validator
After the clients were started, verify that their services are still up.
sudo lukso status