Skip to main content

7.3 Validator Graffiti

To personalize your validator's appearance, you can assign a custom graffiti thats publically displayed on the consensus slot page. Adding graffiti to a block gives validators a unique way to mark their contributions to the network. The content of the graffiti can vary greatly. Some validators might use this space to include their validator name or identifier, while others might use it for fun.

Within an EVM-blockchain, the graffiti refers to a customizable field where validators can inscribe a short message of up to 32 bytes into the block's metadata. These messages are permanently stored on the blockchain. Each ASCII character uses 1 byte, but special characters or emojis can up take more.

note

Although the graffiti allows for freedom of expression, it should be used responsibly. It's part of the blockchain's permanent record and repeated with every block proposal. The community generally encourages respectful and appropriate usage.

tip

Check if your message is within the byte limit before attaching it to the client. Emojis take up several bytes.

info

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 graffiti.

cd <lukso-working-directory>
lukso stop
info

Exchange <lukso-working-directory> with the path of the node folder.

Force Client Shutdown
sudo pkill geth

2. Add Validator Graffiti​

You can either set the graffiti via startup flags or persistently within the configuration files of your execution client. If you want to set a temporary graffiti, using the flag is recommended, as it will only persist until the next restart of the node.

Depending on your setup method, there are different ways to pass down the graffiti using the LUKSO CLI.

Every consensus client has a individual flag to set the graffiti during startup.

cd <lukso-working-directory>

# Start the Mainnet Node with Custom Graffiti
lukso start --checkpoint-sync --prysm-graffiti "<your-graffiti>"

# Start the Testnet Node with Custom Graffiti
lukso start --testnet --checkpoint-sync --prysm-graffiti "<your-graffiti>"
info

The following properties need to be exchanged:

  • <lukso-working-directory> with the path of the node folder
  • <your-graffiti> with the custom graffiti of your node.

After the clients were started, verify that their services are still up.

sudo lukso status