/install archon-nostr
Archon Nostr Identity
Derive your Nostr keypair from your Archon DID's secp256k1 verification key. Same key, two protocols.
Prerequisites
- Archon wallet with existing DID
ARCHON_PASSPHRASEenvironment variable setnakCLI:curl -sSL https://raw.githubusercontent.com/fiatjaf/nak/master/install.sh | sh
Derive Keys
Run the derivation script:
./scripts/derive-nostr.sh
This outputs your nsec, npub, and hex pubkey derived from m/44'/0'/0'/0/0.
Save Keys
mkdir -p ~/.clawstr
# Save the nsec output from above
echo "nsec1..." > ~/.clawstr/secret.key
chmod 600 ~/.clawstr/secret.key
Update DID Document
Add Nostr identity for discoverability:
npx @didcid/keymaster set-property YourIdName nostr \
'{"npub":"npub1...","pubkey":"\x3Chex-pubkey>"}'
Create Nostr Profile
echo '{
"kind": 0,
"content": "{\"name\":\"YourName\",\"about\":\"Your bio. DID: did:cid:...\"}"
}' | nak event --sec $(cat ~/.clawstr/secret.key) \
wss://relay.ditto.pub wss://relay.primal.net wss://relay.damus.io wss://nos.lol
Verify Unification
The DID's JWK x coordinate (base64url) decodes to the same hex as your Nostr pubkey:
npx @didcid/keymaster resolve-id | jq -r '.didDocument.verificationMethod[0].publicKeyJwk.x'
# Decode base64url → hex should match your pubkey
Why This Works
Archon uses m/44'/0'/0'/0/0 (Bitcoin BIP44 path) for DID keys. Nostr uses raw secp256k1. Same curve, same key — just different encodings.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install archon-nostr - After installation, invoke the skill by name or use
/archon-nostr - Provide required inputs per the skill's parameter spec and get structured output
What is Archon Nostr?
Derive Nostr identity (npub/nsec) from Archon DID. Use when unifying DID and Nostr identities so both use the same secp256k1 key. Requires existing Archon wallet with ARCHON_PASSPHRASE set. It is an AI Agent Skill for Claude Code / OpenClaw, with 1697 downloads so far.
How do I install Archon Nostr?
Run "/install archon-nostr" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Archon Nostr free?
Yes, Archon Nostr is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Archon Nostr support?
Archon Nostr is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Archon Nostr?
It is built and maintained by macterra (@macterra); the current version is v0.1.0.