Awesome nostr

简介: 该文章是关于Nostr协议的详细介绍,包括其去中心化社交网络的构建方式、工作原理、中继(relays)的作用,以及与Farcaster的比较,并提供了一些可用的Nostr客户端和中继实例。

What is Nostr

Nostr is a protocol built using self-owned account/identities so that it enables us to create ‘decentralized’ social networks and even other types of solutions.

“nostr” stands for “Notes and Other Stuff Transmitted by Relays” and
is an open protocol for censorship-resistant global networks created
by @fiatjaf. The simplest open protocol that is able to create a
censorship-resistant global “social” network once and for all.

It doesn’t rely on any trusted central server, hence it is resilient; it is based on cryptographic keys and signatures, so it is tamperproof; it does not rely on P2P techniques, therefore it works.
The Nostr social network is build much like twitter, where you can create posts ( like tweets), like posts, follow someone or unfollow them, retweet/repost. Normally the term ‘post’ or ‘note’ is used to refer to creating a post on the nostr social network.

How does Nostr work?

Using Nostr means using one of its clients to access the Nostr network. There are two components: clients and relays.

  1. User is identified by a public key. Every post is signed.
  2. To publish something, you write a post, sign it with your key and send it to multiple relays (servers hosted by someone else, or yourself). Clients fetch data from relays of their choice and publish data to other relays of their choice.
  3. To get updates from other people, you ask multiple relays if they know anything about these other people.

Relays

  • Relays are (so far) application agnostic. You can run your own or use any or all of the public instances.
  • Anyone can run a relay.
  • A relay is very simple and dumb. It does nothing besides accepting posts from some people and forwarding to others.
  • Relays don’t have to be trusted. Signatures are verified on the client side.A relay doesn’t talk to another relay, only directly to users.

wss://rsslay.fiatjaf.com read write
wss://nostr-pub.wellorder.net read write
wss://expensive-relay.fiatjaf.com read write
wss://relayer.fiatjaf.com read write
wss://nostr-relay.freeberty.net read write
wss://nostr.bitcoiner.social read write

Clients

  • Everybody runs a client. It can be a native client, a web client, etc.
  • Every client validates these signatures.
    在这里插入图片描述

Nostr vs Farcaster

Both Nostr and Farcaster use relays (called “hubs” in Farcaster) to store and transmit social data (like posts) to users (who run software, called “clients”). Farcaster uses the Ethereum architecture (eg, uses ethereum key-pairs for accounts), while Nostr does not use a blockchain (though you see a lot of lightning transactions, and theoretically could support any blockchain).
在这里插入图片描述

Refernce

相关文章
|
SQL 分布式计算 大数据
【大数据技术Hadoop+Spark】Spark SQL、DataFrame、Dataset的讲解及操作演示(图文解释)
【大数据技术Hadoop+Spark】Spark SQL、DataFrame、Dataset的讲解及操作演示(图文解释)
852 0
|
监控 网络协议 Java
分布式链路追踪- SkyWalking使用手册
分布式链路追踪- SkyWalking使用手册
3009 0
分布式链路追踪- SkyWalking使用手册
|
3月前
|
人工智能 JSON API
全网刷屏的 Jev 模型正式开放!一手实战测评 + 保姆级教程
全网爆火的 Jev 模型是什么?有什么用?怎么使用?怎么接入 AI 编程工具?效果真的好么?傻子可懂的 Jev 保姆级实战教程 + 项目实战测评来啦
12816 35
|
5月前
|
人工智能 弹性计算 API
【AI 尝鲜实验室】上新 | New API:一个入口打通全网大模型的统一网关
New API 是 QuantumNous 开源的大模型网关与 AI 资产管理系统(AGPL-3.0,GitHub 42k+ Stars),聚合 OpenAI、Claude、Qwen 等主流模型,提供统一 OpenAI 兼容接口、渠道分组、自动重试、额度管理及在线充值。本实验通过阿里云计算巢一键部署,几分钟即可搭建专属网关,支持团队令牌分发与国产模型无缝接入编程工具。
2157 3
|
Linux Go iOS开发
Go语言100个实战案例-进阶与部署篇:使用Go打包生成可执行文件
本文详解Go语言打包与跨平台编译技巧,涵盖`go build`命令、多平台构建、二进制优化及资源嵌入(embed),助你将项目编译为无依赖的独立可执行文件,轻松实现高效分发与部署。
1930 162
|
10月前
|
弹性计算 人工智能 网络安全
2026年阿里云ECS云服务器OpenClaw(Clawdbot)搭建简易教程,15分钟内完成部署
2026年,OpenClaw(原Clawdbot、Moltbot)凭借“自然语言指令+主动执行任务”的核心能力,成为AI自动化领域的标杆工具,从办公协作、代码开发到网页操作、文件管理,它能像“专属数字员工”一样,帮你搞定所有琐碎事务,彻底解放双手,大幅提升效率。但对零基础新手小白来说,传统部署方式中复杂的环境配置、依赖安装、参数调试等操作,曾是难以跨越的入门门槛——直到阿里云ECS云服务器推出OpenClaw(Clawdbot)专属一键部署方案,依托阿里云计算巢自动化部署能力,彻底打破了这一困境,让新手也能15分钟内完成部署,轻松解锁AI自动化优势。
813 8
|
11月前
|
JavaScript 前端开发 IDE
前端开发项目必备VSCode代码定位神器——code-inspector-plugin
本文介绍了一款由快手前端团队开发的高效开发工具——code-inspector-plugin。该插件可实现点击页面DOM元素,自动定位至IDE中对应源码行,支持Vue、React等主流框架及Webpack、Vite等多种构建工具,无侵入、易集成,大幅提升前端开发调试效率。
1200 0
|
网络协议 Ubuntu
在Ubuntu 18.04/20.04 LTS设置静态DNS服务器的过程。
以上步骤提供了一种简洁明了的指导,让用户能够在Ubuntu系统中有效设置静态DNS服务器,这对日常管理和网络配置来说是非常实用的技能。
2176 18
|
关系型数据库 Go 数据处理
高效数据迁移:使用Go语言优化ETL流程
在本文中,我们将探索Go语言在处理大规模数据迁移任务中的独特优势,以及如何通过Go语言的并发特性来优化数据提取、转换和加载(ETL)流程。不同于其他摘要,本文不仅展示了Go语言在ETL过程中的应用,还提供了实用的代码示例和性能对比分析。