Avatar
ElectronicMonkey
45c41f21e1cf715fa6d9ca20b8e002a574db7bb49e96ee89834c66dac5446b7a
Author of nostr blogging client: https://flycat.club/

I like this idea, previously I have a similar vision of such a relay service and I even named it the yerrow-page relay.

One question,

> specified in a format compatible with event 11002.

what is this 11002 event compatible format? can you give any ref

flycat updates: fix two small issues: 1. previously there are some articles that can't be opened on flycat now they can. 2. comments on blog posts from other clients(like https://habla.news/) will be rendered correctly on the short-notes timeline.

Replying to Avatar Shaun

![image]()

Implicit in the name ‘Web3’ is the expectation of replacement. In technology, versions are successors. When the new model comes out, we upgrade and the older one is replaced and forgotten.

Is this what we mean when we refer to Web3? Will it replace the set of principles, technologies and behaviors that we’ve come to know as Web2? (Is this even the way that phases of the Internet works?)

Many blockchain enthusiasts seem to suggest as much. As the term Web2 has become closely associated with centralized social networks like Twitter and Facebook, and as those networks have become increasingly politically powerful -- with arbitrary, capricious or simply incompetent moderation policies not to mention potentially societally harmful business practices -- it is common to hear crypto folks imply that decentralized applications would do a better job. Community-owned networks would be fairer, in that the users who created the content and attracted new members would fully participate, as token holders, in the value they created. The distribution of content could be based on meaningful values like reputation and expertise, rather than gamified outrage and algorithmically rewarded hype. And governance, like moderation policies, would be driven by the entire community, rather than a small club of executives and their handpicked oversight committees made up of insiders looking to maximize their own wealth or security. The attractiveness of this superior model, it is proposed, will lure in key influencers, provide a better user experience, and propel a shift from the old social platforms to the new.

And yet, it’s difficult to see how that happens. If anything, it seems like crypto has made the ‘old’ centralized social networks, especially Twitter, more central than ever. How many influencers have used their followers to make an easy leap into crypto sales? How many important projects have used social media to find and recruit contributors? Where else would advocates for new coins and tokens state their cases and share their memes? Where else could we show off our CryptoPunks, Hashmasks and Bored Apes? And how could a Bitcoin day trader not keep his eyes glued on Elon’s Twitter feed over the past few months? Social media is so essential to the day-to-day reality of DeFi that it is hard to see where one ends and the other begins. And it is arguably precisely the gamified virality of centralized platforms that makes them so valuable to crypto marketing and community.

Given this dynamic, how realistic is some transition? Or have we actually trapped ourselves deeper in a centralized system? And what is actually wrong with Web2 anyway?

**What is actually wrong with Web2?**

In 2004 “Web2” was popularized at a conference which sought to ask the very same question: “What is wrong?” The organizers of the first Web2 conference felt that the industry “had lost its way” after the dotcom bubble burst and needed an injection of confidence. In particular, there was a sense that the vertically integrated portals, like America Online and Yahoo, had created unsustainable monoliths ‘evilly’ trapped users and their data, prevented creative innovation from smaller startups, and led to bubble and bust. Web2 at its outset was about understanding and emulating the ideals and design concepts of the open source movement, but also the success of companies that were still expanding despite the drought, like Google and Amazon.

In those days, Google especially was seen as a role model, in the way that it sent searching users away to the best resources. Rather than try to seize 100% of the value, the virtuous approach was also the best for the ecosystem. The symbolically central concept was that of the ‘open API.’ Everyone should and would build on everyone else. In fact, one of the most important lessons gleaned from the surviving companies was that user-generated content and data could be a source of sustainable competitive advantage while improving the user experience and the web for all. Users would from here on be first-class contributors, no longer relegated to bottom-of-the-page comments sections, but rather the stars of these new open systems. Developers would vie to attract their usage and contributions by offering ever greater freedoms and flexibility. The best companies would be the best platforms, creating more value for the entire ecosystem.

But the catch was that this was never a sustainable long-term strategy, at least not for the purposes of promoting an open ecosystem. User-generated data is vulnerable to a family of sub optimizations such as Goodhart’s Law, in which using a “measure” as a “metric” devalues the measure itself. If you’re Google building PageRank on natural weblinks you’ll quickly generate SEO schemes which seek to game your measure. If you’re Amazon relying on user-generated reviews, you’ll soon be flooded with fakes. And if you’re Facebook building algorithms for user recommendation, you’ll soon be suggested content in your existing ideologies and filter bubbles.

These measure-based competitive advantages erode as companies instill them as metrics to be gained and optimized against. The result is that these companies, naturally seeking to maintain advantage, are forced to develop strong capabilities in user management and manipulation themselves. More charitably, it turns out that the data was more a means to reduce friction, improve experience and aggregate demand centrally, recreating most of the negatives of the old portal system, just with a friendly moniker that everything is just one click away. These successful companies in most cases weren’t true platforms, but aggregators, locking in demand and exerting central control, though admittedly with a velvet fist enforced at least at first and in part by superior user experience.

And this necessary lock-in is arguably the source of today’s ire. Whereas 2004's Web2 was reckoning with marketplace failure, 2021's Web3 is reckoning with user failure. We are a community of people failing the marshmallow test, always optimizing for less friction, more dopamine and shorter feedback cycles. We claim to want richer experiences, to support independent actors, to despise centralization and to demand more meaningful connections and higher quality content. But then we unlock our phones. And so Google, Facebook and Twitter’s success with data-based ad monetization and engagement optimized user experience is now the problem, not the solution.

As Web2 companies began to deeply understand the powerful potential of their innovations — the game-ish reaction buttons, the follower graph, the algorithmic ‘newsfeed’ — they became adept at a clever stratagem. Rather than committing to perpetual openness, they could offer new user tools or developer APIs and encourage the community to use them to create. If the results were beneficial to the company, they might allow this creativity to flourish for a while, but soon enough, they would either charge the most successful creations for prominence or buy or build their own.

It was hard to blame them for this approach. It worked! Twitter, Facebook and Google were for-profit companies and the dynamic was not new for ‘platforms.’ Microsoft, the boogeyman of the open source community, had employed similar tactics in its heyday. But it was the development and explosive growth of the smartphone that made it so ferocious.

Mobile devices, with their app stores, emojis, cameras, notifications and most importantly, constant tactile presence, were the perfect match for ‘Web2’ social networks. Every new phone buyer was a potential heavy social user, and the dense relationship networks that quickly formed made it almost impossible for people to resist buying phones to access them.

This loop triggered a flood of new and highly engaged users unlike anything seen in the history of technology adoption. All over the world, people who recently had only limited access to computers were now checking their newsfeeds throughout the day. Every new family or friend each of them followed increased the value of the experience, the depth of their connection and the virality of the network. Mobile and social became a second brain, “notifications” a sixth sense. So, even if content creators and app developers knew the ‘game’ was ‘rigged,’ how could they not take advantage of this massive opportunity? Maybe, they reasoned, if their brand or invention was the first, if it was the best, it might be one of the few that got so big so fast they’d achieve some kind of escape velocity from the gravity well of the social networks. After all, it had happened. Social apps or content with just the right combination of uniqueness, design genius and luck had hit the jackpot and acquired millions of customers within hours. And so they poured their ideas, talent and cash into these platforms, adding even more appealing media and interactivity, fostering even deeper engagement without any additional cost to the network. And despite the grumbles about unfair practices or addictive behaviors, all this just made the networks more essential. The flood of users kept pouring in.

We now live in a world of this flood. It’s a world overflowing with social activity, a world where every institution is dragged around by the currents of a new wildly unpredictable environment. Our children dream of growing up to be Instagram ‘influencers.’ Our pop charts are a direct output of the most popular backing tracks on Tiktok. A Facebook-inspired political cult attacked the US Capitol. Even the social platforms are buffeted by the storms unleashed by their technology. Their efforts to assert control have little effect, other than making their position even more essential and central. So, it is in the context of this flooded world, that the notion of Web3 as a successor paradigm has such alluring appeal.

**Platform wealth and economic sharing**

Today, creators & consumers contribute to a platform to gain social or economic status. But this status is rented (status on platform only, revenue shared directly with platform). In Web3 this status is owned. Not only is social reputation portable, but the relationship with IP created on platform can be owned and portable as well.

**Content ownership and rights**

Web3 introduces ownership as a process. As IP is put out on the web, IP is minted on chain in order to show provenance and give creator control to its distribution and usage rights. This is done on the individual level vs. the platform level.

