Nostr identity SDK for OpenClaw AI agents — generate keys, sign events, encrypt data, run a NIP-46 bunker. Part of the open-source OpenClaw Nostr toolkit. MIT licensed.
pip install nostrkey
python -m venv .venv && . .venv/bin/activate
pip install -e ".[dev]"
python -m pytest -q # tests
python -m build # sdist + wheel
src/nostrkey/— package sourcetests/— pytest suiteclawhub/— ClawHub skill metadata (SKILL.md, metadata.json)
- Python + pyproject (hatchling). Pure-Python crypto (
cryptography), zero native build deps. - Public, MIT-licensed, open source.