nostr-veil 0.2.2 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +19 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -98,6 +98,8 @@ const result = verifyProof(assertion)
98
98
  // { valid: true, circleSize: 3, threshold: 2, distinctSigners: 2, errors: [] }
99
99
  ```
100
100
 
101
+ **Important:** `memberIndex` must match the member's position in the *sorted* pubkey array. `createTrustCircle` sorts pubkeys lexicographically -- the index you pass to `contributeAssertion` must reflect that sorted order, not the order you passed to `createTrustCircle`. Use `circle.members.indexOf(myPubkey)` to find the correct index.
102
+
101
103
  The resulting `assertion` is a plain `EventTemplate` you sign and publish like any other Nostr event.
102
104
 
103
105
  ---
@@ -183,6 +185,23 @@ Each project is independently maintained and published. nostr-veil focuses solel
183
185
  - [llms.txt](./llms.txt) -- Machine-readable project summary for LLMs
184
186
  - [CLAUDE.md](./CLAUDE.md) -- AI agent instructions for contributing
185
187
 
188
+ ## Part of the ForgeSworn Toolkit
189
+
190
+ [ForgeSworn](https://forgesworn.dev) builds open-source cryptographic identity, payments, and coordination tools for Nostr.
191
+
192
+ | Library | What it does |
193
+ |---------|-------------|
194
+ | [nsec-tree](https://github.com/forgesworn/nsec-tree) | Deterministic sub-identity derivation |
195
+ | [ring-sig](https://github.com/forgesworn/ring-sig) | SAG/LSAG ring signatures on secp256k1 |
196
+ | [range-proof](https://github.com/forgesworn/range-proof) | Pedersen commitment range proofs |
197
+ | [canary-kit](https://github.com/forgesworn/canary-kit) | Coercion-resistant spoken verification |
198
+ | [spoken-token](https://github.com/forgesworn/spoken-token) | Human-speakable verification tokens |
199
+ | [toll-booth](https://github.com/forgesworn/toll-booth) | L402 payment middleware |
200
+ | [geohash-kit](https://github.com/forgesworn/geohash-kit) | Geohash toolkit with polygon coverage |
201
+ | [nostr-attestations](https://github.com/forgesworn/nostr-attestations) | NIP-VA verifiable attestations |
202
+ | [dominion](https://github.com/forgesworn/dominion) | Epoch-based encrypted access control |
203
+ | [nostr-veil](https://github.com/forgesworn/nostr-veil) | Privacy-preserving Web of Trust |
204
+
186
205
  ## Licence
187
206
 
188
207
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nostr-veil",
3
- "version": "0.2.2",
3
+ "version": "0.3.0",
4
4
  "description": "Anonymous trust assertions for Nostr. LSAG ring-signature-backed NIP-85 endorsements where contributors are verifiable but unidentifiable.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",