pubky-testnet 0.12.0

A local test network for developing Pubky homeserver or applications depending on it.
Documentation
1
2
3
4
5
6
7
use pubky_common::crypto::Keypair;

/// The deterministic keypair used by all testnets (static, ephemeral, and base).
/// Produces pubkey `8pinxxgqs41n4aididenw5apqp1urfmzdztr8jt4abrkdn435ewo`.
pub(crate) fn testnet_keypair() -> Keypair {
    Keypair::from_secret(&[0; 32])
}