SlideShare a Scribd company logo
1 of 28
6.53
Nostr – How to
Decentralize Social
Media
1/11/23
Table of contents
• Intro
• Definition - It’s “decentralized twitter”
• Background – Architecture Comparisons
• Twitter – Centralized, Mastodon – Federated,
• Enter Nostr!
• Description
• Architecture
• Why are people talking about it?
• Protocol - How it works
• Notes (kinds), Profiles, NIP-05 Verification
• Getting Started
• Getting setup on a Client
What is Nostr?
• “Nodes and Other Stuff Transmitted
over Relays”
• A new protocol to “fix” social media
• Developed by Bitcoiners
Bitcoin  Money
Nostr  Twitter
Twitter – How it works
Twitter - Architecture
You Twitter App
Twitter
Servers
User
Twitter App
1. Download Twitter
“I want to say
something to the
world!”
”My foot smells
funny.”
2. Compose Tweet
”My foot smells
funny.”
3. Post Tweet 4. Wait for Twitter to
Serve your Tweet to
Others
Twitter – Traditional Social Media
• Centralized
• Single Source of Truth
• It’s right… Trust us
Who owns your account?
Client Server
(data)
Protocol
(Presentation of data)
Twitter – Censorship
Twitter – Hard Ban
You Twitter App
Twitter
Servers
1. Download Twitter
“I want to say
something to the
world!”
”Chinese Gov’t…
Not a fan.”
2. Compose Tweet
”Chinese Gov’t… Not a
fan.”
3. Post Tweet
Twitter – Shadow Ban
You Twitter App
Twitter
Servers
User
Twitter App
1. Download Twitter
“I want to say
something to the
world!”
”Vote 4 Me! I hate
kittens!”
2. Compose Tweet
”Vote 4 Me! I hate
kittens!”
3. Post Tweet 4. Wait for Twitter to
Serve your Tweet to
Others
Twitter – Problem Summary
• Censorship
• “I can’t post what I think… I might get banned”
• Data Ownership
• ”If I get banned, I lose all of my followers”
• Competition
• ”I HAVE to use the Twitter App because there’s no alternative.”
Twitter
“We were the Client, the Protocol, and the
Hosting… which produced a single-point-of
failure – the company”
Jack Dorsey
Founder of Twitter
Alternative - Mastodon
Federations
What is Mastodon?
• ”Better” Social Media
• Anyone can run a Mastodon Server
• Each Server can create their own
moderation rules and regulations
Mastodon - Architecture
You Mastodon App
BitcoinHackers.org
User
Mastodon App
1. Download Mastodon
”My foot smells
funny.”
2. Compose Message
”My foot smells
funny.”
3. Post Tweet
4. Wait for BitcoinHackers.org
“I want to say
something to a
HYPERSPECIFI
C Group of
people!”
Mastodon
• Federated - Many owners
• Users can pick a Moderator to
trust.
Who owns your account?
Client Server
(data)
Protocol
(Presentation of data)
BitcoinHackers
Moderator
BitcoinHackers
Moderator
• Users are free to pick any server.
• The Moderator can censor/ban
• Each server turns into an echo chamber
Mastodon – Summary
Mixed Reviews
Nostr
Decentralized
Nostr – Nodes and Other Stuff Transmitted
Over Relays -
• First announced about a year ago by fiatjaf
• The simplest protocol for censorship-
resistant global social network
Nostr - Architecture
You Damus App User
Nostr.rocks
1. Download any client
“I want to say
something to the
world!”
wss://nostr.ora
ngepill.dev
2. Compose Note
”My foot smells
funny.”
3. Send note to
multiple relays.
4. Wait for people to
check any client.
wss://relay.cry
ptoculture.dev
wss://nostr.p2s
h.com
https://astral.ninja/ Damus https://anigma.io
Nostr – Current Events
Nostr – Nodes and Other Stuff Transmitted
Over Relays -
• The simplest protocol for a censorship-resistant global
social network
• Everyone runs a client.
• To publish something, you write a post, sign it with your key,
and send it multiple relays.
• To get updates, ask multiple relays.
• Anyone can run a relay. A relay is very simple and dumb.
• Relays don’t have to be trusted. Signatures are verified on
the client side.
Notes
• Kind 0: Profile Update
• Kind 1: Normal post
• Kind 4: Encrypted Direct
Message
• NIP: Nostr Improvement
Possibility
Nostr Accounts
• Username  npub
• Search users with npub
• Password  nsec
Account Verification
• NIP-05
• name@website
• jack@cash.app
• Verification
• NIP-05
Nostr – Lightning Invoices
• Clients control UX
• Damus feature
Getting Started
• Get a client
• https://www.nostr.net/
• Web, Desktop, Mobile
Thanks!
Follow me on Nostr
NIP-05  alex@pleb.fm
npub16anjdksmvn5x08vtden04n64rw5
k7fsjmedpw8avsx8wsh8ruhlq076pfx

More Related Content

Similar to Nostr Intro - ATL BitDevs.pptx

Similar to Nostr Intro - ATL BitDevs.pptx (20)

