hush README

项目的 README,来自 github.com/Stellar-hush/hush。合并为一个 markdown 文件:README.md。

Hush — your inbox. Your rules. Proof for every delivery.

CI MIT License

Hush is a recipient-first mail protocol built on Stellar. It puts inbox policy ahead of delivery, giving people control over who may contact them, what unfamiliar senders must do, and what evidence accompanies a message.

Email made it easy for anyone to reach anyone. That openness also made spam, impersonation, and unwanted contact routine. Hush explores a different model: the recipient sets the rules, senders meet them, and message content stays private while delivery can be verified.

Hush product and visual identity overview

Recipient-defined access, private message content, and verifiable protocol actions.

Your inbox, on your terms

Each mailbox owner decides how unfamiliar senders are handled. A sender may be allowed, asked to verify an identity, sent to a review flow, asked for optional postage, or blocked. Trusted people can have a smoother path; unknown senders do not automatically get the same access.

This turns the inbox into a programmable boundary. Instead of sorting every unwanted message after arrival, Hush puts the recipient in control of admission from the start.

Identity, privacy, and proof

How a Hush message works

  1. The recipient sets a policy. The mailbox owner chooses what unfamiliar senders must do.
  2. The sender presents an identity. A Hush address or Stellar account is resolved to an account and the keys needed by the client.
  3. The policy is evaluated. The sender follows the applicable path: trusted access, verification, review, postage, or rejection.
  4. The message is encrypted and delivered. The client prepares an encrypted envelope and submits it through a relay or configured storage service.
  5. Participants inspect the result. Where the relevant adapters are active, Stellar and Soroban can record identity, postage, receipts, or message lifecycle evidence.
flowchart LR
  R[Recipient sets inbox rules] --> P[Admission policy]
  S[Sender presents identity] --> P
  P -->|allow / verify / review / postage| E[Encrypt message]
  P -->|block| X[Do not deliver]
  E --> O[Off-chain relay or storage]
  E --> L[Optional Stellar evidence]
  O --> I[Recipient inspects message]
  L --> I

Private message content stays off-chain. Stellar makes identity, policy, postage, and selected delivery actions verifiable.

Why Stellar

Stellar gives Hush an open identity and settlement layer. Soroban lets the project express programmable policy and protocol actions, while optional postage can make recipient-selected admission rules economically meaningful. Relays and encrypted storage carry the private payload; the chain is used for the parts that benefit from shared verification.

Hush is not a token or yield product. It explores how open identity, recipient choice, and verifiable delivery can work together in communication software.

Try Hush locally

Requirements: Node.js 24 or newer and Bun 1.3.14. Rust is required when building or testing the Soroban contracts; the supported version is pinned in rust-toolchain.toml.

git clone https://github.com/Stellar-hush/hush.git
cd hush
bun install --frozen-lockfile
cp .env.example .env
bun run dev

The development server prints its local URL when it starts. Use test accounts and synthetic messages. Never put wallet seeds, private keys, production tokens, or real user mail in .env, fixtures, screenshots, logs, issues, or pull requests.

Useful checks:

bun run format:check
bun run lint
bun x tsc --noEmit
bun run test
bun run build

Contract contributors should also run the relevant checks in contracts/soroban/. See CONTRIBUTING.md for setup and review expectations.

Explore the project

Contribute

Hush is open source, and focused contributions are welcome. Start with CONTRIBUTING.md, choose an issue with clear acceptance criteria, and include the checks you ran. Good areas include protocol interoperability, Soroban contract behavior, relay reliability, accessibility, and product documentation.

The Stellar Wave maintainer guide explains repository applications and issue selection. Applications require organizer approval; issues should be added to a Wave only after the repository is accepted. See the maintainer guide and check the current program page for schedule and rules.

License

Hush is distributed under the MIT License.

hush (Stellar-hush/hush)

正在搜索数据库…

这是什么?Hush 是一个开源测试版,提供基于 Stellar 身份的私密、可编程电子邮件。发件人必须满足收件人选择的策略(可信访问、身份验证、明确批准或邮资)后邮件才会送达,并且系统会生成可验证的送达回执。
这是需要注册使用的托管邮件服务,还是我自己运行的东西?它是一套自行运行的技术栈,不是注册即可用的服务:客户端、API、中继、协议和 Soroban 智能合约都在这个仓库里,目前没有经过验证的公开托管演示。
怎么在本地把它跑起来?安装 Node.js 24+ 和 Bun 1.3.14,然后启动 Vite 开发服务器,它会打印本地 URL。单独构建或测试 Soroban 合约则需要 rust-toolchain.toml 中固定版本的 Rust。
测试它需要真实的 Stellar 钱包或生产环境凭据吗?不需要——默认的本地配置使用测试账户和合成消息,面向测试网;文档明确要求不要使用真实钱包种子、生产代币或私钥。
现在有能真正收发邮件的、可用于生产环境的版本吗?没有。Hush 明确是测试版软件,测试网部署并不代表生产可用性、送达能力或财务保障;部分联盟域名和标识符也仍是待迁移的旧版。
把邮件送达放到 Stellar 上会让我的邮件公开吗?不会——邮件正文和附件不上链,由中继和加密对象存储承载;只有身份、策略、邮资和回执证据会触及 Stellar,而这些元数据(账户关系、支付金额、时间)在链上仍然可见。
发件人审批系统实际是怎么运作的?这取决于收件人配置的策略:发件人可以通过可信或已验证的身份直接放行,也可能需要等待明确批准、被要求支付邮资,或被直接拦截;客户端会显示每封邮件的发件人来源和送达状态。
为什么基于 Stellar 而不是普通邮件服务器来构建?Stellar 纯粹被用作可编程的身份和协议证据层——Soroban 合约负责执行发件人策略、邮资和回执——这样准入规则和送达证明可以独立验证,而不必信任单一运营方。
除了收件箱界面,仓库里实际还有什么?它包含 Stellar 身份/联盟解析、消息信封与密钥派生加密代码、中继加加密对象存储服务、证据检查器 UI/API,以及用于策略、邮资和回执的 Soroban 合约。
大小
206.1 MB
星标
132
更新
提交Oct 12
时长
1个月
提交 · 90 天