Barış aka dhalsim
My Nostr Profile
Nostrize brings Nostr to popular platforms like GitHub, YouTube and Twitter
What is Nostrize?
* More integrations to come
- "Nostr" stands for "Notes and Other Stuff Transmitted by Relays."
- An open protocol for building censorship-resistant global networks
- Protocol defined by NIPs (Nostr Implementation Possibilities)
- Signed events
- Web sockets, Subscription based communication
What is Nostr
Nostr Network Architecture
* A nostr user can choose multiple clients and multiple relays to work with
{
"id": "<32-bytes sha256 of the serialized event data>",
"pubkey": "<32-bytes hex-encoded public key of the event creator>",
"created_at": "<unix timestamp in seconds>",
"kind": "<integer>",
"tags": [
["e", "<32-bytes hex of the id of another event>", "<recommended relay URL>"],
["p", "<32-bytes hex of the key>", "<recommended relay URL>"]
],
"content": "<arbitrary string>",
"sig": "<64-bytes signature of the sha256 hash of the serialized event data, same as the 'id'>"
}
Anotomy of a Nost event
Today Nostr
- Started as Twitter clones
- Podcast
- Streaming
- Article/Blog
- Wiki
- Group chat
- Marketplaces
- Account managers/Signers
- Data Vending Machines (DVMs)
- https://nostrapps.com/ for more
Future of Nostr?
- New protocols and applications are being developed
- There is no central authority to decide. Good protocols & features will stick in time
- Can be the communication layer between applications
- Identity provider
- Making the Web Bitcoin enabled (Zap)
Back to Nostrize
How can I pay a youtube creator with bitcoin?
What is the role of Nostrize in this scenario?
What about Youtube, GitHub sponsors, Patreon etc?
- YouTube pays content creators 68% of the AdSense revenue
- 70% of the Super Thanks
- GitHub requires 3% CC fee + 3% Service Fee
- Patreon takes 5-8%
- Twitter gets around %30
- Eligibility?
- Minimum payment amount?
What is Value for Value? Value for Value (V4V) is a unique monetization tool developed by the Podcasting 2.0 initiative that enables listeners to tip⚡️ podcasters using Bitcoin as a way of saying thanks for the value they received from your content.
V4V
How does it work?
- Users provide either
- (bech32 encoded) pubkey or
- NIP-05 address in their profiles/accounts
- Nostrize extension fetches the pubkey of the user
dhalsim@nostrize.me
{
"names": {
"dhalsim": "6e64b83c1f674fb00a5f19816c297b6414bf67f015894e04dd4c657e94102ee8"
},
"nostrize-extension": {
"6e64b83c1f674fb00a5f19816c297b6414bf67f015894e04dd4c657e94102ee8": {
"type": "user",
"emoji": "🧑🏻"
}
}
}
* Not part of the protocol
response of nostr.json?user=dhalsim
3. Extension will fetch the latest nostr profile event
{
"id": "5298a8aa7e3b50fc18ef9691948530b6722ff205792ef3b11856cfb86392bb08",
"pubkey": "97ac27d1b3a9fc61060a58d4380bb3812766f27290f977021935c320619643b7",
"created_at": 1722726037,
"kind": 0,
"tags": [],
"content": {
"website": "https://nostrize.me",
"nip05": "nostrize@nostrize.github.io/github-connect",
"lud16": "dhalsim@blink.sv",
"picture": "https://nostrize.github.io/github-connect/logo.png",
"display_name": "Nostrize",
"about": "The browser extension that empowers any website with the Nostr experience",
"name": "Nostrize"
},
"sig": "..."
}
4. Extension will get the lud16 (Lightning Address)
filter: { authors: [pubkey], kinds: [0], limit: 1 },
5. Do a LNURL-Pay Request
const [name, domain] = lud16.split("@");
const lnurl = new URL(
`/.well-known/lnurlp/${name}`,
`https://${domain}`,
).toString();
const res = await fetch(lnurl);
6. Do a Nostr Zap Request and receive a bolt11 lightning invoice
8. User pays the invoice with their lightning wallet
7. Extension listens for a zap receipt event
* By scanning QR code or manually copy paste invoice
Finish
* Might be good idea to validate the preimage
Can Nostrize help open source developers?
- Do we really need to fund or crowdfund open source projects?
- Can we create a circular economy in the software space?
- Do we need replacements for apps like YouTube, GitHub etc. or?
- We can do the Nostrize way, use nostr as a communication layer on top of existing infra?
I want to discuss further
Things I'm working on for Nostrize
Booster 💉
* Fountain.fm podcast app is getting 4% from boosts, 1% from Premium users
Put a bounty on an issue
Thank you
NIP-05: nostrize@nostrize.me
nostrize @ bitdevs istanbul
By nostrize
nostrize @ bitdevs istanbul
- 120