auki-identity-py
Synced from the repository
This page mirrors bindings/python/auki-identity-py/README.md in the auki-sdk repo (branch develop).
The repository is the source of truth.
PyO3 bindings for auki-identity — the wallet primitive Booster's Python sidecar uses to mint a libp2p peer identity and a per-machine app_instance value.
Status: Shipped.
Public surface
import auki_identity
seed = auki_identity.load_or_mint_seed(path) # bytes (32-byte ed25519 seed; minted if missing)
wallet = auki_identity.Wallet.from_seed(seed)
peer = wallet.derive_child("peer/v1")
peer_id = peer.peer_id() # canonical libp2p PeerId string
seed_back = wallet.seed() # round-trip the seed bytes
mac_id = auki_identity.app_instance.derive() # MAC-derived per-machine id
Depends on
auki-identity— Rust crate it wraps.