**The happy accident of NFTs**

It seems increasingly evident that certain objects on an open, interoperable world computer will be treated and valued like, well… real objects. This is not yet fully understood, but insofar as NFTs are unique to blockchain-style architectures this would represent quite an advantage.

**Lies, hype and bots**

Actors can still choose to create as many personalities, handles, keys, etc. as they’d like. However, the incentive for building reputation is to accumulate as much good faith on a single identity as possible. This will enable better positioning and recruiting into more lucrative and socially beneficial opportunities than those handles that lack reputation.

**Governance, individual influence and moderation**

As we discussed in previous articles, ownership is less about financial upside and more about social influence. In Web3, the individual is now influential within the organization it holds tokens of, giving s/he the ability to drive decision making that will bring better health and effectiveness to the community.

**Permissionless development and composability**

Today’s platforms control what can and cannot be published on their network. It also starts every user from the same starting line. In Web3, development is unrestricted because the permission is tied directly to that individual's reputation. Every decision they make is tied to their identity, so it’s a choice as to whether or not you want to carry these decisions with you throughout the web. Everything built on the protocol is foundational to what others can build on top of it. So instead of everyone acting independently and starting from scratch, everyone works in collaboration and builds on top of foundational legos from other members before them.

**New models of work and collaboration**

The business models of Web3 encourage collaboration. In Web2, all revenue streams reward the action of the output (advertising against what’s already published, subscribing to a finished piece of work). In Web3, there’s now a business model on the input. Crowdfunding and social tokens are an investment in the idea before there is any output generated, encouraging strong collaboration at the onset which rewards all participants throughout the creative process

This is a rich set of imagined capabilities that directly answers the most pernicious problems of Web2 as it has crystallized nearly twenty years after its inception: ownership, governance, openness, incentives, reputation. In many ways, the solutions Web3 proposes are the direct opposite of those offered by social networks, a far ‘better deal’ for users, creators and developers, an approach intentionally weighted to reward the individual or team on the basis of her, his or their input, rather than be drowned amid ever increasing control and returns to the owners and operators of networks. Which leads us to the question: If it’s better for more people, will Web3 replace Web2? Why wouldn’t it?

**There are three possible answers:**

1. No -- Web3 is best understood as a sort of ‘economic’ extension of Web2, especially of social media, and it will grow as Web2 grows.

2. Sort of -- key aspects of Web2 will be better performed by Web3 systems and there will be a symbiotic relationship between two parallel but similarly powerful models.

3. Yes -- over time, all of the key aspects of Web2, including centralized social networks, will be replaced by web3-style user-owned and governed protocols.

We can think of these being three horizons: Web3 as testing ground (1), as complement (2), or as critique (3). As for the first, it may be that Web3 is a sort of open lab of experimentation whose successes will eventually be absorbed by existing structures. This testing ground outcome emerges if the natural inefficiencies of, say, Web3 database structures don’t have any compensating advantages over the long term. The second outcome of complementarity occurs as aspects of Web3 thrive alongside, and even enhance the value of, Web2. This seems to be the case with Twitter, which may be the greatest consumer onramp to Web3 and clearly plays a major role in the ecosystem. The third outcome, the most extreme, is probably best thought of as Web3 being an inherent critique of Web2. Replacement will seem necessary insofar as Twitter, or Facebook, or Paypal’s success is thought to be Web3’s failure.

Perhaps one difference between today’s context and 2004’s -- when we roughly transitioned to the social/mobile Web2 -- is that the large tech companies that have mastered their strategies are broadly and firmly entrenched, and it isn’t as clear how a newcomer can emulate or even improve on their strategies while maintaining defensibility. To look at Twitter for example, for crypto, its ‘purpose’ is a portal to scarcity games, NFT drops, and FOMO. The function today is to spread narratives and create FOMO for markets in Web3. But what happens as the number of markets in Web3 exponentially increases? Web3 says it provides an escape, but it’s not certain whether the escape is scarcity financial games that shift attention or a new fairground with even playing rules. We were trained to play the game rather than play the game in a fair manner.

Right now, and for the foreseeable future, follower graphs on centralized social networks are a source of significant and enduring value. We see in every dimension of our society how efficiently that influence can be translated into financial, political and cultural gain. So to ask our question another way: Will there be a time when most users’ on-chain identities and reputations are more valuable to them than their centralized social network follower count and composition? The three answer options above represent different degrees of optimism.

