Register as Maintainer
Overview
To participate in MAP Protocol v2's TSS network, you must register as a Maintainer on MAP Relay Chain. This document explains the registration process.
Prerequisites
Before registering as Maintainer:
Running Validator: Active validator on MAP Relay Chain
Sufficient Stake: Meet minimum staking requirements
Compass-TSS Ready: Node software installed and configured
Registration Process
Step 1: Check Validator Status
Ensure your validator is active:
# Check validator status
marker getValidator --rpcaddr <rpc-url> --address <validator-address>Expected output should show:
isValidator: trueisElected: true(if currently in validator set)
Step 2: Prepare Registration Information
Gather the following information:
Validator Address
Your validator's address
0x1234...abcd
P2P Public Key
Compass-TSS P2P identity
Generated during setup
P2P Endpoint
Your node's P2P address
192.168.1.1:8080
Step 3: Generate P2P Identity
If not already done during Compass-TSS setup:
This creates:
p2p.key: Private key (keep secure)p2p.pub: Public key (used for registration)
Step 4: Register on Chain
Call the Maintainer Manager contract:
Step 5: Verify Registration
Check your registration status:
Election Process
How Election Works
Registration: Maintainers register during open period
Snapshot: At epoch boundary, registered Maintainers are snapshotted
Selection: Top N Maintainers by stake are elected
Activation: Elected Maintainers participate in next epoch
Election Parameters
Election Period
Every epoch (~1 day)
Active Set Size
Variable (e.g., 21)
Selection Criteria
Stake-weighted
Check Election Status
After Registration
Wait for Election
Registration doesn't guarantee immediate participation
You'll be considered in the next election cycle
Higher stake increases election probability
Start Compass-TSS
Once registered, start your Compass-TSS node:
Monitor Status
Check your Maintainer status regularly:
Updating Registration
Update P2P Endpoint
If your IP changes:
Update P2P Key
If you need to rotate your P2P key:
Deregistration
To stop being a Maintainer:
Note: Deregistration may have a cooldown period. Check current protocol parameters.
Troubleshooting
Registration Failed
"Not a validator"
Ensure validator is registered and active
"Insufficient stake"
Lock additional MAPO tokens
"Invalid P2P key"
Regenerate P2P key pair
"Registration closed"
Wait for next registration period
Not Getting Elected
Increase your stake
Ensure validator is performing well (not jailed)
Check for pending slashing
P2P Connection Issues
Verify firewall allows P2P port
Check P2P endpoint is reachable
Ensure correct P2P public key registered
Best Practices
Reliable Infrastructure: Use stable, well-connected servers
Monitor Continuously: Set up alerts for node issues
Keep Software Updated: Update Compass-TSS promptly
Secure Keys: Backup P2P and TSS keys securely
Maintain Stake: Keep stake above minimum to remain competitive
Last updated