Bitcoin and Ransomware Analysis
Bitcoin and Ransomware AnalysisBitcoin and Ransomware Analysis
Bitcoin and Ransomware Analysis
 
Open bazaar
Open bazaarOpen bazaar
Open bazaar
 
Best Practices for Design Hardware APIs
Best Practices for Design Hardware APIsBest Practices for Design Hardware APIs
Best Practices for Design Hardware APIs
 
Atlanta Microservices Day: Istio Service Mesh
Atlanta Microservices Day: Istio Service MeshAtlanta Microservices Day: Istio Service Mesh
Atlanta Microservices Day: Istio Service Mesh
 
The future of crowdfunding
The future of crowdfundingThe future of crowdfunding
The future of crowdfunding
 
Blockchain, Ethereum and ConsenSys
Blockchain, Ethereum and ConsenSysBlockchain, Ethereum and ConsenSys
Blockchain, Ethereum and ConsenSys
 
Oct meetup open stack 101 clean
Oct meetup open stack 101   cleanOct meetup open stack 101   clean
Oct meetup open stack 101 clean
 
How to write a Neutron Plugin - if you really need to
How to write a Neutron Plugin - if you really need toHow to write a Neutron Plugin - if you really need to
How to write a Neutron Plugin - if you really need to
 
ToR - Deep Web
ToR -  Deep Web ToR -  Deep Web
ToR - Deep Web
 
Decentralized internet
Decentralized  internet Decentralized  internet
Decentralized internet
 
Gustavo Zastrow - Introduction to AWS IoT Core and MQTT
Gustavo Zastrow - Introduction to AWS  IoT Core and MQTTGustavo Zastrow - Introduction to AWS  IoT Core and MQTT
Gustavo Zastrow - Introduction to AWS IoT Core and MQTT
 
Introduction to Blockchain Technology
Introduction to Blockchain TechnologyIntroduction to Blockchain Technology
Introduction to Blockchain Technology
 
Introduction to Blockchain and Cryptocurrencies
Introduction to Blockchain  and CryptocurrenciesIntroduction to Blockchain  and Cryptocurrencies
Introduction to Blockchain and Cryptocurrencies
 
PHX DevOps Days: Service Mesh Landscape
PHX DevOps Days: Service Mesh LandscapePHX DevOps Days: Service Mesh Landscape
PHX DevOps Days: Service Mesh Landscape
 
Particl Project - Privacy Focused Decentralized Applications
Particl Project - Privacy Focused Decentralized ApplicationsParticl Project - Privacy Focused Decentralized Applications
Particl Project - Privacy Focused Decentralized Applications
 
API World: The service-mesh landscape
API World: The service-mesh landscapeAPI World: The service-mesh landscape
API World: The service-mesh landscape
 
Containers, Habitat and Orchestration - Infracoders Meetup Graz
Containers, Habitat and Orchestration - Infracoders Meetup GrazContainers, Habitat and Orchestration - Infracoders Meetup Graz
Containers, Habitat and Orchestration - Infracoders Meetup Graz
 
BSIDES-PR Keynote Hunting for Bad Guys
BSIDES-PR Keynote Hunting for Bad GuysBSIDES-PR Keynote Hunting for Bad Guys
BSIDES-PR Keynote Hunting for Bad Guys
 
Introduction to Open Source, Apache and Apache Way
Introduction to Open Source, Apache and Apache WayIntroduction to Open Source, Apache and Apache Way
Introduction to Open Source, Apache and Apache Way
 
Blockstrap at FOSS Asia - 2015 - Building Browser-Based Blockchain Applications
Blockstrap at FOSS Asia - 2015 - Building Browser-Based Blockchain ApplicationsBlockstrap at FOSS Asia - 2015 - Building Browser-Based Blockchain Applications
Blockstrap at FOSS Asia - 2015 - Building Browser-Based Blockchain Applications
 

More from AlexLewin7 (6)

Auntie LN
Auntie LN Auntie LN
Auntie LN
 
A Gentle Introduction to Blockchain & Cryptocurrency
A Gentle Introduction to Blockchain & CryptocurrencyA Gentle Introduction to Blockchain & Cryptocurrency
A Gentle Introduction to Blockchain & Cryptocurrency
 
Vim - How to Develop Like a Ninja
Vim - How to Develop Like a NinjaVim - How to Develop Like a Ninja
Vim - How to Develop Like a Ninja
 
TAbConf 21 Hackathon Results
TAbConf 21 Hackathon ResultsTAbConf 21 Hackathon Results
TAbConf 21 Hackathon Results
 
SSI, TBDex Overview
SSI, TBDex Overview SSI, TBDex Overview
SSI, TBDex Overview
 
How Bitcoin Fits into Web 3
How Bitcoin Fits into Web 3How Bitcoin Fits into Web 3
How Bitcoin Fits into Web 3
 

