Add nurl and vainstr CLI tools (v0.39.0)
Some checks failed
Go / build-and-release (push) Has been cancelled
Some checks failed
Go / build-and-release (push) Has been cancelled
- Add nurl: NIP-98 authenticated HTTP client for testing owner APIs - Add vainstr: vanity npub generator using fast secp256k1 library - Update CLAUDE.md with documentation for both tools - Properly handle secp256k1 library loading via p8k.New() Files modified: - cmd/nurl/main.go: New NIP-98 HTTP client tool - cmd/vainstr/main.go: New vanity npub generator - CLAUDE.md: Added usage documentation for nurl and vainstr - go.mod/go.sum: Added go-arg dependency for vainstr - pkg/version/version: Bump to v0.39.0 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
11
CLAUDE.md
11
CLAUDE.md
@@ -21,6 +21,17 @@ go test -v -run TestName ./pkg/package
|
||||
# Web UI dev (hot reload)
|
||||
ORLY_WEB_DISABLE=true ORLY_WEB_DEV_PROXY_URL=http://localhost:5173 ./orly &
|
||||
cd app/web && bun run dev
|
||||
|
||||
# NIP-98 HTTP debugging (build: go build -o nurl ./cmd/nurl)
|
||||
NOSTR_SECRET_KEY=nsec1... ./nurl https://relay.example.com/api/logs
|
||||
NOSTR_SECRET_KEY=nsec1... ./nurl https://relay.example.com/api/logs/clear
|
||||
./nurl help # Show usage
|
||||
|
||||
# Vanity npub generator (build: go build -o vainstr ./cmd/vainstr)
|
||||
./vainstr mleku end # Find npub ending with "mleku"
|
||||
./vainstr orly begin # Find npub starting with "orly" (after npub1)
|
||||
./vainstr foo contain # Find npub containing "foo"
|
||||
./vainstr --threads 4 xyz end # Use 4 threads
|
||||
```
|
||||
|
||||
## Key Environment Variables
|
||||
|
||||
Reference in New Issue
Block a user