diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-24 12:30:35 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-24 12:30:35 +0000 |
| commit | 62f829e2743c1fc5df108d10f1ee579f8568a91a (patch) | |
| tree | 790bb9f6de7a3bb5dc4dcb6343bee82b058f7a26 /grasp-audit/README.md | |
| parent | 319c1c7e524bfb78a3f686041e5af2ed60ea182d (diff) | |
update grasp-audit README port examples and remove stale TAG_MIGRATION doc
Diffstat (limited to 'grasp-audit/README.md')
| -rw-r--r-- | grasp-audit/README.md | 10 |
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 . | |||
| 23 | grasp-audit audit --relay wss://relay.ngit.dev | 23 | grasp-audit audit --relay wss://relay.ngit.dev |
| 24 | 24 | ||
| 25 | # Or audit a local development relay | 25 | # Or audit a local development relay |
| 26 | grasp-audit audit --relay ws://localhost:7000 | 26 | grasp-audit audit --relay ws://localhost:7334 |
| 27 | ``` | 27 | ``` |
| 28 | 28 | ||
| 29 | ## Usage Examples | 29 | ## Usage Examples |
| @@ -38,10 +38,10 @@ cargo install --path . | |||
| 38 | grasp-audit audit --relay wss://relay.ngit.dev | 38 | grasp-audit audit --relay wss://relay.ngit.dev |
| 39 | 39 | ||
| 40 | # Audit local development relay | 40 | # Audit local development relay |
| 41 | grasp-audit audit --relay ws://localhost:7000 --spec nip01-smoke | 41 | grasp-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) |
| 44 | grasp-audit audit --relay ws://localhost:7000 --mode isolated --spec push-auth | 44 | grasp-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 |
| 138 | grasp-audit audit --relay ws://localhost:7000 --mode isolated | 138 | grasp-audit audit --relay ws://localhost:7334 --mode isolated |
| 139 | ``` | 139 | ``` |
| 140 | 140 | ||
| 141 | ```rust | 141 | ```rust |