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, затем запустите dev-сервер Vite — он выведет локальный URL. Отдельная сборка или тестирование контрактов Soroban требуют Rust версии, закреплённой в rust-toolchain.toml.
Нужен ли настоящий кошелёк Stellar или продакшен-учётные данные для тестирования?Нет — локальный профиль по умолчанию использует тестовые аккаунты и синтетические сообщения на тестнете; в документации прямо сказано не использовать реальные seed-фразы кошелька, продакшен-токены или приватные ключи.
Есть ли уже живая продакшен-версия, через которую сегодня можно отправлять настоящие письма?Нет. Hush — прямо заявленная бета, а деплой на тестнет не означает продакшен-доступность, доставляемость или финансовые гарантии; некоторые федерационные домены и идентификаторы пока остаются легаси в ожидании миграции.
Не становятся ли мои письма публичными из-за хранения доставки на Stellar?Нет — тела писем и вложения не попадают в блокчейн: их передают релеи и зашифрованное объектное хранилище; в Stellar касаются только идентификация, политика, почтовый сбор и доказательства доставки, и эти метаданные (связи аккаунтов, суммы платежей, тайминги) всё равно видны в блокчейне.
Как на самом деле работает система одобрения отправителей?Это зависит от политики, настроенной получателем: отправителя могут пропустить через доверенную или верифицированную личность, заставить ждать явного одобрения, попросить оплатить почтовый сбор или заблокировать сразу; клиент показывает происхождение отправителя и статус доставки для каждого письма.
Почему это построено на Stellar, а не на обычном почтовом сервере?Stellar используется чисто как программируемый слой идентификации и доказательств протокола — контракты Soroban обеспечивают политику отправителей, почтовый сбор и квитанции, — так что правила допуска и подтверждения доставки можно проверить независимо, а не доверять одному оператору.
Что ещё на самом деле лежит в репозитории, кроме интерфейса входящих?В него входят разрешение идентификации/федерации Stellar, код шифрования конвертов сообщений и выведения ключей, релей вместе с сервисом зашифрованного объектного хранилища, UI/API инспектора доказательств, а также контракты Soroban для политики, почтового сбора и квитанций.
Какие есть похожие проекты?stellar-trade, clearledger, linten, clearledger-contracts, TrustMint, sphere-sdk, stellar-pathfinder, fhevm
Автор
Stellar-hush
Размер
206.1 MB
Звёзды
132
Обновлён
КоммитOct 12
Возраст
1 мес
Коммиты · 90 дней