Reusable Python implementation of the Archon Keymaster business logic.
This package is intended to hold the core wallet, DID, crypto, and asset
behaviors independent of any specific HTTP service runtime. It also exposes
the Python keymaster CLI, which mirrors the TypeScript Keymaster CLI command
surface while using this library in-process against a Gatekeeper HTTP endpoint
and local wallet file.
pip install archon-keymasterFor local development from a repo checkout:
pip install -e python/keymasterexport ARCHON_PASSPHRASE=your-passphrase
export ARCHON_GATEKEEPER_URL=http://localhost:4224
export ARCHON_WALLET_PATH=./wallet.json
keymaster --help
keymaster create-wallet
keymaster create-id alice
keymaster list-ids| Variable | Default | Description |
|---|---|---|
ARCHON_NODE_URL / ARCHON_GATEKEEPER_URL |
http://localhost:4224 |
Gatekeeper HTTP endpoint |
ARCHON_WALLET_PATH |
./wallet.json |
Path to wallet file |
ARCHON_PASSPHRASE |
(required) | Wallet passphrase |
ARCHON_DEFAULT_REGISTRY |
hyperswarm |
Default registry for new DIDs |