PoS
Proof-of-Stake (PoS) Authenticator
For security-critical operations — especially those involving subnet membership and DHT participation — Hypertensor recommends using the Proof-of-Stake (PoS) Authenticator.
This authenticator ensures that only nodes with a valid on-chain stake can:
Join the DHT
Update routing tables
Register heartbeat or protocol records
Participate in critical peer-to-peer interactions
How It Works
The PoS authenticator combines cryptographic identity verification with on-chain staking validation. It utilizes the Signature Authorizer for cryptographic handshakes.
When a node attempts to make a DHT request, the authenticator:
Verifies the Peer ID Signature
The Mesh Template comes with the option to use RSA or Ed25519 schemes.
Ensures the peer controls the corresponding private key.
Checks On-Chain Stake
Queries the Hypertensor blockchain to verify that the peer ID is staked in the target
subnet_id.Prevents unauthenticated or free-rider nodes from participating in the network.
Caches the Result
After a successful stake verification, the result is cached for 5 minutes to reduce load on the chain.
This cooldown ensures a balance between security and performance.
When to Use It
The PoS Authenticator is ideal for:
Joining the DHT
Updating DHT routing tables
Publishing or modifying DHT records
Authenticating peers in sensitive protocols (e.g., scoring, validation, consensus)
⚠️ Nodes without a valid stake will be rejected from performing any critical or trusted actions in the network.
Built-In Support
The Hypertensor subnet template includes ready-to-use PoS authenticators for:
Ed25519RSA
You can select the appropriate one depending on your key infrastructure.
Last updated