upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/grasp-audit/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'grasp-audit/README.md')
-rw-r--r--grasp-audit/README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/grasp-audit/README.md b/grasp-audit/README.md
index 936f10f..54e1e93 100644
--- a/grasp-audit/README.md
+++ b/grasp-audit/README.md
@@ -23,7 +23,7 @@ cargo install --path .
23grasp-audit audit --relay wss://relay.ngit.dev 23grasp-audit audit --relay wss://relay.ngit.dev
24 24
25# Or audit a local development relay 25# Or audit a local development relay
26grasp-audit audit --relay ws://localhost:7000 26grasp-audit audit --relay ws://localhost:7334
27``` 27```
28 28
29## Usage Examples 29## Usage Examples
@@ -38,10 +38,10 @@ cargo install --path .
38grasp-audit audit --relay wss://relay.ngit.dev 38grasp-audit audit --relay wss://relay.ngit.dev
39 39
40# Audit local development relay 40# Audit local development relay
41grasp-audit audit --relay ws://localhost:7000 --spec nip01-smoke 41grasp-audit audit --relay ws://localhost:7334 --spec nip01-smoke
42 42
43# Run with isolated fixtures (for testing/debugging) 43# Run with isolated fixtures (for testing/debugging)
44grasp-audit audit --relay ws://localhost:7000 --mode isolated --spec push-auth 44grasp-audit audit --relay ws://localhost:7334 --mode isolated --spec push-auth
45``` 45```
46 46
47### As a Library 47### As a Library
@@ -54,7 +54,7 @@ async fn main() -> Result<()> {
54 // Create audit client with isolated fixtures (recommended for library use) 54 // Create audit client with isolated fixtures (recommended for library use)
55 let config = AuditConfig::isolated(); 55 let config = AuditConfig::isolated();
56 // let config = AuditConfig::shared(); // Alternative: shared fixtures 56 // let config = AuditConfig::shared(); // Alternative: shared fixtures
57 let client = AuditClient::new("ws://localhost:7000", config).await?; 57 let client = AuditClient::new("ws://localhost:7334", config).await?;
58 58
59 // Run NIP-01 smoke tests 59 // Run NIP-01 smoke tests
60 let results = specs::Nip01SmokeTests::run_all(&client).await; 60 let results = specs::Nip01SmokeTests::run_all(&client).await;
@@ -135,7 +135,7 @@ Use this when:
135 135
136```bash 136```bash
137# Use isolated mode explicitly 137# Use isolated mode explicitly
138grasp-audit audit --relay ws://localhost:7000 --mode isolated 138grasp-audit audit --relay ws://localhost:7334 --mode isolated
139``` 139```
140 140
141```rust 141```rust