项目的 README,来自 github.com/Stellar-hush/hush。合并为一个 markdown 文件:README.md。
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.
Recipient-defined access, private message content, and verifiable protocol actions.
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.
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.
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.
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.
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.
Hush is distributed under the MIT License.