It is easy, given the trajectory of this most recent era of tech, to be pessimistic. Many of the idealistic outcomes people argued were ‘inevitable’ in 2004 now look laughably pollyannaish. But our current situation, strangely simultaneously both centralized and chaotic, is neither all bad nor intractable. The mobile and social transition that flooded — and still floods — billions of people into Web2 is providing a historic opening for human creativity and connection. For all of the algorithmic manipulation and clever incentives of social networks, these are billions of human beings with free will. They aren’t pre-programmed robots. It is factful not fanciful to recognize that they will determine the future. But they won’t do it based on vague ideals of decentralization. Only if and to the extent that Web3 truly benefits their lives will they push past our legacy networks into a next phase.

**Acknowledgement**

Original author: Dark Star, Jamm Session etc.

Original link: https://darkstar.mirror.xyz/aXm3OTVTK26hN2QKu82s8NjLQYPKCOMiVD2zIioCOVU

This article was translated into Chinese on July, 2021.

Appreciate the support and assistance of the DAOrayaki community.

Chinese translation link:

https://daorayaki.org/post/63e8c14fe16a89f3dbd990e3

do you post via a bot?

# Dear Louis CK,

I don't know much about stocks. I don't really know why unprofitable companies go up in value. I don't know why so many people bought bonds that pay 1.5% when the goal of the Federal Reserve is to keep inflation at 2%. I don't know why these investments are considered safe. I sure as hell don't know why banks only keep a fraction of the money on reserve. I also can't predict what the Federal Reserve will set the interest rates to. I don't know how the USA will pay off the [national debt](https://www.usdebtclock.org/).

I just know we have a peer to peer electronic cash system named bitcoin.

*Ducks Twitter Slap by using nostr*

