Testnet Tensor
  • Introduction
  • Explorer
  • GPT
  • DSN Dashboard
  • Create Account
    • Wallet
    • CLI
    • Faucet
  • Hypertensor CLI
    • Hypertensor CLI
  • Run A Subnet Node
    • Getting Started
    • Wiki
      • Running on AMD GPU
      • Running on Windows Using WSL
      • Troubleshooting
    • Generate Keypair
    • Register & Stake
    • Add
    • Start Validator Node
    • Start Bootstrap Node
    • Activate
    • Update Delegate Reward Rate
    • Deactivate
    • Remove
    • Keys
  • Delegate Staking
    • Introduction
    • Add Delegate Stake
    • Transfer Delegate Stake
    • Remove Delegate Stake
    • Claim Delegate Stake
  • Node Delegate Staking
    • Introduction
    • Add Node Delegate Stake
    • Transfer Node Delegate Stake
    • Remove Node Delegate Stake
    • Claim Node Delegate Stake
  • Delegate Staking Utils
    • Introduction
    • Subnet to Node
    • Node to Subnet
  • Build a Subnet
    • Introduction
    • DSN Standard
    • Subnet Consensus Protocol (SCP)
      • Incentives
      • Accounting
      • Proposals
    • Subnet
      • Registration
      • Activation
      • Deactivation
    • Subnet Nodes
      • Registration
      • Activation
      • Deactivate
  • Contribute
Powered by GitBook
On this page
  1. Run A Subnet Node

Generate Keypair

Run the following command to generate your Ed25519 private keys:

python -m subnet.cli.crypto.keygen
python -m subnet.cli.crypto.keygen

Optional parameters:

  • --path: Name of path.

  • --key_type: "RSA" or "Ed25519". The DSN Standard uses Ed25519.

Copy and paste the Peer IDs output somewhere safe. You will need them when you register the subnet node on-chain.

This command will create and store:

  • an Ed25519 private key file for the validator node.

  • an Ed25519 private key file for the bootstrap node (Optional usage).

These files are stored in your root directory and used for authentication within the subnet.

This will be used for:

  • Generating a deterministic Peer ID and bootstrap Peer ID for use in the subnet and the blockchain.

  • Save a private_key.key and bootstrap_private_key.key file in the root directory, unless named otherwise.

  • Used to sign messages between other peers.

  • Used to validate proof-of-stake.

PreviousTroubleshootingNextRegister & Stake

Last updated 2 months ago