mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-10-02 12:54:03 +00:00
pay2seed: encrypted by default, access as the product, a README in every swarm
The client encrypts by default and the hub never does: what the hub manages is who may decrypt. A team is a named set of member keys with a scope over the owner's swarms; the hub, as keeper, issues grants to members when the owner is offline, with invitations that expire, roles, an audit trail, and re-encryption on removal so the next version is closed to whoever left. A few seats are free; above that the hub charges per seat and per organisation, settled through the same pay plugins as everything else. Seeding is priced at disk; access is where a hub earns, and both sides earn: seeders rent disk, requesters sell access. Public is not a fallback. Encryption off is an explicit act, and a public swarm is attested, listed, kept and rendered exactly as a private one is; the only difference is who can read it. Every swarm on the market carries a README.md at its root, no exceptions, and the attestation carries its Markdown and the hash of the copy inside the swarm, so the hub renders it as the swarm's page without a key. Relative links resolve into the swarm and are gated the way the files are. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SKAohrRkqLKVQL2cGCAkR5
This commit is contained in:
parent
3794857a6f
commit
12cdd34e6b
6 changed files with 201 additions and 17 deletions
|
|
@ -200,7 +200,7 @@ Relative to a `pay2stream.base` the hub adds to its `ippay.hub` record as
|
|||
| `POST /listings` | channel signed | Publish a `pay2stream.listing` (also replicated on the channel's `ipdb` feed). |
|
||||
| `GET /tickets?payer&channel&hours` | x402 + `X-OpenSwarm-Payer` | Buy a ticket (§5). `payer` MAY be a gateway key with the viewer's own key as `X-OpenSwarm-Bound-By`. |
|
||||
| `GET /gateways?region&channel` | none | Gateways, and which channels each currently relays. |
|
||||
| `POST /notices` | signed | As `pay2seed` §7; voiding ends every lease and delists every gateway for the channel. |
|
||||
| `POST /notices` | signed | As `pay2seed` §8; voiding ends every lease and delists every gateway for the channel. |
|
||||
|
||||
## 8. Client behaviour
|
||||
|
||||
|
|
@ -239,7 +239,7 @@ MUST NOT send a ticket to a gateway the hub does not list for that channel.
|
|||
|
||||
## 11. Conformance
|
||||
|
||||
A **hub** on this side: everything `pay2seed` §10 requires of it, over
|
||||
A **hub** on this side: everything `pay2seed` §11 requires of it, over
|
||||
channels; sells tickets bound to gateways; lists gateways per channel.
|
||||
|
||||
A **broadcaster client** and a **viewer client**: §8.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue