Status: design; not implemented. This core defines grants, attribution and publication state; the reference defines formats and implementation detail.
Memeplex lets a person publish through an application without giving it their identity keys. Every publication has its own identity, history and place in a shared graph. Memepool is the first client; any client can publish into the same graph or build a different view of it.
A grant authorizes a client. A signed history records its work. The last attributed version is the publication.
There are two asset shapes and one relationship:
| Element | Meaning |
|---|---|
| Grant | A user authorizes one client to publish particular kinds of objects. |
| Object | A client publishes a versioned work under that grant. |
| Target | An object responds to a particular revision of another object. |
flowchart LR
U[User / wallet] -->|creates| G[Grant]
G -->|authorizes| A[Client / publisher]
A -->|creates and edits| O[Object]
O -->|names| G
O -->|target + targetVersion| T[Another object's revision]
The author is the user to whom a publication is attributed. The publisher is the separate agent that signs and controls it. Keeping those roles distinct is what lets the wallet authorize an application without becoming that application. A user who publishes through their own software creates a separate client agent and grants it authority in exactly the same way.
Archon supplies asset identity, signatures, accepted histories, storage references and chain receipts. Memeplex interprets those histories as publications. It adds no Gatekeeper authorization rule. Indexers compute the graph; readers choose its presentation, ranking and moderation.
Every object carries didDocumentData.memeplex, including v: 1, kind,
author and grant. Five kinds describe what the author is doing:
| Kind | Meaning | Variations |
|---|---|---|
post |
Say or share something | A title makes an article; a target makes a boost or quote post. |
paper |
Publish scholarly work | Markdown body, authors and abstract; optional PDF and source downloads. |
reply |
Answer another object | A verdict makes a review. |
rating |
Assess another object | A score on the author’s declared scale. |
tag |
Describe another object | A word makes a label; an emoji makes a reaction. |
Replies, ratings and tags require target and targetVersion. Posts may carry
both; papers carry neither. A plain boost is a post with a target and no body.
kind determines thread membership, so boosts and reactions need no special
thread mechanism. The graph has no independently maintained thread-root field.
Text is inline or referenced by IPFS CID. The object carries no separate creation clock: its operation history already supplies one. Long essays and one-line posts share the same identity, revision and attribution rules.
The reference defines the complete fields, schemas, kind semantics and examples. Those definitions are part of the protocol; they do not create additional attribution paths.
A grant is an ordinary asset created and signed by its user. Its data is the authorization:
{
"memeplexGrant": {
"v": 1,
"client": "did:cid:…client",
"request": "did:cid:…request",
"actions": ["memeplex:post", "memeplex:reply", "memeplex:tag"]
}
}
The named client must differ from the user. A grant created by someone else and
later transferred to the user confers no authority. The grant’s schema applies;
request is the DID of the grant request it answers, when it answers one, and
carries no authority.
| Action | Kinds it permits |
|---|---|
memeplex:post |
post, paper |
memeplex:reply |
reply |
memeplex:rate |
rating |
memeplex:tag |
tag |
| An extension’s pinned schema DID URL | That extension kind |
actions is optional. A grant without it permits every core kind, which is what a
full client such as Memepool asks for; single-purpose clients (a reaction widget, a
posting bot, a labelling service) ask for less, so that a compromised client can do
less under the user’s name. Extension kinds are never implied: a grant permits one
only by listing its schema DID URL, because a user cannot have reviewed a kind defined
after the grant. The field exists in v1 even though most grants omit it, because
adding it later would need a new v (see the reference’s Evolution rule), and
verifiers that predate that v could not read restricted grants at all.
A permitted creation includes permission to edit and delete that object while the grant is live, even if its actions later narrow. There is no re-delegation in v1.
A grant may carry expiresAt, an ISO 8601 UTC date-time. Operations anchored in a
block whose time is at or after it are outside the grant. Expiry publishes and
deletes nothing: the grant’s history stays, so earlier work stays attributed. A
grant must not use Archon’s validUntil, which lets nodes delete a DID’s history.
The grant and its objects are created on the same chain registry and stay there. Only these mainnets are permitted:
| Registry | Chain |
|---|---|
BTC:mainnet |
Bitcoin |
ZEC:mainnet |
Zcash |
ETH:mainnet |
Ethereum |
SOL:mainnet-beta |
Solana |
A grant on any other registry, testnets and local, hyperswarm and pin
included, is void. Adding a registry is a protocol revision. Objects gossip before
anchoring, but attribution waits for chain evidence.
The user changes actions or expiresAt in place with a scope update: an
update, signed by the user, that changes nothing else and still satisfies the grant
schema. The grant’s active history is its creation followed by scope updates,
up to the first operation that is anything else. That operation ends the grant:
normally a deletion (revokeDID), but also a change of client or other data, a
transfer or a registry change. The client cannot change in place, because its
objects are controlled by it.
For user U, a valid grant is an asset whose accepted history establishes all
of the following:
U as controller and is signed by U.R, without validUntil, and its creation
has an accepted chain receipt on R.A different from U.X ≺ Y means receipt X on the grant’s registry is in a lower block than receipt
Y. Receipts in the same block are unordered, because finer positions are not
stable evidence across chains and nodes.
A valid grant permits an operation at position P when:
grant creation ≺ P
and
P ≺ every anchored operation after the active history
and
each anchored scope update ≺ P or P ≺ it
and
time(P) < expiresAt of the version in force at P, if it has one
The version in force at P is the latest of the creation and the anchored scope
updates before P; the client always comes from the creation. A pending operation
has no effect until it is anchored, and a pending creation leaves the grant’s
authority pending. time(P) is the time of the block that anchors P, set by the
chain rather than the publisher. Block times are not strictly increasing, so expiry
is approximate: a block shortly after the deadline can still pass (up to about an
hour on Bitcoin). Revocation is the exact cutoff.
Publishers choose proof.created, so they can backdate a signature, but they cannot
anchor an operation in an earlier block. That is why attribution compares positions
on one chain, and uses no clock but block time, for expiry.
Read an object’s accepted history in predecessor order. Attribute its longest prefix whose versions satisfy the following checks:
| Check | Creation | Each later version |
|---|---|---|
| Shape | Valid kind schema and semantic rules | Same validation; deletion uses its predecessor’s identity and needs no data body |
| Author and publisher | Grant creator is author; creation controller is the grant’s client |
Predecessor controller is that same client |
| Scope | The version in force at the creation permits kind |
Creation’s permission continues to cover edits and deletion |
| Identity | Establish author, kind, grant, target, controller and registry; no validUntil |
Updates preserve them; targetVersion may change. Deletion takes identity from its predecessor. |
| Position | Receipt is on the grant’s registry, inside its authority interval | Same condition |
Object data comes from the version being checked, not the current document. An asset transfer cannot manufacture authorship: Archon requires the previous controller’s signature, not the recipient’s agreement.
A missing anchor leaves that version and its successors pending. A failed check ends attribution for that version and its successors. Neither case erases the already-attributed prefix. A creation that fails cannot be repaired into a publication by a later edit. These decisions are relative to the current accepted histories and receipts; reconsider them when that evidence changes.
Publication state is the last version in that attributed prefix.
| Prefix result | Publication state |
|---|---|
| No attributed creation; creation pending | Pending, never presented as verified authorship |
| No attributed creation; creation fails | No publication |
| Last attributed version is a creation or update | Show and count that version |
| Last attributed version is a deletion | A tombstone; no longer counted |
Apply this same state to timelines, threads, ratings, labels and coauthor
confirmations. An unauthorized deletion, invalid edit or removed memeplex
member changes none of them. Clients may expose the later history separately.
For example, if a rating is created at block 20, edited at 30, its grant revoked at 40, and the client deletes the rating at 50, the publication remains the rating from block 30. If its deletion was instead attributed at 35, it is withdrawn. No special rule for ratings or revocation is needed.
Read every version of a DID from the Gatekeeper (POST /api/v1/dids/versions).
Each version is the document, data and registration as the Gatekeeper resolves
them at that point of the accepted history, with the version’s identity
(versionId, the canonical CID of its operation) and where it was anchored. What
a version is belongs to the Gatekeeper to say: a verifier applies the rules above
to the versions and does not read operations or apply them itself. Keep all
comparisons on the same accepted history, and read the versions again when that
history changes.
The controller of a version is the one its document names. A verifier relying on its trusted Gatekeeper does not repeat signature verification.
A position is the block that anchored the version on the grant’s registry
(didDocumentMetadata.timestamp.upperBound, when timestamp.chain is that
registry), with that block’s height and time. A version without one is not
anchored there yet.
An object DID names a work. A versionId names one revision in its accepted
history. Responses carry the pair target and targetVersion; inline embeds use
did:cid:…?versionId=…. A response continues to mean the revision it assessed
when the target changes. Reviews and ratings prominently identify older revisions.
Sequence numbers and times are not substitutes for content identity. If replay
displaces the cited revision, resolution may return notFound; show “revision no
longer in the history”, never a different revision. Anchoring gives a version
priority over later-position siblings, but previously withheld evidence of an
earlier anchor can still displace it. Chain reorganizations and authorization
replay also remain Archon’s responsibility. Attribution is a view of accepted
evidence, not a promise that evidence can never change.
Content identity does not guarantee availability. A reviewer who needs the assessed bytes to survive keeps and pins their content CID. The reference’s content rules cover this separately from attribution.
An indexer discovers objects from the histories a Gatekeeper holds, including objects already deleted or edited out of their original shape. It then derives publication state from those histories. A fresh rebuild and a continuously running index must agree on the same evidence.
It reads every DID once, then follows GET /api/v1/changes, which lists the DIDs
whose accepted histories have changed in the order the node changed them: late
evidence, a displaced branch and a removed history are each a change like any
other. It does not follow GET /api/v1/events, which is ordered by event time,
not arrival, so that what is new can sort anywhere in it. The Gatekeeper counts
its changes from when it started, so after it restarts the indexer reads every
DID again. Recheck dependent publications when their histories, grant histories
or compared receipts change. Indexer caches confer no authority.
A client reads publication state from an indexer it runs or chooses, as it reads histories from a Gatekeeper it trusts; it does not attribute every object itself. What makes that trust checkable is the rule above: anyone can build an index from the same evidence and compare. A client uses the verifier directly for two things only: to check an object is valid before publishing it, and to check the grant it publishes under.
Gatekeeper’s data queries are useful discovery shortcuts. They match current
data, so they cannot find every publication preserved behind an unauthorized edit
or deletion. Complete timelines and threads require historical discovery. Both
paths use the same publication rule; neither trusts an object’s claimed author.
Revocation and expiry end future authority and preserve the attributed past. Neither needs an inventory of the client’s work, and neither can disown what a compromised client anchored while its grant was live.
When a grant ends, it freezes existing objects: no later edit or deletion of them is attributed. Extending or rescoping a grant is a scope update, so its objects stay editable. A new grant permits new publications; republishing does not withdraw an old rating or coauthor confirmation. Direct user control remains a separate design question, not an exception to the attribution rule.
To withdraw work first, have the client delete it and confirm that its anchor
precedes revocation under ≺. Submission order alone is insufficient. If immediate
containment matters more, revoke at once and accept that pending withdrawals may
fail. A user cannot force a compromised client to delete work it controls.
The wallet distinguishes requested, submitted and effective revocation. Authority ends at the chain position, not at the button press. Pending transactions, funding, mediator availability and chain inclusion determine the delay; there is no fixed upper bound. This is the same for every operation on a chain registry: anchoring is the responsibility of the node the deletion is submitted to and its mediator, and Memeplex adds no recovery mechanism of its own.
author is a claim until its history passes
the publication rule.V1 publishes public plaintext. It defines no private circles, public follow graph, central ranking, mandatory moderation authority or payment rail. Memepool keeps follows as private reader state, and uses ordinary tags for opt-in moderation. Clients can differ in their views while agreeing about the underlying publications.
The companion reference contains field-level rules, examples, rendering requirements, the grant request flow, discovery queries, Memepool choices and the implementation/benchmark plan. Its rendering budgets limit automatic presentation; they do not decide authorship.
The schemas and signed fixtures are written (share/schema/memeplex/v1,
tests/fixtures/memeplex-v1-vectors.json). They are published, and their DIDs
pinned, once the verifier has exercised them: publication fixes v: 1.