Delegation
Command Structure
Global Options
| Option | Description | Environment Variable | Default | 
|---|---|---|---|
--relay-url | Relay endpoint URL | RELAY_URL | - | 
--underwriter-pubkey | Underwriter BLS public key | UNDERWRITER_PUBKEY | - | 
--network | Target network | NETWORK | mainnet | 
--relay-request-timeout | Request timeout in seconds | RELAY_REQUEST_TIMEOUT | 30 | 
--action | Action to perform (delegate/revoke) | ACTION | delegate | 
Key Source Options
Local Keystore (Recommended)
Use this method if you manage your validator keys locally:--path: Path to validator keystore directory--password-path: Path to password file--password: Direct password input (not recommended)
Secret Keys
For development or testing with raw private keys:--secret-keys: Comma-separated list of private keys
Dirk Remote Signer
For production setups using Dirk key management service:--url: Dirk service endpoint--wallet-path: Path to wallets in Dirk--passphrases: Comma-separated passphrases--client-cert-path: Client certificate path--client-key-path: Client key path--ca-cert-path: CA certificate path (optional)
Network Information
For Holesky testnet:- Relay URL: 
https://relay.holesky.luban.wtf - Underwriter Public Key: 
a6767d972d21a17843ea94da59461a04d8d0baf92f7c518653170e708f4b21d537db56f9b73810252e0f4e99cc9184cb 
Troubleshooting
Common issues and solutions:- Connection Timeout: Increase timeout with 
--relay-request-timeout - Invalid Key Format: Ensure BLS public key is in correct format
 - Authentication Failed: Verify keystore path and password
 - Network Mismatch: Confirm correct 
--networkparameter 
