Global Feed Post Login
Replying to Avatar David King

I successfully “vibe coded” my first nostr app

it’s a very simple app, but it works end to end doing the following:

1. create a new identity (npub/nsec)

2. accept a custom message from the user of the app

3. connect to a dozen or more relays (and show connection status/logging for debugging)

4. sign the message input into the app and publish it to all relays it successfully connects to

the newly created identity and message I wrote with the app is the original note shown below

nostr:note187c5l0ysa4mm254anym7ql0veazuhfde0tqfkcdwyvh3eu0jjxjsk5a624

Avatar
Melvin Carvalho 9mo ago

Note: technically speaking your identity in nostr is your pubky / privkey. Npub is for display purposes only, and in fact it has a bug of putting the segwit suffix on the taproot prefix. pubkey is canonical and will be your identity forever.

Reply to this note

Please Login to reply.

Discussion

Avatar
David King 9mo ago

TIL 🤔

Thread collapsed