Wire format (internal/message): sealed boxes to the listing's device key (X25519 + HKDF + ChaCha20-Poly1305), padded, proof-of-work stamped, with signed owner replies and address grants. Relay validation, bounded queues, gossip on per-region message topics and sync (store, p2p). Owner side (internal/inbox, API): inbox with hidden link messages and a per-day new-thread limit, replies, grants, and a private per-listing address. Public POST/GET /api/v1/messages for buyers. Browser: noble-based sealing and reply verification checked against a Go fixture, contact form, conversation view, message list, de/en strings. Docs: PROTOCOL.md messaging section matches the implementation. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
30 lines
1.3 KiB
Markdown
30 lines
1.3 KiB
Markdown
# Allmende
|
|
|
|
A free, distributed marketplace for buying, selling and renting. Listings are
|
|
replicated across the nodes of everyone who participates, so there is no central
|
|
server and no cost. See [docs/PROTOCOL.md](docs/PROTOCOL.md).
|
|
|
|
## Try it
|
|
|
|
```
|
|
go build -o bin/node ./cmd/node
|
|
bin/node init # shows your 12-word recovery phrase once
|
|
bin/node run --region u1x # u1x = Hamburg area; UI and API on http://127.0.0.1:8080
|
|
```
|
|
|
|
Open http://127.0.0.1:8080 to search. Your browser checks every listing's
|
|
signature itself, so you don't have to trust the node it talks to. The UI is
|
|
pre-built and embedded; Node.js is only needed to change it
|
|
(`cd web && npm ci && npm run build && npm test`).
|
|
|
|
Buyers can write to an owner straight from a listing, without an account.
|
|
Messages are end-to-end encrypted in the browser and relayed through the
|
|
network, so a node only ever sees ciphertext. The owner reads and answers
|
|
through the token-protected API (`GET /api/v1/inbox`, see the protocol doc) and
|
|
can release the exact address as a signed message; an owner UI is not built yet.
|
|
|
|
A second node on the same network finds this one automatically (mDNS); across
|
|
networks, pass `--bootstrap /ip4/<addr>/tcp/<port>/p2p/<peer id>`.
|
|
|
|
Licensed under the [GNU AGPL-3.0](LICENSE): free for everyone, and it stays free.
|