hush README

The project's README from github.com/Stellar-hush/hush. As one markdown file: 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)

Searching Database…

What is this?Hush is an open-source beta for private, programmable email built on Stellar identity. Senders must satisfy a recipient-chosen policy (trusted access, verification, explicit approval, or postage) before a message is delivered, and the system produces verifiable delivery receipts.
Is this a hosted email service I sign up for, or something I run myself?It is a self-run stack, not a signup service: the client, API, relay, protocol and Soroban smart contracts all live in this repo, and there is currently no verified public hosted demo.
How do I get it running locally?Install Node.js 24+ and Bun 1.3.14, then start the Vite dev server, which prints the local URL. Building or testing the Soroban contracts separately requires Rust at the version pinned in rust-toolchain.toml.
Do I need a real Stellar wallet or production credentials to test it?No — the default local profile uses test accounts and synthetic messages against testnet; you're explicitly told not to use real wallet seeds, production tokens, or private keys.
Is there a live, production-ready version I can send real email through today?No. Hush is explicitly beta software, and a testnet deployment is not production availability, deliverability, or a financial guarantee; some federation domains and identifiers are also still legacy pending migration.
Does putting message delivery on Stellar make my emails public?No — message bodies and attachments stay off the ledger, carried by relays and encrypted object storage; only identity, policy, postage and receipt evidence touch Stellar, and that metadata (account relationships, payment amounts, timing) is still visible on-chain.
How does the sender-approval system actually work?It depends on the recipient's configured policy: a sender can be let through via a trusted or verified identity, required to wait for explicit approval, asked to pay postage, or blocked outright, with the client showing sender provenance and delivery state for every message.
Why build this on Stellar instead of a normal mail server?Stellar is used purely as a programmable identity and protocol-evidence layer — Soroban contracts enforce sender policy, postage, and receipts — so admission rules and delivery proofs can be independently verified instead of trusted to a single operator.
What's actually inside the repo besides the inbox UI?It bundles Stellar identity/federation resolution, message-envelope and key-derivation encryption code, a relay plus encrypted object storage service, a proof-inspector UI/API, and the Soroban contracts for policy, postage and receipts.
Size
206.1 MB
Stars
132
Updated
CommitOct 12
Age
1mo
Commits · 90 Days