We use the lightning network to pay for coffee. Here is a video of Alex Gladstein buying a cup of coffee in El Salvador. Bitcoin is legal tender in that country. Alex works for the [Human Rights Foundation](https://hrf.org/).

## Zaps On Nostr

We use the lightning network to send [zaps](https://zaplife.lol/) on [nostr](https://nostr.com/). A zap is a bitcoin payment sent over the lightning network. It takes seconds and zaps can be made to anyone with a nostr account and a lightning address, and Internet connection, no matter where they are in the world.

### We Tip With Bitcoin

----

We don't know what the value as compared to dollars will be on any given day. Nor do we know how many dollars exist. We do know how many bitcoin will exist. We also know the last satoshi will be mined somewhere around the year 2139.

Bitcoin is information crypto graphically proven to be true. It does not need FDIC insurance. Math does not lie. People lie. If a $100 bond is worth $80, the central bank says, "No... the price the free market gives this bond is wrong. A bond that pays 1.5% interest in and 8% interest world is worth $100." They lie.

![Harry](?raw=true)

When Bernie Madoff stole billions of dollars and did not invest any of it. His clients did not lose money because of the great financial crisis. His clients panicked like everyone else at the time so demanded their money. He just didn't have it because he already spent it paying Peter after robbing Paul. People lost their life savings because they trusted Bernie, one of the founders of the Nasdaq. Before his Ponzi Scheme collapsed, this guy named, [Harry Markopolos](https://en.wikipedia.org/wiki/Harry_Markopolos) noticed Bernie "would have had to buy more options on the Chicago Board Options Exchange than actually existed." He caught onto Bernie's Ponzi Scheme in the late 90's. He did not just trust Bernie Madoff. He verified the Madoff's math, but the numbers did not add up. He tried to tell the SEC. launching an investigation of Madoff's business. The regulators came up empty handed because they were bamboozled by the Nasdaq founder. Essentially, nobody listened to Harry Markopolis, but he was right.

Bitcoin did not exist back then. Bitcoin has a Timechain that audits the entire network every ten minutes on average. We can calculate how much bitcoin has been made in minutes. We don't need to be a math wizard like Harry Markopolos because of this. We don't need to trust SEC regulators. We just run a single command.

`bitcoin-cli gettxoutsetinfo`

#### This Is Not Investment Advice

Bitcoin is not an investment. Bitcoin is a peer-to-peer electronic cash system. If you have 100% faith in the US dollar and banking system, congratulations, you don't need any bitcoin. Maybe you have a financial advisor like Bernie Madoff. If you mistrust the fiat US dollar and banking system just 99%, maybe you should put 1% of your assets in bitcoin just in case. If you trust your financial advisor 100%--I guess you will not need any bitcoin either. How valuable is bitcoin? It changes from day to day. Sometimes it drops especially when a lot of people start trusting people like Sam Bankman-Fried to hold their bitcoin and casino coins like people trusted Bernie Madoff to invest their life savings.

If bitcoin goes to zero, yo0u probably won't be able to buy a cup of coffee with it anymore. At least you only lost 1% of your assets. You can probably handle a 1% loss, but i**f bitcoin fails the banking system better make it**. What are we going to do otherwise? Go back to trusting the banks have gold in the vaults? Use salt again? Invest "risk free" like Madoff's clients thought they were doing?

One thing is sure. Bitcoin properly secured in your own wallet does not require trust. It does not require the esteemed qualifications like those of Bernie Madoff. It just requires thousands of nodes verifying the math 144 times per day. We can verify that bitcoin is there even though we do not know how much people will value that mathematical trust of the system in fiat terms. This doesn't matter because when money dies again, bitcoin will be there. Hopefully the world will be ready to use it before then.

Don't Trust, Verify

Blogging Bitcoin

783,671

it is not the real Louis CK, right?

Replying to Avatar Shaun

**Nostr 出现的原因——爆火的导火索**

经历了反垄断之年的互联网群众们,即痛恨于中心化机构对数据的滥用与侵犯,又无力脱离优秀的应用体验以及并无选择性的市场,归根究底在于社交产品背后是公司为机构在运营,是公司就有接受监管与审查的义务,他所有负责的对像是股东以及注册地政 府,本质上追求的是商业上的成功,而不是言 论 自 由的理想。

此外,目前的社交软体都或多或少存在着一些问题:

1、Twitter 的问题

Twitter 有广告;Twitter 使用奇怪的技巧让你上瘾;Twitter 不会显示你关注的人的真实历史动态;Twitter 会禁止某些人的帐户;Twitter 会使用影子禁令(Shadowbans).Twitter 有很多垃圾资讯;

2、Mastodon 和类似应用的问题

用户身份附加在第三方控制的域名上;伺服器所有者可以像Twitter 一样禁止你,伺服器所有者也可以阻止其他伺服器;伺服器之间的迁移是事后才考虑的,只有在伺服器协作的情况下才能完成。它在对抗环境中不起作用(所有追随者都会丢失);运行伺服器没有明确的动机,因此它们往往由爱好者以及希望将自己的名字附加到一个很酷的域名上的人来运行的。然后,用户受制于一个人的专 制,这往往比Twitter 这样的大公司还要糟糕,他们无法迁移出去;由于伺服器往往是业余的,它们经常在一段时间后被抛弃—— 这实际上等同于禁止所有人;如果每台伺服器的更新都必须痛苦地推送(和保存!) 到大量其他伺服器,那么拥有大量伺服器就没有意义了;这一点由于伺服器数量庞大而加剧,因此更多的数据必须更频繁地传递到更多的地方;对于影片共享的具体范例,ActivityPub 爱好者意识到完全不可能像文本注解那样在伺服器之间传输影片;

3、SSB(Secure Scuttlebutt)的问题

它没有太多问题,我认为这很棒。事实上,我打算以此为基础,但是它的协议太复杂了,因为它根本就没有被认为是一个开放的协议。它只是用JavaScript 编写的,可能是一种快速解决特定问题的方法,因此它有奇怪和不必要的怪癖,比如签署一个JSON 字符串,其必须严格遵守ECMA-262 第6 版规则;它坚持从单个用户那获得一连串的更新,这对我来说是不必要的,而且会增加内容的臃肿和僵化程度—— 每个伺服器/ 用户都需要存储所有的Post 链,以确保新的Post 是有效的。为什么要这么做?(也许他们有很好的理由);它不像Nostr 那样简单,因为它主要是为P2P 同步而设计的;不过,可能值得考虑使用SSB 而不是这种自定义协议,并仅使其适应客户端中继伺服器模型,因为重用标准总是比尝试让人们使用新标准更好。

4、其他要求运行伺服器方案的问题

他们要求每个人都运行自己的伺服器;有时人们仍然会在这些方面受到审查,因为域名可能会受到审查。

而反垄断的终局古往今来更多是屠龙勇士终成恶龙,既然中心机构做不到,也没有立场去做,那么对自由的向往便催生出使用代码来保障自由的去中心化协议:Nostr。

**Nostr 协议是什么?——真正的去中心化社交**

最近大火的Damus,是建立在Nostr 协议的一个应用,主要是以去中心化的社交场景(你把它理解为去中心化的Twitter)即可。

Nostr全称是Notes and Other Stuff Transmitted by Relays,是一个于2020年启动的去中心化社交网络开源协议。项目创始人fiatjaf也是比特币和闪电网络的开发者。目前项目没有公开融资,推特创始人Jack Dorsey对该项目进行了14BTC的捐助。

透过nostr 协议,你可以建立很多东西,这个协议相对轻量级的、简单但可扩展的开放协议,在它上面可以建立真正去中心化的社交媒体平台。

**Nostr 协议的运行原理**

Nostr协议中由两部分组成,一个是客户端Client,另一个是中继端Relay。客户端用于签名、验证信息,由用户运行。中继端可以抓取、存储任何与它链接的客户端的信息,并且转发给其他客户端。

任何人都可以运行中继端,但中继端和中继端之间互不通信,这一点与区块链节点有着本质区别。

![image]()

另外,客户端允许用户与他们想要的任何数量中继端相连,用户还可以选择是否想要从自己所连接的中继端中读取、写入信息等等。这就意味着,我们可以连接某个中继端来检索内容,但是可以选择不在那里进行事件发布,或者反过来也成立。

![image]()

**如何在nostr 上创建帐号?**

在nostr 中,我们不需要通过使用个人数据来注册一个帐户(这就是它的优势)。

像比特币一样,我们只需要一套钥匙,也就是两把钥匙。

一个公钥(Public Key)作为你的用户名,这个密钥可以共享,并对所有人公开(就像你的微博帐号、微信ID、银行帐户一样,别人通过这个找到你)。一个私钥(Private Key)。这把钥匙像你的密码,需要对它进行保密,通过这个密钥,你可以在任何由nostr 支持的平台上 访问你的帐户。只需要选择一个nostr 协议的客户端,如anigma、coracle 或astral,它就会为你生成,这里,为了增加安全性,建议使用外部签名程序,如Alby 浏览器扩展或nos2x 扩展等等,也可以用Rana 等工俱生成一个独立的私钥。

注意保存私钥,因为它是将来恢复和重新登录你的帐户的唯一途径。

![image]()

**Nostr 协议的特点**

Nostr 协议主要有以下5 个特点:

1、简单易注册

任何用户都可以创建一对公私钥,无需通过域名或社交帐号注册。Nostr的签名和验签算法不是常用的ECDSA,而是schnorr signature算法,这意味着,如果用户已经拥有比特币以太坊的私钥,那么是可以用于Nostr网络的,但因为编码形式的不同,私钥在不同网络的显示形式可能有所不同,这个需要做一次转换。

![image]()

2、信息传递存储去中心化

不依赖于任何可信任的中心化服务器,且客户端发布信息可选择存储至多个中继端,因而对单一中继端依赖更小,也更具有迅速恢复性。

3、降低信任风险

讯息都有公钥标识,而讯息的验证由客户端验证完成,中继端只负责存储、传输,用户无需信任中继端,这进一步降低了通过Web3钱包进行签名带来的信任风险。

4、处理应对垃圾信息

果在Nostr网络中不能删 号封人的话如何对抗那些不良信息呢?Nostr中继端可以要求用户为发布付费或其他形式的身份验证,并将这些在内部与公钥相关联,以对抗垃圾信息。如果一个中继端被用作垃圾信息载体,它很容易会被用户丢弃,客户端可以继续从其他中继端获取更新。

5、 与闪电网络的结合:

Nostr的开发者fiatjaf同时也是比特币和闪电网络的开发者,因而Nostr原生支援闪电网络。闪电网络速度非常快,性能非常强,能够承载Nostr上的高并发应用。基于Nostr的客户端Damus内置比特币闪电网络功能,可以直接调用第三方闪电网络钱包支付。2023年2月3日,Damus表示将通过比特币闪电网络随机向用户发放小额比特币。

**Nostr 协议如何进行操作?**

Nostr 的NIP 是一个雷同于以太坊EIP 提案的机制,而NIP-01 即说明了每个讯息的内容。

从用户客户端的视角出发,可以进行下列操作:

操作1、签名发布信息:EVENT

用户想要发布信息时,则是用自己本地客户端存储的私钥,对一串内容content做签名,最终生成如下的json类型数据

{

“id”:<结构化数据的哈希值>

“pubkey”: <事件创建者的公钥>,

“created_at”: ,

“kind”:<种类,可理解为频道>,

“tags”:[

[“e”, <另一个事件的id>, <推荐的中继器URL>],

[“p”, <推荐的中继器URL>],

… // 未来可能会包含其他类型的标签

],

“content”:<任意字符串,如hello world>,

“sig”: <序列化事件数据的sha256 哈希的64 字节签名,与”id”字段相同>

}

这里的id 其实是基于当前内容[pubkey,created_at,kind,tags,content]组合后用哈希计算得出的,因为有时间戳的参与,所以正常情况下id 是不会重复的。

操作2、订阅目标事件:REQ

作为信息传输,有来就有回,指令REQ 需要向中继器发送一个随机ID 作为订阅ID,以及一个过滤器信息。目前协议可支持的设定如下,

{

“ids”: <事件ID 的列表>,

“authors”: <公钥列表,必选项一>,

“kind”:<种类列表,可理解为频道>,

“#e”:<“e”标签中引用的事件的ID 列表>,

“#p”:<“p”标签中引用的公钥列表>,

“since”: <时间戳,筛选此时间之后的>,

“until”: <时间戳,筛选此时间之前的>,

“limit”: <要返回的最大事件数>

}

从筛选条件来看,基本等同于关注这个功能,既不需要对方许可也能拉取到对方发布的信息(事实上本质都是公开的),而过滤器也只是更好的定义,是谁在什么时间段,发布的那一条

当然出于中继器这样的设计,有可能部分中继器并没有存储目标用户的信息,那么用户需要尝试从不同的中继器去拉取,一旦中继器挂了,甚至全部相关联的中继器都挂了,那这块信息也就损失了。

操作3、结束订阅:CLOSE

最后一种客户端能对中继器发起的信息便是close 指令,即关闭订阅,那客户端便不会持续持续获取到最新的事件信息了。

从技术角度看,此协议使用了订阅ID 的模式这意味着中继器会建立起持续的websocket链接,一旦此中继器收到被关注用户的信息,就会主动向订阅方的客户端发起请求来同步,这种模式虽然对中继器而言负载更高,但同时也能得到实时被关注数这样的数据,是一种能激励用户发布更有价值信息的方式。

并且协议出现多个「e」、「p」,这类信息虽然并不是必选项,但他能让各个中继地址在客户端之间裂变,传播,是提升抗审查性的关键。

**Nostr 协议的表现如何?**

1、Nostr 的数据表现

根据nostr.io的数据显示,截止至2023年2月5日,Nostr的公钥数量为500,463,拥有的中继端为289个,事件(event)超过121万。Nostr在最初的NIP 01中定义了三种不同的事件类型:

0:发送有关用户的元数据,例如用户名、图片、简介等;1:发送短信和基本内容;2:推荐中继服务器供关注事件创建者的人连结。

![image]()

2.Nostr 的生态应用

去中心化的推特是Nostr当前最大的用例,然而其运用远不止社交产品这么简单。现在基于Nostr建立起了类似Telegram的Anigma.io、Reddit的替代品novote、端到端加密文本共享工具Sendtr、在线下棋小游戏Jeste等等。

![image]()

**Nostr 的野心:不止替代Twitter**

那么,Nostr 仅仅就是想做个去中心化的Twitter 吗?

1、替代Twitter

为达到替代Twitter 的目的,客户端利用了第1 类的事件,即纯文本笔记。一些客户端包括:coracle, astral, nostr.ch, branle, damus, alphaama.com, Nostros 等等

比如Damus, 就是替代Twitter 的创造

2、替代Telegram

通过使用4X(X 是0 到9 之间的数字),可以实现像Telegram 那样的公共频道,比如上面主页的Anigma.io 是实现Telegram 克隆的网络应用。你可以创建公共频道,任何人都可以加入并聊天。在anigma 中,可以向用户发送私人的端到端加密讯息。

3、替代Reddit

Nostr 也可以作为Reddit 的替代品,可以发布帖子,用户可以对这些帖子投票,比如上面网站大图的nvote。

4、 在线游戏

nostr 的另一个有趣的用途是创建简单的多人在线游戏,比如Jeste,在这个平台上,你可以通过Nostr 与其他用户在线下棋。

5、文本共享

Sendstr 是一个在线工具,你可以通过nostr 协议在两个设备之间分享端到端的加密文本数据。

**Nostr 协议目前存在哪些问题?**

1、中继端激励问题

虽然任何人都可以建立中继端,但目前全球只有200+公开的中继端,因为搭建是存在门槛的,需要较好的处理性能和网络,同时也需要一定的技术和运维能力,但是中继端缺乏收益,因而如何吸引更多的中继端加入是个问题,如果基础设施建立在脆弱的「自愿主义」基础上,则难以壮大为一个强大的社交网络。

然而,如果有激励,则会面临着,大部分激励将逐渐掌握在少数人手里,无法形成有效激励,且容易受到攻击的困境。针对运行中继器激励的问题,开发者认为,首先不应假设中继器的运营者会无偿服务,即便没有所谓的「激励」,p2p网络中的DHT节点仍然在持续运营。

2、社交隐私问题

目前的Nostr 中继器只是简单JSON 数据的转储。客户端通过过滤器获取。这使得nostr 成为客户端之间的通用数据共享平台,那对于有隐私信息传递需求的场景而言,如何解决呢?毕竟即使是推特这样的社交广场也会有私信的需求存在。

目前较优的解决方案是,DH 算法(迪菲- 赫尔曼密钥交换),这套1976 年问世的算法。它是第一个实用的在非保护信道中创建共享密钥方法。只要得到共享密钥,使用Nostr 的双方均可以发布加密后的信息,从而实现点对点的隐私通信。由于隐私常有阅后即焚的诉求,所以其中的服务器存储成本还能进一步降低。

3、抗DOS 问题

会受到攻击的是中继器这一层,目前Nostr 协议并不直接指导和确定如何让中继器抗击DOS 攻击和垃圾信息,因此也是众多中继器实现的重点。

4、Nostr 的存储问题

目前数据主要存储在中继端上,但这并不是永久存储,用户一旦更换客户端,信息就清除了。中继端用于缺乏激励,没有足够的动力来为用户数据进行存储,因而也存在着中继端主动或者被动删除数据的可能。未来Nostr或可以针对存储功能提供激励,在确保去中心化和易用性的同时,使得数据更加具有可得性。

**Nostr 协议的发展展望**

总体来说,Nostr是一个非常简单且具有高度互操作性的协议,其呈现了去中心化社交协议与自由的价值传递交织后涌现的可能性。客户端和中继端的组合,使得信息的发布和传递更加具有抗审查性,这与比特币倡导的精神内核相吻合。

Nostr算是为去中心化社交新打开了一扇窗,自此之后,相信大规模的协议以及应用会迎来新的突破。

你在做 nostr 文章的编译吗

Now right I only store it locally because I don't want to introduce backend-owned proprietary data on flycat. sure, we can store drafts encrypted to the author in nostr, interoperable is key here

话说这个写入的应该也没有被墙吧?

可否描述下你的流程,我看看是不是哪里有 bug

Replying to Avatar ElectronicMonkey

hello Monday! Today we refactored the writing experience on [flycat.club](https://flycat.club/), now you can save local draft posts when blogging on flycat.

We also adjusted the layout of the editor page so you get less distracted in writing.

![image.png]()

some meta datas will be displaying and required you filling only when you try publishing the post.

![image.png]()

you can find your drafts on `myBlog` page (https://flycat.club/blog/ and continue editing it until you are comfortable to publish it.

![image.png]()

As always, we appreciate your feedback. Please don't hesitate to tell me what you think about the updates~

we support saving local draft posts on https://flycat.club now. you can edit the draft multiple times until you feel comfortable publishing it. give it a try? we appreciate your feedback!

飞猫更新:支持保存本地草稿。同时微调了一下写作页面的布局,一些需要填的 meta data 收在了侧边栏里只有当你想发布的时候才会展示出来。

坂本龙一去世了

thank you, I love the robot's accent.