Recently uploaded

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Recently uploaded (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 

Nostr Intro - ATL BitDevs.pptx

  • 1. 6.53 Nostr – How to Decentralize Social Media 1/11/23
  • 2. Table of contents • Intro • Definition - It’s “decentralized twitter” • Background – Architecture Comparisons • Twitter – Centralized, Mastodon – Federated, • Enter Nostr! • Description • Architecture • Why are people talking about it? • Protocol - How it works • Notes (kinds), Profiles, NIP-05 Verification • Getting Started • Getting setup on a Client
  • 3. What is Nostr? • “Nodes and Other Stuff Transmitted over Relays” • A new protocol to “fix” social media • Developed by Bitcoiners Bitcoin  Money Nostr  Twitter
  • 4. Twitter – How it works
  • 5. Twitter - Architecture You Twitter App Twitter Servers User Twitter App 1. Download Twitter “I want to say something to the world!” ”My foot smells funny.” 2. Compose Tweet ”My foot smells funny.” 3. Post Tweet 4. Wait for Twitter to Serve your Tweet to Others
  • 6. Twitter – Traditional Social Media • Centralized • Single Source of Truth • It’s right… Trust us Who owns your account? Client Server (data) Protocol (Presentation of data)
  • 8. Twitter – Hard Ban You Twitter App Twitter Servers 1. Download Twitter “I want to say something to the world!” ”Chinese Gov’t… Not a fan.” 2. Compose Tweet ”Chinese Gov’t… Not a fan.” 3. Post Tweet
  • 9. Twitter – Shadow Ban You Twitter App Twitter Servers User Twitter App 1. Download Twitter “I want to say something to the world!” ”Vote 4 Me! I hate kittens!” 2. Compose Tweet ”Vote 4 Me! I hate kittens!” 3. Post Tweet 4. Wait for Twitter to Serve your Tweet to Others
  • 10. Twitter – Problem Summary • Censorship • “I can’t post what I think… I might get banned” • Data Ownership • ”If I get banned, I lose all of my followers” • Competition • ”I HAVE to use the Twitter App because there’s no alternative.”
  • 11. Twitter “We were the Client, the Protocol, and the Hosting… which produced a single-point-of failure – the company” Jack Dorsey Founder of Twitter
  • 13. What is Mastodon? • ”Better” Social Media • Anyone can run a Mastodon Server • Each Server can create their own moderation rules and regulations
  • 14. Mastodon - Architecture You Mastodon App BitcoinHackers.org User Mastodon App 1. Download Mastodon ”My foot smells funny.” 2. Compose Message ”My foot smells funny.” 3. Post Tweet 4. Wait for BitcoinHackers.org “I want to say something to a HYPERSPECIFI C Group of people!”
  • 15. Mastodon • Federated - Many owners • Users can pick a Moderator to trust. Who owns your account? Client Server (data) Protocol (Presentation of data) BitcoinHackers Moderator BitcoinHackers Moderator
  • 16. • Users are free to pick any server. • The Moderator can censor/ban • Each server turns into an echo chamber Mastodon – Summary Mixed Reviews
  • 18. Nostr – Nodes and Other Stuff Transmitted Over Relays - • First announced about a year ago by fiatjaf • The simplest protocol for censorship- resistant global social network
  • 19. Nostr - Architecture You Damus App User Nostr.rocks 1. Download any client “I want to say something to the world!” wss://nostr.ora ngepill.dev 2. Compose Note ”My foot smells funny.” 3. Send note to multiple relays. 4. Wait for people to check any client. wss://relay.cry ptoculture.dev wss://nostr.p2s h.com
  • 22. Nostr – Nodes and Other Stuff Transmitted Over Relays - • The simplest protocol for a censorship-resistant global social network • Everyone runs a client. • To publish something, you write a post, sign it with your key, and send it multiple relays. • To get updates, ask multiple relays. • Anyone can run a relay. A relay is very simple and dumb. • Relays don’t have to be trusted. Signatures are verified on the client side.
  • 23. Notes • Kind 0: Profile Update • Kind 1: Normal post • Kind 4: Encrypted Direct Message • NIP: Nostr Improvement Possibility
  • 24. Nostr Accounts • Username  npub • Search users with npub • Password  nsec
  • 25. Account Verification • NIP-05 • name@website • jack@cash.app • Verification • NIP-05
  • 26. Nostr – Lightning Invoices • Clients control UX • Damus feature
  • 27. Getting Started • Get a client • https://www.nostr.net/ • Web, Desktop, Mobile
  • 28. Thanks! Follow me on Nostr NIP-05  alex@pleb.fm npub16anjdksmvn5x08vtden04n64rw5 k7fsjmedpw8avsx8wsh8ruhlq076pfx

Editor's Notes

  1. USE SLIDE SHOW MODE, Before Diving into nostr, let’s talk about Twitter 0. “I want to say something to the world”, at any other point in history, this would be incredibly challenging!!! But twitter makes it easy. Download twitter
  2. Enter Nostr! Description Characterizations – Very Simple, Relay=dumb/client=smart, Protocol - How it works Notes (kinds), Relays, clients NIP-04 secret, NIP-05 communication, NIP-19 encoding (npub/nsec) Getting Started Getting setup on a Client