ndk
ndk copied to clipboard
Nostr Development Kit with outbox-model support
A first step to support [`devcontainers`](https://containers.dev/) and provide reproducible development experiences to ease onboarding of new developers. Tested as ```javascript > const { default: NDK } = require('./ndk'); undefined >...
It is impossible to _reliably_ attach a fine-grained callback (subscription.on(...)=>{} ) on ndk svelte store subscriptions. Purpose: storeSubscriptions are great to handle a collection of Svelte components but sometimes it...
On ndk-svelte/index.ts line 38: This type should be exported to properly access options of the store subscription
I'm really not sure what's going on... but svelte page loading is non responsive with no errors. I've isolated the problem to ndkuser.fetchProfile() being called and everything just stops. All...
I was wondering if it would be possible to get the raw event from the user metadata (kind:0). It would be interesting if `fetchUserProfile()` or `NDKUser` had a method that...
Actual result: Event created_at gets changed when republishing someone else's kinds 0, 3 events. Expected result: When re-publishing someone else's replaceable events, event.created_at should not be changed.
Nip46 signer client only uses the 'sig' field from an event returned from nip46 server: https://github.com/nostr-dev-kit/ndk/blob/7cd209e41806124e1a7cf75de34d95b357cf7c6b/ndk/src/signers/nip46/index.ts#L242C1-L243C1 However, NDK's own nip46 server may change the to-be-signed event (in particular, it changes...
I'm trying to build a tauri nostr desktop app, but I think I need to do something like discord where they login via nostr on the web and get a...
Seems to me, an NDKSigner that dynamically decrypts an encrypted private key ONLY for signing events could be useful? Am I missing something? - pasting ncrypt into web browser clients...
Any time table structures change in Dexie, others outdated Databases will most probably break unless they detect the change in the DB version and delete cache altogether and start over....