Install
openclaw skills install agent-wallet-nwc-bridgeClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Expose a local @moneydevkit/agent-wallet as a Nostr Wallet Connect (NIP-47) wallet-service (systemd user service).
openclaw skills install agent-wallet-nwc-bridgeThis skill provides a small, self-hosted Nostr Wallet Connect (NIP-47) bridge that lets an NWC client (e.g. Stacker.News) send make_invoice / pay_invoice requests to a local @moneydevkit/agent-wallet.
It is intended to be run as a systemd user service.
index.js bridge implementationagent-wallet-nwc-bridge.service unit (uses %h)install_systemd_user.shnwc.env, state.json) stored locally (not committed)wss://nos.lol)git clone https://github.com/kristapsk/agent-wallet-nwc-bridge
cd agent-wallet-nwc-bridge
npm install
cp -n nwc.env.example nwc.env
# initialize state + create wallet service pubkey
node index.js init --relay wss://nos.lol
# install + start as user service
./install_systemd_user.sh
# follow logs
journalctl --user -u agent-wallet-nwc-bridge.service -f
Edit nwc.env:
NWC_RELAYS — comma-separated relay list (e.g. wss://nos.lol,wss://relay.damus.io)NWC_STATE — defaults to state.json (relative to WorkingDirectory)NWC_AUTO_REGISTER — 0 recommended (use explicit URIs/permissions)NWC_DEFAULT_BUDGET_SATS — default spending cap when generating URIsSecurity note: state.json contains NWC connection secrets. Do not commit it.
make_invoice requests appear in bridge logspay_invoice requests appear and result in a paid invoiceRestart after changes:
systemctl --user restart agent-wallet-nwc-bridge.service
Disable:
systemctl --user disable --now agent-wallet-nwc-bridge.service
README.md, SKILL.md, and package.json are present.nwc.env, state.json, node_modules/ are ignored by default).