Expand description
The SDK’s one address derivation.
An address is the truncated hash of an identity key, so anything carrying both is self-certifying: a recipient re-derives and compares rather than consulting a directory. Every trust gate in the protocol is that comparison, which is why there is exactly one implementation of it and why it lives where both a phone and a leaf node can reach it.
Constants§
- ED25519_
PUBLIC_ KEY_ LEN - Length of an Ed25519 public key, in bytes.
Functions§
- derive_
address - Derives the canonical self-certifying address of an Ed25519 identity
key:
off1…, the bech32m encoding of0x01 ‖ SHA-256(public_key)[..20].