For the complete documentation index, see llms.txt. This page is also available as Markdown.

Derive stacks address from keys

Description

Generate Stacks addresses from private or public keys using multiple methods

Use Cases

  • Wallet address generation

  • Key pair validation

  • Address recovery from backup keys

  • Multi-signature wallet setup

Key Concepts

  • Private key - 32-byte random number (keep secret!)

  • Public key - Derived from private key using ECDSA

  • Address - Base58check-encoded hash of public key

  • Network - Different prefixes for mainnet (SP/SM) vs testnet (ST/SN)

Last updated

Was this helpful?